org.fife.ui
Class WebLookAndFeelUtils
java.lang.Object
org.fife.ui.WebLookAndFeelUtils
public class WebLookAndFeelUtils
- extends java.lang.Object
Utilities for using WebLookAndFeel. It's super nice, but like Substance,
it assumes you're building your application from the ground up with it,
so we have to tweak it somewhat to make it look OK with an application like
RText that uses "standard" Swing paradigms.
Note that WebLookAndFeel is a little dangerous for applications to support,
since it uses lots of Sun-internal APIs and so may break at a moment's
notice.
WebLookAndFeel also requires Java 6+, so everything is done by reflection.
Everything in this class works as of the WebLaF 1.4 preview release.
- Version:
- 1.0
- Author:
- Robert Futrell
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebLookAndFeelUtils
public WebLookAndFeelUtils()
fixToolbarButtons
public static void fixToolbarButtons(javax.swing.JToolBar toolBar)
- Sets properties needed for toolbar buttons to look nice in
WebLookAndFeel.
- Parameters:
toolBar
- The toolbar to update.
installWebLookAndFeelProperties
public static final void installWebLookAndFeelProperties(java.lang.ClassLoader cl)
isWebLookAndFeel
public static final boolean isWebLookAndFeel(java.lang.String laf)
isWebLookAndFeelInstalled
public static final boolean isWebLookAndFeelInstalled()