01: package net.xoetrope.swing;
02:
03: import javax.swing.JMenuItem;
04:
05: import net.xoetrope.xui.XTextHolder;
06: import java.awt.Dimension;
07:
08: /**
09: * A wrapper for menu items
10: * <p>Copyright (c) Xoetrope Ltd., 1998-2004<br>
11: * @version 1.0
12: */
13: public class XMenuItem extends JMenuItem implements XTextHolder {
14: public XMenuItem() {
15: super();
16: setFont(XMenu.defaultFont);
17: }
18: }
|