Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.67 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.67 KB

FlatlafThemesComboBoxModel

GitHub javadoc Maven Central

The ComboBox model for the FlatLaf themes.

ComboBox screenshot

Download

FlatlafThemesComboBoxModel binaries are available on Maven Central.

If you use Maven or Gradle, add a dependency with following coordinates to your build script:

    groupId:     com.formdev
    artifactId:  flatlaf
    version:     (see button below)

Otherwise download flatlaf-themes-combobox-model-<version>.jar here:

Maven Central

Usage

Place the JComboBox component on your form and then set the model to an instance of the FlatlafThemesComboBoxModel.

private static FlatlafThemesComboBoxModel themesModel;
private javax.swing.JComboBox<String> themesComboBox;
...
themesModel = new FlatlafThemesComboBoxModel();
themesComboBox = new javax.swing.JComboBox<>();
themesComboBox.setModel(themesModel);