Panel panSetting;
panSetting = new Panel(new FlowLayout(FlowLayout.LEFT));
panSetting.add(new Label(Messages
.getString("CommonSettingsDialog.tooltipDelay"))); //$NON-NLS-1$
tooltipDelay = new TextField(4);
panSetting.add(tooltipDelay);
tempPanel.add(panSetting);
panSetting = new Panel(new FlowLayout(FlowLayout.LEFT));
unitStartChar = new Choice();
// Add option for "A, B, C, D..."
unitStartChar.addItem("\u0041, \u0042, \u0043, \u0044..."); //$NON-NLS-1$
// Add option for "ALPHA, BETA, GAMMA, DELTA..."
unitStartChar.addItem("\u0391, \u0392, \u0393, \u0394..."); //$NON-NLS-1$
// Add option for "alpha, beta, gamma, delta..."
unitStartChar.addItem("\u03B1, \u03B2, \u03B3, \u03B4..."); //$NON-NLS-1$
panSetting.add(unitStartChar);
panSetting.add(new Label(Messages
.getString("CommonSettingsDialog.protoMechUnitCodes"))); //$NON-NLS-1$
panSetting = new Panel(new FlowLayout(FlowLayout.LEFT));
panSetting.add(new Label(Messages
.getString("CommonSettingsDialog.pathFiderTimeLimit"))); //$NON-NLS-1$
maxPathfinderTime = new TextField(5);
panSetting.add(maxPathfinderTime);
tempPanel.add(panSetting);
getFocus = new Checkbox(Messages
.getString("CommonSettingsDialog.getFocus")); //$NON-NLS-1$
tempPanel.add(getFocus);
tempPanel.add(panSetting);
// player-specific settings
defaultAutoejectDisabled = new Checkbox(Messages
.getString("CommonSettingsDialog.defaultAutoejectDisabled")); //$NON-NLS-1$
defaultAutoejectDisabled.addItemListener(this);
tempPanel.add(defaultAutoejectDisabled);
useAverageSkills = new Checkbox(Messages
.getString("CommonSettingsDialog.useAverageSkills")); //$NON-NLS-1$
useAverageSkills.addItemListener(this);
tempPanel.add(useAverageSkills);
showUnitId = new Checkbox(Messages
.getString("CommonSettingsDialog.showUnitId")); //$NON-NLS-1$
showUnitId.addItemListener(this);
tempPanel.add(showUnitId);
// client-side gameLog settings
keepGameLog = new Checkbox(Messages
.getString("CommonSettingsDialog.keepGameLog")); //$NON-NLS-1$
keepGameLog.addItemListener(this);
tempPanel.add(keepGameLog);
panSetting = new Panel(new FlowLayout(FlowLayout.LEFT));
panSetting.add(new Label(Messages
.getString("CommonSettingsDialog.logFileName"))); //$NON-NLS-1$
gameLogFilename = new TextField(15);
panSetting.add(gameLogFilename);
tempPanel.add(panSetting);
panSetting = new Panel(new FlowLayout(FlowLayout.LEFT));
panSetting.add(new Label(Messages
.getString("CommonSettingsDialog.tileset"))); //$NON-NLS-1$
tileSetChoice = new Choice();
panSetting.add(tileSetChoice);
tempPanel.add(panSetting);
/*
* panSetting = new Panel(new FlowLayout(FlowLayout.LEFT));
* panSetting.add( new
* Label(Messages.getString("CommonSettingsDialog.logFileMaxSize")) );
* //$NON-NLS-1$ gameLogMaxSize = new TextField(5); panSetting.add(
* gameLogMaxSize ); tempPanel.add( panSetting );
*/
stampFilenames = new Checkbox(Messages
.getString("CommonSettingsDialog.stampFilenames")); //$NON-NLS-1$
stampFilenames.addItemListener(this);
tempPanel.add(stampFilenames);
panSetting = new Panel(new FlowLayout(FlowLayout.LEFT));
panSetting.add(new Label(Messages
.getString("CommonSettingsDialog.stampFormat"))); //$NON-NLS-1$
stampFormat = new TextField(15);
panSetting.add(stampFormat);
tempPanel.add(panSetting);
// scrolling options
tempPanel.add(new AdvancedLabel(Messages
.getString("CommonSettingsDialog.mapScrollText"))); //$NON-NLS-1$
rightDragScroll = new Checkbox(Messages
.getString("CommonSettingsDialog.rightDragScroll")); //$NON-NLS-1$
tempPanel.add(rightDragScroll);
ctlScroll = new Checkbox(Messages
.getString("CommonSettingsDialog.ctlScroll")); //$NON-NLS-1$
tempPanel.add(ctlScroll);
clickEdgeScroll = new Checkbox(Messages
.getString("CommonSettingsDialog.clickEdgeScroll")); //$NON-NLS-1$
tempPanel.add(clickEdgeScroll);
alwaysRightClickScroll = new Checkbox(Messages
.getString("CommonSettingsDialog.alwaysRightClickScroll")); //$NON-NLS-1$
tempPanel.add(alwaysRightClickScroll);
autoEdgeScroll = new Checkbox(Messages
.getString("CommonSettingsDialog.autoEdgeScroll")); //$NON-NLS-1$
tempPanel.add(autoEdgeScroll);
panSetting = new Panel(new FlowLayout(FlowLayout.LEFT));
panSetting.add(new Label(Messages
.getString("CommonSettingsDialog.scrollSesitivity"))); //$NON-NLS-1$
scrollSensitivity = new TextField(4);
panSetting.add(scrollSensitivity);
tempPanel.add(panSetting);
// locale settings
panSetting = new Panel(new FlowLayout(FlowLayout.LEFT));