/[classpath]/classpath/javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicInternalFrameTitlePane.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by rabbit78, Mon Nov 14 12:39:47 2005 UTC revision 1.18 by rabbit78, Tue Nov 15 20:32:46 2005 UTC
# Line 66  import javax.swing.JMenuBar; Line 66  import javax.swing.JMenuBar;
66  import javax.swing.JMenuItem;  import javax.swing.JMenuItem;
67  import javax.swing.SwingConstants;  import javax.swing.SwingConstants;
68  import javax.swing.SwingUtilities;  import javax.swing.SwingUtilities;
 import javax.swing.UIDefaults;  
69  import javax.swing.UIManager;  import javax.swing.UIManager;
70    
71  /**  /**
# Line 718  public class BasicInternalFrameTitlePane Line 717  public class BasicInternalFrameTitlePane
717     */     */
718    protected void installDefaults()    protected void installDefaults()
719    {    {
720      UIDefaults defaults = UIManager.getLookAndFeelDefaults();      title.setFont(UIManager.getFont("InternalFrame.titleFont"));
721        selectedTextColor = UIManager.getColor("InternalFrame.activeTitleForeground");
722      title.setFont(defaults.getFont("InternalFrame.titleFont"));      selectedTitleColor = UIManager.getColor("InternalFrame.activeTitleBackground");
723      selectedTextColor = defaults.getColor("InternalFrame.activeTitleForeground");      notSelectedTextColor = UIManager.getColor("InternalFrame.inactiveTitleForeground");
724      selectedTitleColor = defaults.getColor("InternalFrame.activeTitleBackground");      notSelectedTitleColor = UIManager.getColor("InternalFrame.inactiveTitleBackground");
     notSelectedTextColor = defaults.getColor("InternalFrame.inactiveTitleForeground");  
     notSelectedTitleColor = defaults.getColor("InternalFrame.inactiveTitleBackground");  
725        
726      closeIcon = UIManager.getIcon("InternalFrame.closeIcon");      closeIcon = UIManager.getIcon("InternalFrame.closeIcon");
727      iconIcon = UIManager.getIcon("InternalFrame.iconifyIcon");      iconIcon = UIManager.getIcon("InternalFrame.iconifyIcon");

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26