org.biomoby.service.dashboard
Class LookAndFeelUtils
java.lang.Object
org.biomoby.service.dashboard.LookAndFeelUtils
public abstract class LookAndFeelUtils
- extends Object
A utility class helping to set different "Look and Feel"s.
- Version:
- $Id: LookAndFeelUtils.java,v 1.1 2005/12/18 05:42:23 senger Exp $
- Author:
- Martin Senger
Method Summary |
static JMenu |
getLookAndFeelMenu(String title,
Icon icon,
JFrame frame)
Create a menu whose sub-menu items - when invoked - change Look
and Feel of the whole application (represented by the given
'frame'). |
LookAndFeelUtils
public LookAndFeelUtils()
getLookAndFeelMenu
public static JMenu getLookAndFeelMenu(String title,
Icon icon,
JFrame frame)
- Create a menu whose sub-menu items - when invoked - change Look
and Feel of the whole application (represented by the given
'frame').
It includes all available L-and-Fs in the returning menu but it
does not check if all are present. Later when one is selectyed
and it is found that its class does not exist, its menu item is
disabled. This way saves to load all L-and-Fs in advance.
- Parameters:
title
- of the created menuicon
- of the created menu (can be null)frame
- is the main application component
- Returns:
- a menu with sub-menus defining available "Look and Feel"s
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010