|
Log4j 1.3alpha-3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.log4j.chainsaw.helper.SwingHelper
A collection of standard utility methods for use within Swing.
Constructor Summary | |
SwingHelper()
|
Method Summary | |
static void |
centerOnScreen(java.awt.Component component)
Centers the Component on screen. |
static void |
configureCancelForDialog(javax.swing.JDialog dialog,
javax.swing.JButton cancelButton)
This method configures a standard Cancel action, bound to the ESC key, to dispose of the dialog, and sets the buttons action to be this action, and adds the action to the dialog's rootPane action map |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SwingHelper()
Method Detail |
public static void centerOnScreen(java.awt.Component component)
component
- public static void configureCancelForDialog(javax.swing.JDialog dialog, javax.swing.JButton cancelButton)
dialog
- cancelButton
-
|
Log4j 1.3alpha-3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |