be.ugent.caagt.swirl

Class 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 JButton
createCancelButton()
Create a Cancel button with same look-and-feel as the Cancel button of an option pane.
static JButton
createNoButton()
Create a No button with same look-and-feel as the No button of an option pane.
static JButton
createOKButton()
Create an OK button with same look-and-feel as the OK button of an option pane.
static JButton
createYesButton()
Create a Yes button with same look-and-feel as the Yes button of an option pane.

Method Details

createCancelButton

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

createNoButton

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

createOKButton

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

createYesButton

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