Commit 3dc2c4de authored by James's avatar James

- resizing main frame stretches tabbed pane instead of empty panel

parent 82509834
......@@ -36,10 +36,10 @@ v0.3
- persist recent run with embedded derby db
- remove "transfer mark number" from graph
- changed graph background to dark gray
- resizing main frame stretches tabbed pane instead of empty panel
desired features
- resizing main frame stretches tabbed pane instead of empty panel
- hard drive specs, ie. manufacturer, size, speed
- auto clear disk cache linux
- auto clear disk cache windows
......
......@@ -156,7 +156,6 @@
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jPanel2" max="32767" attributes="0"/>
<Component id="jSeparator2" alignment="0" max="32767" attributes="0"/>
<Component id="progressPanel" alignment="1" max="32767" attributes="0"/>
<Component id="tabbedPane" alignment="0" max="32767" attributes="0"/>
</Group>
......@@ -166,10 +165,8 @@
<Group type="102" alignment="0" attributes="0">
<Component id="jPanel2" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="tabbedPane" min="-2" pref="195" max="-2" attributes="0"/>
<Component id="tabbedPane" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="jSeparator2" min="-2" pref="0" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="1" max="-2" attributes="0"/>
<Component id="progressPanel" min="-2" max="-2" attributes="0"/>
</Group>
</Group>
......@@ -658,7 +655,7 @@
<Component id="openLocButton" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jLabel15" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace pref="131" max="32767" attributes="0"/>
<EmptySpace pref="140" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
......@@ -694,8 +691,6 @@
</Container>
</SubComponents>
</Container>
<Component class="javax.swing.JSeparator" name="jSeparator2">
</Component>
<Container class="javax.swing.JPanel" name="progressPanel">
<Layout>
......@@ -703,8 +698,8 @@
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="1" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Component id="jLabel7" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="jLabel7" min="-2" pref="69" max="-2" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="totalTxProgBar" max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
......
......@@ -126,7 +126,6 @@ public final class MainFrame extends javax.swing.JFrame {
locationText = new javax.swing.JTextField();
openLocButton = new javax.swing.JButton();
jLabel15 = new javax.swing.JLabel();
jSeparator2 = new javax.swing.JSeparator();
progressPanel = new javax.swing.JPanel();
jLabel7 = new javax.swing.JLabel();
totalTxProgBar = new javax.swing.JProgressBar();
......@@ -441,7 +440,7 @@ public final class MainFrame extends javax.swing.JFrame {
.addComponent(chooseButton)
.addComponent(openLocButton)
.addComponent(jLabel15))
.addContainerGap(131, Short.MAX_VALUE))
.addContainerGap(140, Short.MAX_VALUE))
);
tabbedPane.addTab("Data Location", locationPanel);
......@@ -455,8 +454,8 @@ public final class MainFrame extends javax.swing.JFrame {
progressPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, progressPanelLayout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel7)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 69, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(totalTxProgBar, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addContainerGap())
);
......@@ -583,7 +582,6 @@ public final class MainFrame extends javax.swing.JFrame {
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jSeparator2)
.addComponent(progressPanel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(tabbedPane)
);
......@@ -592,10 +590,8 @@ public final class MainFrame extends javax.swing.JFrame {
.addGroup(layout.createSequentialGroup()
.addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(tabbedPane, javax.swing.GroupLayout.PREFERRED_SIZE, 195, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(tabbedPane)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, 0, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(1, 1, 1)
.addComponent(progressPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
);
......@@ -745,7 +741,6 @@ public final class MainFrame extends javax.swing.JFrame {
private javax.swing.JMenuItem jMenuItem2;
private javax.swing.JPanel jPanel2;
private javax.swing.JPopupMenu.Separator jSeparator1;
private javax.swing.JSeparator jSeparator2;
private javax.swing.JPanel locationPanel;
private javax.swing.JTextField locationText;
private javax.swing.JComboBox modeCombo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment