Package bb.gui

Provides classes and interfaces for GUI applications.

See:
          Description

Class Summary
BasicStrokeSerializer The sole purpose of this class is to aid classes which have a BasicStroke field that needs to get serialized.
BasicStrokeSerializer.UnitTest See the Overview page of the project's javadocs for a general description of this unit test class.
ComponentUtil Provides static utility methods that deal with Components.
ContainerUtil Provides static utility methods that deal with Containers.
DialogInputSecure Subclass of JDialog which lets the user input some highly sensitive piece of text (e.g. a password).
DialogInputSecure.DialogTask Bridges the requirement of getInputSecure that any thread can call that method with the requirement of the constructor that only EventQueue's dispatch thread can call it.
DialogInputSecure.UnitTest See the Overview page of the project's javadocs for a general description of this unit test class.
Displayer JFrame subclass that initially only contains the JComponent supplied to its constructor.
Displayer.UnitTest See the Overview page of the project's javadocs for a general description of this unit test class.
DocumentLimitedLength Subclass of PlainDocument which limits the number of chars that it will contain.
DocumentLimitedLength.UnitTest See the Overview page of the project's javadocs for a general description of this unit test class.
DuplicateEventActionListener Abstract implementation of ActionListener.
FontUtil This class provides miscellaneous static Font utility methods.
FontUtil.FontRank The main purpose of this class is simply to record a Font and some associated rank of that Font.
FontUtil.UnitTest See the Overview page of the project's javadocs for a general description of this unit test class.
GraphicsLabel Represents a text label in some graphical context (e.g. the label for a grid line).
GraphicsLabel.UnitTest See the Overview page of the project's javadocs for a general description of this unit test class.
GraphicsLabel.UnitTest.Sheet  
GroupLayout2 Subclass of GroupLayout that adds no new functionality except for implementing Externalizable, which is needed because its superclass does not implement Serializable.
GroupLayout2.UnitTest See the Overview page of the project's javadocs for a general description of this unit test class.
LinePanel A Swing container that resembles the AWT container Box: it always lays out its Components in a single line (that can be either horizontal or vertical), and it does not allow the LayoutManager to be changed from what it was constructed with.
LinePanel.UnitTest See the Overview page of the project's javadocs for a general description of this unit test class.
LookAndFeelDialog Subclass of JDialog that allows the user to choose the Swing Look and Feel.
LookAndFeelDialog.UnitTest See the Overview page of the project's javadocs for a general description of this unit test class.
LookAndFeelUtil This class implements some constants and utilty methods for Swing's Look and Feel functionality.
MessageDialog Subclass of Dialog which displays a title & message(s), as well as an "OK" button.
MessageDialog.UnitTest See the Overview page of the project's javadocs for a general description of this unit test class.
MouseUtil This class provides static utility methods that deal with MouseEvents.
RectangleCanvas Subclass of Canvas which simply draws a rectangular shape.
RectangleCanvas.UnitTest See the Overview page of the project's javadocs for a general description of this unit test class.
ScreenShot Class which supports taking screen shots of the entire desktop, AWT Components, or Swing JComponents.
ScreenShot.UnitTest See the Overview page of the project's javadocs for a general description of this unit test class.
ScreenShot.UnitTest.Gui  
Sounds Provides static utility methods which play various sounds.
Sounds.UnitTest See the Overview page of the project's javadocs for a general description of this unit test class.
SoundUtil Provides static methods relating to sound.
SoundUtil.Player Generates a Clip from a URL and can play it, but most importantly it robustly ensures that the clip is eventually closed and that this close event gets propagated.
SoundUtil.UnitTest See the Overview page of the project's javadocs for a general description of this unit test class.
Strut This class is a Component that is always a specified length along a specified direction.
SwingUtil General static utility methods that are useful for Swing programming.
SwingUtil.UnitTest See the Overview page of the project's javadocs for a general description of this unit test class.
TextFieldSecure Subclass of JPasswordField which fixes defects in its superclass to offer superior security.
TextFieldSecure.CaretSecure Subclass of DefaultCaret which is designed for high security.
TextFieldSecure.ContentSecure Subclass of GapContent which is designed for high security.
TextFieldSecure.DocumentSecure Subclass of DocumentLimitedLength which is designed for high security.
ThrowableDialog Subclass of JDialog which is used to notify the user of a caught Throwable.
ThrowableDialog.UnitTest See the Overview page of the project's javadocs for a general description of this unit test class.
ThrowableDialog.UnitTest.TestDialog  
 

Enum Summary
LinePanel.Axis Enum of the possible orientations of the axis that components will be laid out along.
 

Package bb.gui Description

Provides classes and interfaces for GUI applications.

Concerning multithread safety, many of the classes in this package have a javadoc comment like Like typical Java GUI code, most of this class's methods are not multithread safe.... Here are some references which discuss this matter:

  1. javax.swing package summary
  2. Concurrency in Swing
  3. JDCTechTips: Multithreading In Swing
  4. JDCTechTips: More Multithreading In Swing

Because of this threading limitation, most public methods in this package which deal with components require the calling thread to be the event dispatch thread.