public class GuiUtilities
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.awt.Font |
DEFAULT_FIXED_WIDTH_FONT |
static java.awt.Font |
DEFAULT_PROPORTIONAL_FONT |
Modifier and Type | Method and Description |
---|---|
static void |
centerOnScreen(java.awt.Window window) |
static javax.swing.JDialog |
createDialog(java.awt.Component parentComponent) |
static javax.swing.JWindow |
createWindow(java.awt.Component parentComponent) |
static void |
expandTreeNode(javax.swing.JTree tree,
javax.swing.tree.TreeNode tNode) |
static java.awt.Window |
getWindowForComponent(java.awt.Component component) |
static java.awt.Window |
getWindowForComponent(java.util.EventObject event) |
static void |
setNativeLookAndFeel() |
public static final java.awt.Font DEFAULT_FIXED_WIDTH_FONT
public static final java.awt.Font DEFAULT_PROPORTIONAL_FONT
public static javax.swing.JDialog createDialog(java.awt.Component parentComponent)
public static javax.swing.JWindow createWindow(java.awt.Component parentComponent)
public static void setNativeLookAndFeel()
public static void expandTreeNode(javax.swing.JTree tree, javax.swing.tree.TreeNode tNode)
public static void centerOnScreen(java.awt.Window window)
public static java.awt.Window getWindowForComponent(java.util.EventObject event)
public static final java.awt.Window getWindowForComponent(java.awt.Component component)
JDemo homepage: http://www.jdemo.de
Copyright © 2003-2012 Markus Gebhard. All Rights Reserved.