This file "escaped" during the code reorganization. I have no clue what
I did wrong. Anyway, now that it's back one can configure TubeCouplers again.
This commit is contained in:
parent
73ad41c04b
commit
ed3e9b04b3
@ -0,0 +1,34 @@
|
||||
package net.sf.openrocket.gui.configdialog;
|
||||
|
||||
|
||||
import javax.swing.JPanel;
|
||||
|
||||
import net.sf.openrocket.document.OpenRocketDocument;
|
||||
import net.sf.openrocket.l10n.Translator;
|
||||
import net.sf.openrocket.rocketcomponent.RocketComponent;
|
||||
import net.sf.openrocket.startup.Application;
|
||||
|
||||
|
||||
|
||||
public class ThicknessRingComponentConfig extends RingComponentConfig {
|
||||
private static final Translator trans = Application.getTranslator();
|
||||
|
||||
public ThicknessRingComponentConfig(OpenRocketDocument d, RocketComponent c) {
|
||||
super(d, c);
|
||||
|
||||
JPanel tab;
|
||||
|
||||
//// Outer diameter:
|
||||
//// Inner diameter:
|
||||
//// Wall thickness:
|
||||
//// Length:
|
||||
tab = generalTab(trans.get("ThicknessRingCompCfg.tab.Outerdiam"),
|
||||
trans.get("ThicknessRingCompCfg.tab.Innerdiam"),
|
||||
trans.get("ThicknessRingCompCfg.tab.Wallthickness"), trans.get("ThicknessRingCompCfg.tab.Length"));
|
||||
//// General and General properties
|
||||
tabbedPane.insertTab(trans.get("ThicknessRingCompCfg.tab.General"), null, tab,
|
||||
trans.get("ThicknessRingCompCfg.tab.Generalprop"), 0);
|
||||
tabbedPane.setSelectedIndex(0);
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user