|
|
@ -15,6 +15,7 @@ public class MeinGui extends JFrame { |
|
|
|
|
|
|
|
private JPanel contentPane; |
|
|
|
private JTextField text1; |
|
|
|
private JTextField text2; |
|
|
|
|
|
|
|
/** |
|
|
|
* Launch the application. |
|
|
@ -44,6 +45,11 @@ public class MeinGui extends JFrame { |
|
|
|
setContentPane(contentPane); |
|
|
|
contentPane.setLayout(null); |
|
|
|
|
|
|
|
JButton berechne = new JButton("Berechne"); |
|
|
|
berechne.setToolTipText(""); |
|
|
|
berechne.setBounds(10, 281, 110, 23); |
|
|
|
contentPane.add(berechne); |
|
|
|
|
|
|
|
JButton senden = new JButton("Senden"); |
|
|
|
senden.setBounds(10, 145, 110, 23); |
|
|
|
contentPane.add(senden); |
|
|
@ -53,12 +59,20 @@ public class MeinGui extends JFrame { |
|
|
|
contentPane.add(text1); |
|
|
|
text1.setColumns(10); |
|
|
|
|
|
|
|
JLabel budegetEingeben = new JLabel("Budget eingeben"); |
|
|
|
budegetEingeben.setFont(new Font("Estrangelo Edessa", Font.BOLD, 14)); |
|
|
|
budegetEingeben.setBounds(10, 80, 110, 20); |
|
|
|
contentPane.add(budegetEingeben); |
|
|
|
text2 = new JTextField(); |
|
|
|
text2.setBounds(10, 246, 171, 23); |
|
|
|
contentPane.add(text2); |
|
|
|
text2.setColumns(10); |
|
|
|
|
|
|
|
JLabel labelBudgetEingeben = new JLabel("Budget eingeben"); |
|
|
|
labelBudgetEingeben.setFont(new Font("Estrangelo Edessa", Font.BOLD, 14)); |
|
|
|
labelBudgetEingeben.setBounds(10, 80, 110, 20); |
|
|
|
contentPane.add(labelBudgetEingeben); |
|
|
|
|
|
|
|
JLabel labelBudgetAusgeben = new JLabel("Ausgaben"); |
|
|
|
labelBudgetAusgeben.setFont(new Font("Estrangelo Edessa", Font.BOLD, 14)); |
|
|
|
labelBudgetAusgeben.setBounds(10, 221, 63, 14); |
|
|
|
contentPane.add(labelBudgetAusgeben); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|