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:
Tom Tromey 2000-12-26 07:18:16 +00:00 committed by Tom Tromey
parent 5472d1951a
commit b3b90f82f4
6 changed files with 428 additions and 30 deletions

View file

@ -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) */