de.jdemo.util
Class GuiUtilities

java.lang.Object
  extended by de.jdemo.util.GuiUtilities

public class GuiUtilities
extends java.lang.Object

Author:
Markus Gebhard

Field Summary
static java.awt.Font DEFAULT_FIXED_WIDTH_FONT
           
static java.awt.Font DEFAULT_PROPORTIONAL_FONT
           
 
Method Summary
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_FIXED_WIDTH_FONT

public static final java.awt.Font DEFAULT_FIXED_WIDTH_FONT

DEFAULT_PROPORTIONAL_FONT

public static final java.awt.Font DEFAULT_PROPORTIONAL_FONT
Method Detail

createDialog

public static javax.swing.JDialog createDialog(java.awt.Component parentComponent)

createWindow

public static javax.swing.JWindow createWindow(java.awt.Component parentComponent)

setNativeLookAndFeel

public static void setNativeLookAndFeel()

expandTreeNode

public static void expandTreeNode(javax.swing.JTree tree,
                                  javax.swing.tree.TreeNode tNode)

centerOnScreen

public static void centerOnScreen(java.awt.Window window)

getWindowForComponent

public static java.awt.Window getWindowForComponent(java.util.EventObject event)

getWindowForComponent

public static final java.awt.Window getWindowForComponent(java.awt.Component component)


JDemo homepage: http://www.jdemo.de
Copyright © 2003-2008 Markus Gebhard. All Rights Reserved.