Search in sources :

Example 1 with JTitledSeparator

use of jmri.swing.JTitledSeparator in project JMRI by JMRI.

the class JmriSRCPServerPreferencesPanel method initGUI.

private void initGUI() {
    this.setLayout(new BoxLayout(this, BoxLayout.PAGE_AXIS));
    add(new JTitledSeparator(Bundle.getMessage("ServerSectionTitle")));
    add(portPanel());
    add(new JTitledSeparator(Bundle.getMessage("SRCPSectionTitle")));
    add(Box.createVerticalGlue());
}
Also used : BoxLayout(javax.swing.BoxLayout) JTitledSeparator(jmri.swing.JTitledSeparator)

Example 2 with JTitledSeparator

use of jmri.swing.JTitledSeparator in project JMRI by JMRI.

the class JsonServerPreferencesPanel method initGUI.

private void initGUI() {
    this.setLayout(new BoxLayout(this, BoxLayout.PAGE_AXIS));
    add(new JTitledSeparator(Bundle.getMessage("ServerSectionTitle")));
    add(portPanel());
    add(new JTitledSeparator(Bundle.getMessage("JSONSectionTitle")));
    add(heartbeatPanel());
    add(Box.createVerticalGlue());
}
Also used : BoxLayout(javax.swing.BoxLayout) JTitledSeparator(jmri.swing.JTitledSeparator)

Example 3 with JTitledSeparator

use of jmri.swing.JTitledSeparator in project JMRI by JMRI.

the class SimpleServerPreferencesPanel method initGUI.

private void initGUI() {
    this.setLayout(new BoxLayout(this, BoxLayout.PAGE_AXIS));
    add(new JTitledSeparator(Bundle.getMessage("ServerSectionTitle")));
    add(portPanel());
    add(new JTitledSeparator(Bundle.getMessage("SimpleServerSectionTitle")));
    add(Box.createVerticalGlue());
}
Also used : BoxLayout(javax.swing.BoxLayout) JTitledSeparator(jmri.swing.JTitledSeparator)

Example 4 with JTitledSeparator

use of jmri.swing.JTitledSeparator in project JMRI by JMRI.

the class WiThrottlePrefsPanel method initGUI.

public void initGUI() {
    setLayout(new BoxLayout(this, BoxLayout.PAGE_AXIS));
    add(new JTitledSeparator(Bundle.getMessage("TitleDelayPanel")));
    add(eStopDelayPanel());
    add(new JTitledSeparator(Bundle.getMessage("TitleFunctionsPanel")));
    add(functionsPanel());
    add(new JTitledSeparator(Bundle.getMessage("TitleNetworkPanel")));
    add(socketPortPanel());
    add(new JTitledSeparator(Bundle.getMessage("TitleControllersPanel")));
    add(allowedControllers());
}
Also used : BoxLayout(javax.swing.BoxLayout) JTitledSeparator(jmri.swing.JTitledSeparator)

Example 5 with JTitledSeparator

use of jmri.swing.JTitledSeparator in project JMRI by JMRI.

the class RailroadNamePreferencesPanel method initGUI.

private void initGUI() {
    this.setLayout(new BoxLayout(this, BoxLayout.PAGE_AXIS));
    add(new JTitledSeparator(Bundle.getMessage("TitleRailroadNamePreferences")));
    add(rrNamePanel());
}
Also used : BoxLayout(javax.swing.BoxLayout) JTitledSeparator(jmri.swing.JTitledSeparator)

Aggregations

BoxLayout (javax.swing.BoxLayout)5 JTitledSeparator (jmri.swing.JTitledSeparator)5