public class PreferenceUtils extends Object
Constructor and Description |
---|
PreferenceUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addNote(JPanel panel,
String text)
Adds a text note to the given
JPanel . |
static JComponent[] |
createColorComponents(Property colorProperty)
Creates color combobox components for a given property.
|
static JPanel |
createTitleLabel(String title)
Creates a
JPanel containing a label with the given text and a horizontal line. |
public static void addNote(JPanel panel, String text)
JPanel
.panel
- A panel to add the note to.text
- The note text.public static JComponent[] createColorComponents(Property colorProperty)
colorProperty
- The property to create the components for.Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.