Added blank colorOptionsPane in preferences

This commit is contained in:
Craig Earls 2014-12-19 18:19:20 -07:00
parent c85fe63ed8
commit c28824b147
2 changed files with 6 additions and 0 deletions

View File

@ -249,6 +249,7 @@ pref.dlg.but.defaultmetric = Default metric
pref.dlg.but.defaultimperial = Default imperial
pref.dlg.title.Preferences = Preferences
pref.dlg.tab.Units = Units
pref.dlg.tab.Colors = Colors
pref.dlg.tab.Defaultunits = Default units
pref.dlg.tab.Materials = Materials
pref.dlg.tab.Custommaterials = Custom materials

View File

@ -98,6 +98,8 @@ public class PreferencesDialog extends JDialog {
//// Decal Editor selection
tabbedPane.addTab(trans.get("pref.dlg.tab.Graphics"), graphicsOptionsPane());
//// Default Colors Preferences
tabbedPane.addTab(trans.get("pref.dlg.tab.Colors"), colorOptionsPane());
//// Close button
JButton close = new JButton(trans.get("dlg.but.close"));
close.addActionListener(new ActionListener() {
@ -123,6 +125,9 @@ public class PreferencesDialog extends JDialog {
GUIUtil.setDisposableDialogOptions(this, close);
}
private JPanel colorOptionsPane(){
return new JPanel(new MigLayout("fillx, ins 301p n n n"));
}
private JPanel optionsPane() {
JPanel panel = new JPanel(new MigLayout("fillx, ins 30lp n n n"));