MenuItem.java (paramString): Now protected.
* java/awt/MenuItem.java (paramString): Now protected. * java/awt/MenuShortcut.java: Implements Serializable. * java/awt/MenuBar.java: Rewrote from scratch. * java/awt/MenuComponent.java (removeNotify): Wrote. Implements Serializable. * java/awt/GridBagConstraints.java (GridBagConstraints): New constructor. * java/awt/CheckboxMenuItem.java: Wrote. From-SVN: r38488
This commit is contained in:
parent
5472d1951a
commit
b3b90f82f4
6 changed files with 428 additions and 30 deletions
|
@ -10,7 +10,7 @@ package java.awt;
|
|||
|
||||
/* Status: partially complete, untested. */
|
||||
|
||||
public abstract class MenuComponent
|
||||
public abstract class MenuComponent implements java.io.Serializable
|
||||
{
|
||||
// Fields from the serialization spec. Decalare others "transient".
|
||||
Font font;
|
||||
|
@ -71,7 +71,9 @@ public abstract class MenuComponent
|
|||
|
||||
public void removeNotify()
|
||||
{
|
||||
// FIXME
|
||||
if (peer != null)
|
||||
peer.dispose ();
|
||||
peer = null;
|
||||
}
|
||||
|
||||
/** @deprecated Replaced by dispatchEvent(AWTEvent) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue