Tweaked layout.

This commit is contained in:
StevenLawson 2014-08-17 17:33:13 -04:00
parent ea2c171744
commit 9dd733ad83
2 changed files with 12 additions and 10 deletions

View file

@ -25,18 +25,18 @@
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" max="-2" attributes="0"/>
<EmptySpace min="0" pref="0" max="-2" attributes="0"/>
<Component id="splitPane" max="32767" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
<EmptySpace min="0" pref="0" max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" max="-2" attributes="0"/>
<EmptySpace min="0" pref="0" max="-2" attributes="0"/>
<Component id="splitPane" max="32767" attributes="0"/>
<EmptySpace min="-2" max="-2" attributes="0"/>
<EmptySpace min="0" pref="0" max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@ -125,7 +125,7 @@
<Properties>
<Property name="editable" type="boolean" value="false"/>
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
<Font name="Courier New" size="11" style="0"/>
<Font name="Courier New" size="12" style="0"/>
</Property>
</Properties>
</Component>

View file

@ -79,6 +79,8 @@ public class BTC_MainPanel extends javax.swing.JFrame
this.connectionManager.updateTitle(false);
this.tblPlayers.getRowSorter().toggleSortOrder(0);
this.setLocationRelativeTo(null);
this.setVisible(true);
}
@ -531,7 +533,7 @@ public class BTC_MainPanel extends javax.swing.JFrame
splitPane.setResizeWeight(1.0);
mainOutput.setEditable(false);
mainOutput.setFont(new java.awt.Font("Courier New", 0, 11)); // NOI18N
mainOutput.setFont(new java.awt.Font("Courier New", 0, 12)); // NOI18N
mainOutputScoll.setViewportView(mainOutput);
btnDisconnect.setText("Disconnect");
@ -741,16 +743,16 @@ public class BTC_MainPanel extends javax.swing.JFrame
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGap(0, 0, 0)
.addComponent(splitPane)
.addContainerGap())
.addGap(0, 0, 0))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGap(0, 0, 0)
.addComponent(splitPane)
.addContainerGap())
.addGap(0, 0, 0))
);
pack();