info.jonclark.gui
Class GuiUtils

java.lang.Object
  extended by info.jonclark.gui.GuiUtils

public class GuiUtils
extends Object


Constructor Summary
GuiUtils()
           
 
Method Summary
static File promptForFile(Component parent)
          Prompts user to open a file
static void setNativeLookAndFeel()
          Sets the LookAndFeel of a program to the system's default (native) look
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuiUtils

public GuiUtils()
Method Detail

setNativeLookAndFeel

public static void setNativeLookAndFeel()
Sets the LookAndFeel of a program to the system's default (native) look


promptForFile

public static File promptForFile(Component parent)
Prompts user to open a file

Parameters:
parent -
Returns:
File, if user chose one, null otherwise