org.das2.util.GuiUtil

Swing Utilities written for DecoratedFileChooser, but not used. These could be useful for scripts or in the future.

GuiUtil( )


findCardPanel

findCardPanel( java.awt.Container parent ) → javax.swing.JPanel

find the JPanel with CardLayout descending from the parent.

Parameters

parent - a Container

Returns:

null or the JPanel with CardLayout

[search for examples] [view on GitHub] [view on old javadoc] [view source]


findComponent

findComponent( java.awt.Container parent, java.lang.Class type ) → java.awt.Component

find a component of the type, descending from the parent.

Parameters

parent - a Container
type - a java.lang.Class

Returns:

null or the component.

[search for examples] [view on GitHub] [view on old javadoc] [view source]


flashComponent

flashComponent( javax.swing.JComponent component, java.awt.Color color ) → void

make the component flash

Parameters

component - a JComponent
color - a Color

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]