Class Summary |
AboutDialog |
Generic 'About' dialog
Typical usage:
Object[][] values = {
{"OS Version" , AboutDialog.getOSVersion()},
{"JDK Version", AboutDialog.getJavaVersion()}};
String copyright = "" +
"Copyright (c) 2002-2003, All rights reserved " +
"Ralph Jocham " +
"JCSC is released under the GPL " +
"";
AboutDialog about = new AboutDialog((JFrame) null,
"About JCSC",
"Splash",
values,
copyright);
about.setModal(true);
about.setVisible(true);
|
AboutPanel |
Generic 'About' panel to show
image
environment informations (key, value)
owner
|
AnimatedLabel |
A JPanel which contains nothing but a JLabel which displays
icons in a round robin fashion in order to create a animation. |
RegexpDialog |
RegexpDialog is a dialog assisting in regexp creation |
RegexpDialog.RegTextArea |
RegTextArea is a wrapped up JTextArea |
RegexpDialog.RegTextField |
RegTextField is a wrapped up JTextField |
SelectDialog |
SelectDialog - a general dialog displaying a list of possible selection from which the
user chooses one or more. |
TextFieldButton |
TextFieldButton is a JTextField widget with a browse button
Example for typical usage:
// listener for action event from mTextFieldButton an instance of TextFieldButton
public void actionPerformed(ActionEvent e)
{
if (e.getActionCommand().equals(TextFieldButton.AC_BUTTON))
{
final SomeDialog sd = new SomeDialog(); // some selection happens here
sd.setActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
// update what is displayed in the textfield of the TextFieldButton
mTextFieldButton.setObject(((SomeDialog) e.getSource()).getSelection());
sd.dispose();
}
});
}
sd.pack();
sd.setVisible(true);
} |
WidgetSizer |
Collection of utility methods related to manipulate
the size of widgets |