se.perfectfools.localizer.gui
Class GUIHelperMethods

java.lang.Object
  extended byse.perfectfools.localizer.gui.GUIHelperMethods

public class GUIHelperMethods
extends java.lang.Object

GUIHelperMethods

Version:
$Id: GUIHelperMethods.java,v 1.1 2004/11/13 14:44:18 pal Exp $
Author:
Pål Brattberg <pal@eminds.se>

Constructor Summary
GUIHelperMethods()
           
 
Method Summary
static void centerOnScreen(java.awt.Frame frame)
          Locates the frame on the screen center.
static void configureUI()
          Configures the UI; tries to set the system look on Mac, ExtWindowsLookAndFeel on general Windows, and Plastic3DLookAndFeel on Windows XP and all other OS.
static javax.swing.JScrollPane createStrippedScrollPane(java.awt.Component c)
          Creates and returns a JScrollpane that has no border.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUIHelperMethods

public GUIHelperMethods()
Method Detail

createStrippedScrollPane

public static javax.swing.JScrollPane createStrippedScrollPane(java.awt.Component c)
Creates and returns a JScrollpane that has no border.


centerOnScreen

public static void centerOnScreen(java.awt.Frame frame)
Locates the frame on the screen center.


configureUI

public static void configureUI()
Configures the UI; tries to set the system look on Mac, ExtWindowsLookAndFeel on general Windows, and Plastic3DLookAndFeel on Windows XP and all other OS.

The JGoodies Swing Suite's ApplicationStarter,ExtUIManager, and LookChoiceStrategies classes provide a much more fine grained algorithm to choose and restore a look and theme.



Copyright © 2004 Eminds AB. All Rights Reserved.