@@ -1462,10 +1462,6 @@ public void show(boolean b) {
14621462 }
14631463
14641464 public void show () {
1465- showSAEM ();
1466- }
1467-
1468- protected void showSAEM () {
14691465 // System.out.println("Component " + name + " setVisible TRUE");
14701466 if (!visible ) {
14711467 // synchronized (getTreeLock()) {
@@ -1532,10 +1528,6 @@ void clearCurrentFocusCycleRootOnHide() {
15321528 * replaced by <code>setVisible(boolean)</code>.
15331529 */
15341530 public void hide () {
1535- hideSAEM ();
1536- }
1537-
1538- protected void hideSAEM () {
15391531 isPacked = false ;
15401532 if (visible ) {
15411533 clearCurrentFocusCycleRootOnHide ();
@@ -1719,12 +1711,6 @@ final Font getFont_NoClientCode() {
17191711 * bound: true
17201712 */
17211713 public void setFont (Font f ) {
1722- // SwingJS SAEM
1723- setFontComp (f );
1724- }
1725-
1726- protected void setFontComp (Font f ) {
1727- // SwingJS SAEM
17281714 Font oldFont , newFont ;
17291715 oldFont = font ;
17301716 newFont = font = f ;
@@ -2561,12 +2547,10 @@ public boolean isMaximumSizeSet() {
25612547 * @see LayoutManager
25622548 */
25632549 public Dimension getMaximumSize () {
2564- // SwingJS SAEM
25652550 return getMaxSizeComp ();
25662551 }
25672552
25682553 protected Dimension getMaxSizeComp () {
2569- // SwingJS SAEM
25702554 if (isMaximumSizeSet ()) {
25712555 return new Dimension (maxSize );
25722556 }
@@ -2581,11 +2565,9 @@ protected Dimension getMaxSizeComp() {
25812565 * the furthest away from the origin, 0.5 is centered, etc.
25822566 */
25832567 public float getAlignmentX () {
2584- // SwingJS SAEM
25852568 return getAlignmentXComp ();
25862569 }
25872570 protected float getAlignmentXComp () {
2588- // SwingJS SAEM
25892571 return CENTER_ALIGNMENT ;
25902572 }
25912573
@@ -2597,11 +2579,9 @@ protected float getAlignmentXComp() {
25972579 * the furthest away from the origin, 0.5 is centered, etc.
25982580 */
25992581 public float getAlignmentY () {
2600- // SwingJS SAEM
26012582 return getAlignmentYComp ();
26022583 }
26032584 protected float getAlignmentYComp () {
2604- // SwingJS SAEM
26052585 return CENTER_ALIGNMENT ;
26062586 }
26072587
@@ -2691,12 +2671,10 @@ public void layout() {
26912671 * @since JDK1.0
26922672 */
26932673 public void validate () {
2694- // SwingJS SAEM
26952674 validateComponent ();
26962675 }
26972676
26982677 public void validateComponent () {
2699- // SwingJS SAEM
27002678 synchronized (getTreeLock ()) {
27012679 ComponentPeer peer = this .peer ;
27022680 boolean wasValid = isValid ();
@@ -2726,12 +2704,10 @@ public void validateComponent() {
27262704 * @since JDK1.0
27272705 */
27282706 public void invalidate () {
2729- // SwingJS SAEM
27302707 invalidateComp ();
27312708 }
27322709
27332710 protected void invalidateComp () {
2734- // SwingJS SAEM
27352711// synchronized (getTreeLock()) {
27362712 /* Nullify cached layout and size information.
27372713 * For efficiency, propagate invalidate() upwards only if
@@ -3019,12 +2995,10 @@ public void paintAll(Graphics g) {
30192995 * @see #paintAll
30202996 */
30212997 void lightweightPaint (Graphics g ) {
3022- // SwingJS SAEM
30232998 lwPaintComp (g );
30242999 }
30253000
30263001 protected void lwPaintComp (Graphics g ) {
3027- // SwingJS SAEM
30283002 paint (g );
30293003 }
30303004
@@ -4524,13 +4498,11 @@ public void removeHierarchyBoundsListener(HierarchyBoundsListener l) {
45244498
45254499 // Should only be called while holding the tree lock
45264500 int numListening (long mask ) {
4527- // SwingJS SAEM
45284501 return numListeningMask (mask );
45294502 }
45304503
45314504 // Should only be called while holding the tree lock
45324505 int numListeningMask (long mask ) {
4533- // SwingJS SAEM
45344506 // One mask or the other, but not neither or both.
45354507// if (eventLog.isLoggable(Level.FINE)) {
45364508// if ((mask != AWTEvent.HIERARCHY_EVENT_MASK) &&
@@ -5020,11 +4992,9 @@ public synchronized InputMethodListener[] getInputMethodListeners() {
50204992 * @since 1.3
50214993 */
50224994 public <T extends EventListener > T [] getListeners (Class <T > listenerType ) {
5023- // SwingJS SAEM
50244995 return getListenersComp (listenerType );
50254996 }
50264997 protected <T extends EventListener > T [] getListenersComp (Class <T > listenerType ) {
5027- // SwingJS SAEM
50284998 EventListener l = null ;
50294999 if (listenerType == ComponentListener .class ) {
50305000 l = componentListener ;
@@ -5319,14 +5289,10 @@ protected AWTEvent coalesceEvents(AWTEvent existingEvent,
53195289 * @since JDK1.1
53205290 */
53215291 protected void processEvent (AWTEvent e ) {
5322- // SwingJS SAEM
53235292 processEventComp (e );
53245293 }
53255294
53265295 protected void processEventComp (AWTEvent e ) {
5327-
5328- // SwingJS SAEM
5329-
53305296 if (e instanceof FocusEvent ) {
53315297 processFocusEvent ((FocusEvent ) e );
53325298
@@ -6052,11 +6018,9 @@ Container getNativeContainer() {
60526018 * @since JDK1.0
60536019 */
60546020 public void removeNotify () {
6055- // SwingJS SAEM
60566021 removeNotifyComp ();
60576022 }
60586023 protected void removeNotifyComp () {
6059- // SwingJS SAEM
60606024// KeyboardFocusManager.clearMostRecentFocusOwner(this);
60616025// if (KeyboardFocusManager.getCurrentKeyboardFocusManager().
60626026// getPermanentFocusOwner() == this)
@@ -6845,11 +6809,9 @@ public Container getFocusCycleRootAncestor() {
68456809 * @since 1.4
68466810 */
68476811 public boolean isFocusCycleRoot (Container container ) {
6848- // SwingJS SAEM
68496812 return isFocusCycleRootComp (container );
68506813 }
68516814 protected boolean isFocusCycleRootComp (Container container ) {
6852- // SwingJS SAEM
68536815 Container rootAncestor = getFocusCycleRootAncestor ();
68546816 return (rootAncestor == container );
68556817 }
@@ -7876,11 +7838,9 @@ public ComponentOrientation getComponentOrientation() {
78767838 * @since 1.4
78777839 */
78787840 public void applyComponentOrientation (ComponentOrientation orientation ) {
7879- // SwingJS SAEM
78807841 applyCompOrientComp (orientation );
78817842 }
78827843 protected void applyCompOrientComp (ComponentOrientation orientation ) {
7883- // SwingJS SAEM
78847844 if (orientation == null ) {
78857845 throw new NullPointerException ();
78867846 }
0 commit comments