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

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

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

revision 1.5 by mkoch, Fri Oct 22 12:44:00 2004 UTC revision 1.6 by mkoch, Wed Jan 26 23:32:51 2005 UTC
# Line 1  Line 1 
1  /* BasicMenuBarUI.java --  /* BasicMenuBarUI.java --
2     Copyright (C) 2002, 2004  Free Software Foundation, Inc.     Copyright (C) 2002, 2004, 2005  Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 294  public class BasicMenuBarUI extends Menu Line 294  public class BasicMenuBarUI extends Menu
294       */       */
295      public void propertyChange(PropertyChangeEvent e)      public void propertyChange(PropertyChangeEvent e)
296      {      {
297        if (e.getPropertyName().equals(JMenuBar.BORDER_PAINTED_CHANGED_PROPERTY))        if (e.getPropertyName().equals("borderPainted"))
298          menuBar.repaint();          menuBar.repaint();
299        if (e.getPropertyName().equals(JMenuBar.MARGIN_CHANGED_PROPERTY))        if (e.getPropertyName().equals("margin"))
300          menuBar.repaint();          menuBar.repaint();
301      }      }
302    }    }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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