commit 5161542c5835ca4e41bed27f27ff0ffecaa3b9a4
parent 3c1867740b17f7b7571924b00fabf5c7814dd6dd
Author: Michael Neuper <michael@michaelneuper.com>
Date: Thu, 11 May 2023 21:03:43 +0200
Update MainUI
Diffstat:
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/view/MainUI.form b/src/view/MainUI.form
@@ -46,9 +46,9 @@
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="1" attributes="0">
- <EmptySpace min="-2" pref="41" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="54" max="-2" attributes="0"/>
<Component id="jButton1" min="-2" max="-2" attributes="0"/>
- <EmptySpace pref="323" max="32767" attributes="0"/>
+ <EmptySpace pref="310" max="32767" attributes="0"/>
<Component id="jLabelResult" min="-2" pref="300" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="260" max="-2" attributes="0"/>
</Group>
@@ -58,12 +58,12 @@
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="0" attributes="0">
+ <Group type="102" attributes="0">
<EmptySpace min="-2" pref="19" max="-2" attributes="0"/>
<Component id="jLabelResult" min="-2" pref="50" max="-2" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
- <EmptySpace min="-2" pref="30" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="32" max="-2" attributes="0"/>
<Component id="jButton1" min="-2" max="-2" attributes="0"/>
</Group>
</Group>
diff --git a/src/view/MainUI.java b/src/view/MainUI.java
@@ -89,9 +89,9 @@ public class MainUI extends javax.swing.JFrame {
jPanelNorthLayout.setHorizontalGroup(
jPanelNorthLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanelNorthLayout.createSequentialGroup()
- .addGap(41, 41, 41)
+ .addGap(54, 54, 54)
.addComponent(jButton1)
- .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 323, Short.MAX_VALUE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 310, Short.MAX_VALUE)
.addComponent(jLabelResult, javax.swing.GroupLayout.PREFERRED_SIZE, 300, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(260, 260, 260))
);
@@ -103,7 +103,7 @@ public class MainUI extends javax.swing.JFrame {
.addGap(19, 19, 19)
.addComponent(jLabelResult, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jPanelNorthLayout.createSequentialGroup()
- .addGap(30, 30, 30)
+ .addGap(32, 32, 32)
.addComponent(jButton1)))
.addContainerGap(31, Short.MAX_VALUE))
);
@@ -439,7 +439,7 @@ public class MainUI extends javax.swing.JFrame {
}//GEN-LAST:event_jButtonChangeBetActionPerformed
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
- // TODO add your handling code here:
+ new MenuUI().setVisible(true);
}//GEN-LAST:event_jButton1ActionPerformed
/**