diff options
author | Mark Wielaard <mark@gcc.gnu.org> | 2005-11-15 23:20:01 +0000 |
---|---|---|
committer | Mark Wielaard <mark@gcc.gnu.org> | 2005-11-15 23:20:01 +0000 |
commit | 8f523f3a1047919d3563daf1ef47ba87336ebe89 (patch) | |
tree | a5eb7cf42a51869cc8aa1fad7ad6a90cca47fdd8 /libjava/classpath/javax/swing/JCheckBoxMenuItem.java | |
parent | 02e549bfaaec38f68307e7f34e46ea57ea1809af (diff) | |
download | gcc-8f523f3a1047919d3563daf1ef47ba87336ebe89.tar.gz |
Imported GNU Classpath 0.19 + gcj-import-20051115.
* sources.am: Regenerated.
* Makefile.in: Likewise.
* scripts/makemake.tcl: Use glob -nocomplain.
From-SVN: r107049
Diffstat (limited to 'libjava/classpath/javax/swing/JCheckBoxMenuItem.java')
-rw-r--r-- | libjava/classpath/javax/swing/JCheckBoxMenuItem.java | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/libjava/classpath/javax/swing/JCheckBoxMenuItem.java b/libjava/classpath/javax/swing/JCheckBoxMenuItem.java index f9dd56500fe..815244259be 100644 --- a/libjava/classpath/javax/swing/JCheckBoxMenuItem.java +++ b/libjava/classpath/javax/swing/JCheckBoxMenuItem.java @@ -38,9 +38,6 @@ exception statement from your version. */ package javax.swing; -import java.io.IOException; -import java.io.ObjectOutputStream; - import javax.accessibility.Accessible; import javax.accessibility.AccessibleContext; import javax.accessibility.AccessibleRole; @@ -48,8 +45,9 @@ import javax.accessibility.AccessibleRole; /** * A menu item that displays a checkbox. Its behaviour is very similar * to {@link JCheckBox}. Just like the <code>JCheckBox</code>, user can check - * and uncheck this menu item by clicking on it. Also {@link #setSelected()} - * and {@link #setState()} can be use used for the same purpose. + * and uncheck this menu item by clicking on it. Also + * {@link AbstractButton#setSelected} and {@link #setState} can be use used + * for the same purpose. * <code>JCheckBoxMenuItem</code> uses * <code>ToggleButtonModel</code> to keep track of its selection. * @@ -152,10 +150,6 @@ public class JCheckBoxMenuItem extends JMenuItem implements SwingConstants, this.setVisible(true); } - private void writeObject(ObjectOutputStream stream) throws IOException - { - } - /** * This method returns a name to identify which look and feel class will be * the UI delegate for the menuItem. @@ -248,6 +242,7 @@ public class JCheckBoxMenuItem extends JMenuItem implements SwingConstants, */ protected AccessibleJCheckBoxMenuItem() { + // Nothing to do here. } public AccessibleRole getAccessibleRole() |