Retrieves a value indicating whether the panel has a fixed-width, a width that is determined by the panel's contents, or a width that adjusts to share space on the status bar with other panels.
public int getAutoSize()
Returns an integer that represents how the panel autosizes when the status bar resizes. Possible return values are constants defined in the StatusBarPanelAutoSize class.
See Also setAutoSize