| |
|
| javax.swing.JFrame com.jgoodies.looks.demo.DemoFrame
DemoFrame | public class DemoFrame extends JFrame (Code) | | Builds the main frame in the Simple Looks Demo.
Demonstrates and tests different multi-platform issues by
showing a variety of Swing widgets in different configurations.
This class provides a couple of protected methods that create
components or a builder. The full JGoodies Looks Demo overrides
these methods to vend components or builders from the
JGoodies UI framework that better handle different platforms.
author: Karsten Lentzsch version: $Revision: 1.16 $ |
Constructor Summary | |
protected | DemoFrame(Settings settings) Constructs a DemoFrame , configures the UI,
and builds the content. |
DemoFrame | protected DemoFrame(Settings settings)(Code) | | Constructs a DemoFrame , configures the UI,
and builds the content.
|
createAboutActionListener | protected ActionListener createAboutActionListener()(Code) | | Creates and answers an ActionListener that opens the about dialog.
|
createHelpActionListener | protected ActionListener createHelpActionListener()(Code) | | Creates and answers an ActionListener that opens the help viewer.
|
createMenuBuilder | protected MenuBarView createMenuBuilder()(Code) | | Creates and returns a builder that builds the menu.
This method is overriden by the full JGoodies Looks Demo to use
a more sophisticated menu builder that uses the JGoodies
UI Framework.
the builder that builds the menu bar |
createToolBarButton | protected AbstractButton createToolBarButton(String iconName, String toolTipText)(Code) | | Creates and returns a JButton configured for use in a JToolBar.
This is a simplified method that is overriden by the Looks Demo.
The full code uses the JGoodies UI framework's ToolBarButton
that better handles platform differences.
|
createToolBarRadioButton | protected AbstractButton createToolBarRadioButton(String iconName, String toolTipText)(Code) | | Creates and returns a JToggleButton configured for use in a JToolBar.
This is a simplified method that is overriden by the Looks Demo.
The full code uses the JGoodies UI framework's ToolBarButton
that better handles platform differences.
|
locateOnScreen | protected void locateOnScreen(Component component)(Code) | | Locates the given component on the screen's center.
|
readImageIcon | protected static ImageIcon readImageIcon(String filename)(Code) | | Looks up and returns an icon for the specified filename suffix.
|
|
|
|