a8b9dec488b93e325476c5fe9a446c2abf107e43
[debian/openrocket] / src / net / sf / openrocket / gui / configdialog / BulkheadConfig.java
1 package net.sf.openrocket.gui.configdialog;
2
3
4 import javax.swing.JPanel;
5
6 import net.sf.openrocket.l10n.Translator;
7 import net.sf.openrocket.rocketcomponent.RocketComponent;
8 import net.sf.openrocket.startup.Application;
9
10
11
12 public class BulkheadConfig extends RingComponentConfig {
13         private static final Translator trans = Application.getTranslator();
14
15         public BulkheadConfig(RocketComponent c) {
16                 super(c);
17                 
18                 JPanel tab;
19                 
20                 //// Radius: and "Thickness:
21                 tab = generalTab(trans.get("BulkheadCfg.tab.Radius"), null, null, 
22                                 trans.get("BulkheadCfg.tab.Thickness"));
23                 //// General and General properties
24                 tabbedPane.insertTab(trans.get("BulkheadCfg.tab.General"), null, tab, 
25                                 trans.get("BulkheadCfg.tab.Generalproperties"), 0);
26                 tabbedPane.setSelectedIndex(0);
27         }
28         
29 }