From 281169627e7df7588b949e8f99a2621031b5befe Mon Sep 17 00:00:00 2001 From: SiboVG Date: Fri, 21 Oct 2022 14:22:32 +0200 Subject: [PATCH] Move shape parameter label declaration --- .../sf/openrocket/gui/configdialog/TransitionConfig.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/swing/src/net/sf/openrocket/gui/configdialog/TransitionConfig.java b/swing/src/net/sf/openrocket/gui/configdialog/TransitionConfig.java index 44e1be699..3b3c3f0ea 100644 --- a/swing/src/net/sf/openrocket/gui/configdialog/TransitionConfig.java +++ b/swing/src/net/sf/openrocket/gui/configdialog/TransitionConfig.java @@ -78,13 +78,13 @@ public class TransitionConfig extends RocketComponentConfig { checkbox.setToolTipText(trans.get("TransitionCfg.checkbox.Clipped.ttip")); panel.add(checkbox, "wrap"); order.add(checkbox); - - //// Shape parameter: - this.shapeLabel = new JLabel(trans.get("TransitionCfg.lbl.Shapeparam")); - panel.add(shapeLabel); } { + //// Shape parameter: + this.shapeLabel = new JLabel(trans.get("TransitionCfg.lbl.Shapeparam")); + panel.add(shapeLabel); + final DoubleModel shapeModel = new DoubleModel(component, "ShapeParameter"); this.shapeSpinner = new JSpinner(shapeModel.getSpinnerModel());