Closedown

This commit is contained in:
boccioli_m
2015-06-01 10:23:02 +02:00
parent 15e22c2a46
commit f0b8174d5d
2 changed files with 16 additions and 15 deletions

View File

@@ -17,7 +17,7 @@
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="31" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="41" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<Component id="panelPlot" max="32767" attributes="0"/>
@@ -37,7 +37,7 @@
<Group type="102" attributes="0">
<EmptySpace min="-2" pref="87" max="-2" attributes="0"/>
<Component id="panel" min="-2" pref="394" max="-2" attributes="0"/>
<EmptySpace min="0" pref="178" max="32767" attributes="0"/>
<EmptySpace min="0" pref="168" max="32767" attributes="0"/>
</Group>
<Group type="102" alignment="1" attributes="0">
<EmptySpace max="32767" attributes="0"/>
@@ -54,16 +54,16 @@
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<EmptySpace min="-2" pref="27" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<Component id="buttonExecute" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="buttonAbort" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="55" max="-2" attributes="0"/>
<Component id="check" min="-2" max="-2" attributes="0"/>
</Group>
<Component id="panel" max="32767" attributes="0"/>
<Component id="panel" min="-2" pref="137" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="32" max="-2" attributes="0"/>
<Component id="check" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
@@ -77,7 +77,7 @@
<EmptySpace min="-2" pref="26" max="-2" attributes="0"/>
</Group>
</Group>
<Component id="panelPlot" pref="246" max="32767" attributes="0"/>
<Component id="panelPlot" pref="193" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>

View File

@@ -130,7 +130,7 @@ public class TestingPanel extends Panel {
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(31, 31, 31)
.addGap(41, 41, 41)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(panelPlot, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
@@ -147,7 +147,7 @@ public class TestingPanel extends Panel {
.addGroup(layout.createSequentialGroup()
.addGap(87, 87, 87)
.addComponent(panel, javax.swing.GroupLayout.PREFERRED_SIZE, 394, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 178, Short.MAX_VALUE))
.addGap(0, 168, Short.MAX_VALUE))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jButton2)
@@ -157,14 +157,14 @@ public class TestingPanel extends Panel {
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(27, 27, 27)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(buttonExecute)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(buttonAbort)
.addGap(55, 55, 55)
.addComponent(check))
.addComponent(panel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addComponent(buttonAbort))
.addComponent(panel, javax.swing.GroupLayout.PREFERRED_SIZE, 137, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(32, 32, 32)
.addComponent(check)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
@@ -175,7 +175,7 @@ public class TestingPanel extends Panel {
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addComponent(jButton2)
.addGap(26, 26, 26)))
.addComponent(panelPlot, javax.swing.GroupLayout.DEFAULT_SIZE, 246, Short.MAX_VALUE))
.addComponent(panelPlot, javax.swing.GroupLayout.DEFAULT_SIZE, 193, Short.MAX_VALUE))
);
}// </editor-fold>//GEN-END:initComponents
@@ -238,6 +238,7 @@ public class TestingPanel extends Panel {
getApp().startTask(task);
try {
task.start(TaskRunMode.async);
} catch (Exception ex) {
SwingUtils.showException(NetbeansPluginPanel.this, ex);