uk.org.toot.swingui.miscui
Class SwingApplication

java.lang.Object
  extended by uk.org.toot.swingui.miscui.SwingApplication

public class SwingApplication
extends java.lang.Object


Nested Class Summary
static class SwingApplication.Camera
           
static class SwingApplication.SquareImage
           
 
Constructor Summary
SwingApplication(java.lang.String aBasename, java.lang.String aFullname)
           
 
Method Summary
static javax.swing.JFrame createFrame(java.awt.Container content, java.lang.String title)
           
static javax.swing.JFrame createFrame(java.awt.Container content, java.lang.String title, java.awt.Image image)
           
 java.awt.Dimension getScreenSize()
           
 void setContent(java.awt.Container content)
           
static void setJavaLookAndFeel()
           
 void setLookAndFeel()
           
static void setMotifLookAndFeel()
           
static void setNativeLookAndFeel()
          Tell system to use native look and feel, as in previous releases.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingApplication

public SwingApplication(java.lang.String aBasename,
                        java.lang.String aFullname)
Method Detail

setLookAndFeel

public void setLookAndFeel()

setContent

public void setContent(java.awt.Container content)

createFrame

public static javax.swing.JFrame createFrame(java.awt.Container content,
                                             java.lang.String title)

createFrame

public static javax.swing.JFrame createFrame(java.awt.Container content,
                                             java.lang.String title,
                                             java.awt.Image image)

getScreenSize

public java.awt.Dimension getScreenSize()

setNativeLookAndFeel

public static void setNativeLookAndFeel()
Tell system to use native look and feel, as in previous releases. Metal (Java) LAF is the default otherwise.


setJavaLookAndFeel

public static void setJavaLookAndFeel()

setMotifLookAndFeel

public static void setMotifLookAndFeel()


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.