tabbedTrackCheckBox.setSelected(p.getBooleanValue(TABBED_TRACK));
    private void loadPreferences() {        Preferences p = Preferences.getInstance();        locomotiveControlNumberModel.setValue(p            .getIntValue(LOCOMOTIVE_CONTROLES));        switchControlNumberModel.setValue(p.getIntValue(SWITCH_CONTROLES));        keyBoardLayoutComboBox.setSelectedItem(p            .getStringValue(KEYBOARD_LAYOUT));        defaultActivationTimeModel.setValue(p.getIntValue(ACTIVATION_TIME));        defaultRoutingDelayModel.setValue(p.getIntValue(ROUTING_DELAY));        defaultLockDurationModel.setValue(p.getIntValue(LOCK_DURATION));        interface6051.setSelected(p.getBooleanValue(INTERFACE_6051));        writeLog.setSelected(p.getBooleanValue(LOGGING));        fullscreen.setSelected(p.getBooleanValue(FULLSCREEN));        hostnameTextField.setText(p.getStringValue(HOSTNAME));        portnumberTextField.setText(Integer.toString(p.getIntValue(PORT)));        autoconnectCheckBox.setSelected(p.getBooleanValue(AUTOCONNECT));    }