/[classpath]/classpath/javax/swing/JMenuBar.java
ViewVC logotype

Diff of /classpath/javax/swing/JMenuBar.java

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

revision 1.8 by mark, Thu Jul 22 19:45:39 2004 UTC revision 1.9 by mark, Fri Jul 30 20:21:19 2004 UTC
# Line 1  Line 1 
1  /* JMenuBar.java --  /* JMenuBar.java --
2     Copyright (C) 2002, 2004  Free Software Foundation, Inc.     Copyright (C) 2002, 2004  Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
# Line 83  public class JMenuBar extends JComponent Line 83  public class JMenuBar extends JComponent
83    
84    /** Fired in a PropertyChangeEvent when the "model" changes. */    /** Fired in a PropertyChangeEvent when the "model" changes. */
85    public static final String MODEL_CHANGED_PROPERTY = "model";    public static final String MODEL_CHANGED_PROPERTY = "model";
86      
87    /** Fired in a PropertyChangeEvent when the "margin" changes. */    /** Fired in a PropertyChangeEvent when the "margin" changes. */
88    public static final String MARGIN_CHANGED_PROPERTY = "margin";    public static final String MARGIN_CHANGED_PROPERTY = "margin";
89    private static final long serialVersionUID = -8191026883931977036L;    private static final long serialVersionUID = -8191026883931977036L;
# Line 311  public class JMenuBar extends JComponent Line 311  public class JMenuBar extends JComponent
311     * This method does nothing by default. This method is need for the     * This method does nothing by default. This method is need for the
312     * MenuElement interface to be implemented.     * MenuElement interface to be implemented.
313     *     *
314     * @param isIncluded true if menuBar is included in the selection     * @param isIncluded true if menuBar is included in the selection
315     * and false otherwise     * and false otherwise
316     */     */
317    public void menuSelectionChanged(boolean isIncluded)    public void menuSelectionChanged(boolean isIncluded)
# Line 320  public class JMenuBar extends JComponent Line 320  public class JMenuBar extends JComponent
320    }    }
321    
322    /**    /**
323     * Paints border of the menu bar, if its borderPainted property is set to     * Paints border of the menu bar, if its borderPainted property is set to
324     * true.     * true.
325     *     *
326     * @param g The graphics context with which to paint the border     * @param g The graphics context with which to paint the border

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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