org.autoplot.datasource.GuiUtil

Utility class for working with GUIs, first introduced to listen for who is setting the minimum size.

GuiUtil( )


addResizeListenerToAll

addResizeListenerToAll( javax.swing.JComponent c ) → void

utility for figuring out who is setting the minimum size of a component.

Parameters

c - the parent component.

Returns:

void (returns nothing)

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


hasScrollPane

hasScrollPane( javax.swing.JComponent c ) → boolean

scan through all the child components looking to see if there is a JScrollPane. This was introduced when a JSplitPane with two JScrollPanes was used with addTab, and an extra JScrollPane was added.

Parameters

c - the component

Returns:

true if a child has a scroll

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