Package-level declarations
Types
A JTable auto-resize mode (AUTO_RESIZE_*).
A Calendar field a date sequence advances by one unit of, as SpinnerDateModel steps its value (ERA, YEAR, MONTH, WEEK_OF_YEAR, WEEK_OF_MONTH, DAY_OF_MONTH, DAY_OF_YEAR, DAY_OF_WEEK, DAY_OF_WEEK_IN_MONTH, AM_PM, HOUR, HOUR_OF_DAY, MINUTE, SECOND, MILLISECOND).
A DefaultCaret update policy (ALWAYS_UPDATE/NEVER_UPDATE/UPDATE_WHEN_ON_EDT): whether the caret is carried along by an edit made elsewhere in the document, and from which thread.
A JEditorPane MIME content type string (text/plain, text/html, text/rtf).
A FlowLayout alignment (LEFT/CENTER/RIGHT/LEADING/TRAILING), as used by FlowPanel. FlowLayout's constants are a separate numbering from SwingConstants, so this is distinct from HorizontalAlignment.
A JComponent input-map focus condition (WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_WINDOW), passed to getInputMap(int).
A JFormattedTextField focus-lost behavior (COMMIT_OR_REVERT/COMMIT/REVERT/PERSIST).
A GridBagConstraints anchor: where a child sits inside its display area when the area is larger than the child.
A GridBagConstraints fill (NONE/HORIZONTAL/VERTICAL/BOTH): whether and along which axes a child is resized to fill a display area larger than its requested size.
A horizontal alignment from SwingConstants (LEFT/CENTER/RIGHT/LEADING/TRAILING), as used by JLabel and similar components.
A horizontal-scrollbar policy for JScrollPane (HORIZONTAL_SCROLLBAR_*).
A JList cell layout (VERTICAL/VERTICAL_WRAP/HORIZONTAL_WRAP), for ListBox: a single column of cells, or cells wrapped into as many columns or rows as the space allows - filling column by column for VERTICAL_WRAP, row by row for HORIZONTAL_WRAP.
A one-dimensional SwingConstants orientation: HORIZONTAL or VERTICAL.
A JScrollPane corner key (*_CORNER).
A ListSelectionModel selection mode (*_SELECTION), for ListBox/Table.
A JSplitPane orientation (HORIZONTAL_SPLIT/VERTICAL_SPLIT).
A JTabbedPane tab-layout policy (WRAP_TAB_LAYOUT/SCROLL_TAB_LAYOUT).
A JTabbedPane tab placement (TOP/BOTTOM/LEFT/RIGHT).
A data-transfer action bit-mask from TransferHandler (NONE/COPY/MOVE/LINK/COPY_OR_MOVE). Combine COPY and MOVE with the bitwise or to express both.
A TreeSelectionModel selection mode (*_TREE_SELECTION), for Tree.
A vertical alignment from SwingConstants (TOP/CENTER/BOTTOM), as used by JLabel and button-like components.
A vertical-scrollbar policy for JScrollPane (VERTICAL_SCROLLBAR_*).
A Frame extended state (NORMAL/ICONIFIED/MAXIMIZED_HORIZ/MAXIMIZED_VERT/MAXIMIZED_BOTH). The state is a bit mask: combine ICONIFIED with a maximized bit using the bitwise or to express both.