public class SwingUtil extends java.lang.Object
Constructor and Description |
---|
SwingUtil() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.JMenu |
getJMenu(java.awt.Menu menu,
boolean heavy)
Convert a AWT Menu to a Swing JMenu.
|
static javax.swing.JMenuBar |
getJMenuBar(java.awt.MenuBar menuBar,
boolean heavy)
Convert a AWT MenuBar to a Swing JMenuBar.
|
static javax.swing.JMenuItem |
getJMenuItem(java.awt.MenuItem menuItem,
boolean heavy)
Convert a AWT MenuItem to a Swing JMenuItem.
|
public SwingUtil()
public static javax.swing.JMenuBar getJMenuBar(java.awt.MenuBar menuBar, boolean heavy)
public static javax.swing.JMenu getJMenu(java.awt.Menu menu, boolean heavy)
public static javax.swing.JMenuItem getJMenuItem(java.awt.MenuItem menuItem, boolean heavy)