Adds a global action to a component.
Adds a global action to a component. The key is active if the component appears in the focused window.
Adds a global key-triggered click action to a button.
Adds a global key-triggered click action to a button. The key is active if the action appears in the focused window. The added action simulates a button click.
Same as addGlobalKey
, but only performs action if the button is
currently showing (e.
Same as addGlobalKey
, but only performs action if the button is
currently showing (e.g. in the currently showing tabbed pane page).
Adds alt-left/right key control to a tabbed pane.
Positions a window on the center of the default screen device.
Executes a code block once after a given delay on the event-dispatch-thread.
Sets a component's minimum and maximum size to match the preferred size.
Sets the minimum, maximum and preferred width of a component.
Sets the minimum, maximum and preferred width of a component.
the width to use or -1
to query the preferred width instead.
Formats the name of the class of a value by inserting space characters at the 'camel' positions.
Creates a formatted text from an exception, useful for displaying in a dialog.
Creates a formatted text from an exception, useful for displaying in a dialog.
the exception to format
the word wrapping margin for the exception's message
the number of stack trace elements to include. if zero, no stack trace will be included.
Human-readable text representation of a key stroke.
Returns the maximum bounds a window should have on the default screen device.
Positions a window on the default screen device.
Positions a window on the default screen device.
the horizontal placement from 0.0 (left-most) to 1.0 (right-most)
the vertical placement from 0.0 (top-most) to 1.0 (bottom-most)
additional padding in pixels from the screen's margins. For example,
if horizontal is 1.0
and padding is 40
, the window will be
placed so that its right border is spaced 40 pixels from the right
margin of the screen.
Sets the minimum, maximum and preferred width of a number of components to the maximum of their individual preferred widths.
Requests that a components gets focus once it is made visible.