< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java

Print this page

        

@@ -63,26 +63,26 @@
 
     private static final Border handyEmptyBorder = new EmptyBorder(0,0,0,0);
 
     /**
      * Key used to lookup Color from UIManager. If this is null,
-     * <code>getWindowTitleBackground</code> is used.
+     * {@code getWindowTitleBackground} is used.
      */
     private String selectedBackgroundKey;
     /**
      * Key used to lookup Color from UIManager. If this is null,
-     * <code>getWindowTitleForeground</code> is used.
+     * {@code getWindowTitleForeground} is used.
      */
     private String selectedForegroundKey;
     /**
      * Key used to lookup shadow color from UIManager. If this is null,
-     * <code>getPrimaryControlDarkShadow</code> is used.
+     * {@code getPrimaryControlDarkShadow} is used.
      */
     private String selectedShadowKey;
     /**
-     * Boolean indicating the state of the <code>JInternalFrame</code>s
-     * closable property at <code>updateUI</code> time.
+     * Boolean indicating the state of the {@code JInternalFrame}s
+     * closable property at {@code updateUI} time.
      */
     private boolean wasClosable;
 
     int buttonsWidth = 0;
 

@@ -517,11 +517,11 @@
         repaint();
     }
 
     /**
      * Updates any state dependant upon the JInternalFrame being shown in
-     * a <code>JOptionPane</code>.
+     * a {@code JOptionPane}.
      */
     private void updateOptionPaneState() {
         int type = -2;
         boolean closable = wasClosable;
         Object obj = frame.getClientProperty("JInternalFrame.messageType");
< prev index next >