be.ugent.caagt.swirl
Class StandardButtons

java.lang.Object
  extended by be.ugent.caagt.swirl.StandardButtons

public final class StandardButtons
extends java.lang.Object

Helper class which allows creation of 'standard' buttons (OK, Cancel, ...) with captions and mnemonics retrieved from the user interface manager.


Method Summary
static javax.swing.JButton createCancelButton()
          Create a Cancel button with same look-and-feel as the Cancel button of an option pane.
static javax.swing.JButton createNoButton()
          Create a No button with same look-and-feel as the No button of an option pane.
static javax.swing.JButton createOKButton()
          Create an OK button with same look-and-feel as the OK button of an option pane.
static javax.swing.JButton createYesButton()
          Create a Yes button with same look-and-feel as the Yes button of an option pane.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createOKButton

public static javax.swing.JButton createOKButton()
Create an OK button with same look-and-feel as the OK button of an option pane.


createCancelButton

public static javax.swing.JButton createCancelButton()
Create a Cancel button with same look-and-feel as the Cancel button of an option pane.


createYesButton

public static javax.swing.JButton createYesButton()
Create a Yes button with same look-and-feel as the Yes button of an option pane.


createNoButton

public static javax.swing.JButton createNoButton()
Create a No button with same look-and-feel as the No button of an option pane.