In this section you can find different examples of GC4S components. Code for all examples is provided at the gc4s-demo
module.
Gallery contents:
- AbstractInputJDialog
- CardsPanel
- CloseableJTabbedPane
- ColorKeyLegend
- ColorLegend
- ColorsListPanel
- ColumnSummaryTableCellRenderer
- ComponentsListPanel
- CsvPanel
- DoubleRangeInputPanel
- DoubleRangeSpinnerInputPanel
- ExtendedJComboBox
- ExtendedJTabbedPane
- ExtendedJXTable
- FilterableJXTable
- FontConfigurationPanel
- Icons
- IntegerRangeInputPanel
- ItemSelectionPanel
- JFileChooserPanel
- JListPanel
- JInputList
- JLimitedTextField
- JMultipleFileChooserPanel
- JParallelListsPanel
- JProgressDialog
- JTreeSelectionPanel
- MapTableViewer
- RadioButtonsPanel
- RangeInputPanel
- RowHeaderExtendedJXTable
- Wizard
- WorkingDialog
An extension of JDialog
to ease the creation of new input dialogs by providing common functionalities such as buttons pane, description or key bindings.
A component that displays different components using a CardLayout
and creates a combo box to control which one should be visible.
An extension of JTabbedPane
that adds a close button to tabs.
A component for displaying color key legends.
A component for displaying color legends.
A panel that allows the selection of several colors.
A table cell renderer that displays a column summary.
A component that allows showing a list of generic components with control buttons to add and remove them.
A panel that allows user to configure a CSV format.
A panel that allows user to type a range of double values, checking that the minimum value is equal or lower than the maximum value.
A panel that allows user to type a range of double values by using spinners.
An extension of JComboBox
that adjust its width to the maximum item width when the drop down list is being displayed.
An extension of JTabbedPane
that allows setting wether the tab bar must be hidden if there is only one tab.
An extension of JXTable
that allows to hide/show the column visibility actions and also facilitates adding own actions to the ColumnControlButton
.
An extension of JXTable
that allows to establish a row filter in an easy way.
A panel that allows configuring a Font
.
A class that provides a great variety of icons as static constants.
A panel that allows user typing a range defined by values, taking into account that the minimum value should always be lower or equal to the maximum value.
A panel that allows users choosing a specified number of items from different combo boxes.
A component with a button to select a file (using a JFileChooser
) and a text field that show the selected file.
A component that wraps a JList
to add common actions.
This component can also show a text field that allows filtering the elements shown.
A class that encloses a JListPanel<String>
to provide the ability of adding new elements to the list.
An extension of JTextField
to limit the length of the text.
A component with a button to select multiple files (using a JFileChooser
) and a list that shows the selected files.
A component that that wraps two JListPanel
and allows moving elements between them.
An extension of JDialog
to ease the creation of simple progress dialogs based on a task list.
A component to select an item from a JTree
. The tree is displayed in a popup menu when the choose button is clicked.
A table that displays the entries of a map using a MapTableModel
.
A panel that displays a list of elements using JRadioButton
s. It is designed to be an alternative to JComboBox
when you want all values visible to the user.
A panel that allows user selecting a range of values using sliders, taking into account that the minimum value should always be lower or equal to the maximum value.
An extension of ExtendedJXTable
to allow users creating tables within a row names column.
A wizard dialog shows a list of wizard steps (implemented by WizardStep
objects).
A dialog that shows a progress in work dialog with an indeterminate progress bar and a label. The indeterminate progress bar may be replaced by a user image.