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
|
@ -86,4 +86,25 @@ public class GridBagConstraints implements Cloneable, Serializable
|
|||
this.weightx = 0;
|
||||
this.weighty = 0;
|
||||
}
|
||||
|
||||
/** Create a new GridBagConstraints object with the indicated
|
||||
* parameters. */
|
||||
public GridBagConstraints (int gridx, int gridy,
|
||||
int gridwidth, int gridheight,
|
||||
double weightx, double weighty,
|
||||
int anchor, int fill,
|
||||
Insets insets, int ipadx, int ipady)
|
||||
{
|
||||
this.anchor = anchor;
|
||||
this.fill = fill;
|
||||
this.gridx = gridx;
|
||||
this.gridy = gridy;
|
||||
this.gridwidth = gridwidth;
|
||||
this.gridheight = gridheight;
|
||||
this.ipadx = ipadx;
|
||||
this.ipady = ipady;
|
||||
this.insets = insets;
|
||||
this.weightx = weightx;
|
||||
this.weighty = weighty;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue