|
|
@ -21,6 +21,7 @@ public class FloatPanel extends MaterialPropertyWidget { |
|
|
|
/** Creates new form NumberPanel */ |
|
|
|
/** Creates new form NumberPanel */ |
|
|
|
public FloatPanel() { |
|
|
|
public FloatPanel() { |
|
|
|
initComponents(); |
|
|
|
initComponents(); |
|
|
|
|
|
|
|
jSpinner1.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(0.1f))); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** This method is called from within the constructor to |
|
|
|
/** This method is called from within the constructor to |
|
|
@ -55,11 +56,11 @@ public class FloatPanel extends MaterialPropertyWidget { |
|
|
|
jPanel1.setLayout(jPanel1Layout); |
|
|
|
jPanel1.setLayout(jPanel1Layout); |
|
|
|
jPanel1Layout.setHorizontalGroup( |
|
|
|
jPanel1Layout.setHorizontalGroup( |
|
|
|
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|
|
|
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|
|
|
.addGap(0, 50, Short.MAX_VALUE) |
|
|
|
.addGap(0, 255, Short.MAX_VALUE) |
|
|
|
); |
|
|
|
); |
|
|
|
jPanel1Layout.setVerticalGroup( |
|
|
|
jPanel1Layout.setVerticalGroup( |
|
|
|
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|
|
|
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|
|
|
.addGap(0, 28, Short.MAX_VALUE) |
|
|
|
.addGap(0, 25, Short.MAX_VALUE) |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
jToolBar1.add(jPanel1); |
|
|
|
jToolBar1.add(jPanel1); |
|
|
@ -76,7 +77,7 @@ public class FloatPanel extends MaterialPropertyWidget { |
|
|
|
this.setLayout(layout); |
|
|
|
this.setLayout(layout); |
|
|
|
layout.setHorizontalGroup( |
|
|
|
layout.setHorizontalGroup( |
|
|
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|
|
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|
|
|
.addComponent(jToolBar1, javax.swing.GroupLayout.DEFAULT_SIZE, 168, Short.MAX_VALUE) |
|
|
|
.addComponent(jToolBar1, javax.swing.GroupLayout.DEFAULT_SIZE, 543, Short.MAX_VALUE) |
|
|
|
); |
|
|
|
); |
|
|
|
layout.setVerticalGroup( |
|
|
|
layout.setVerticalGroup( |
|
|
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|
|
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) |
|
|
|