Browse Source

Commit_4 Gui Erweiterung

Eduard1
Adah Boukhari 5 years ago
parent
commit
4217339e71
  1. BIN
      Budget Projekt/bin/MeinBudgetView/MeinGui$1.class
  2. BIN
      Budget Projekt/bin/MeinBudgetView/MeinGui.class
  3. 37
      Budget Projekt/src/MeinBudgetView/MeinGui.java

BIN
Budget Projekt/bin/MeinBudgetView/MeinGui$1.class

BIN
Budget Projekt/bin/MeinBudgetView/MeinGui.class

37
Budget Projekt/src/MeinBudgetView/MeinGui.java

@ -6,6 +6,9 @@ import javax.swing.JFrame;
import javax.swing.JPanel; import javax.swing.JPanel;
import javax.swing.border.EmptyBorder; import javax.swing.border.EmptyBorder;
import javax.swing.JTextField; import javax.swing.JTextField;
import java.awt.Image;
import javax.swing.ImageIcon;
import javax.swing.JButton; import javax.swing.JButton;
import javax.swing.JLabel; import javax.swing.JLabel;
import java.awt.Font; import java.awt.Font;
@ -15,6 +18,7 @@ public class MeinGui extends JFrame {
private JPanel contentPane; private JPanel contentPane;
private JTextField text1; private JTextField text1;
private JTextField text2; private JTextField text2;
JLabel lblNewLabel;
/** /**
* Launch the application. * Launch the application.
@ -63,10 +67,18 @@ public class MeinGui extends JFrame {
contentPane.add(text2); contentPane.add(text2);
text2.setColumns(10); 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);
lblNewLabel = new JLabel("");
Image image0 = new ImageIcon(this.getClass().getResource("/budgetapp.png")).getImage();
lblNewLabel.setIcon(new ImageIcon(image0));
lblNewLabel.setFont(new Font("Tahoma", Font.BOLD, 13));
lblNewLabel.setBounds(10, 8, 86, 61);
contentPane.add(lblNewLabel);
JLabel budgetEingeben = new JLabel("Budget eingeben");
budgetEingeben.setFont(new Font("Estrangelo Edessa", Font.BOLD, 14));
budgetEingeben.setBounds(10, 80, 110, 20);
contentPane.add(budgetEingeben);
JLabel budget = new JLabel("Budget"); JLabel budget = new JLabel("Budget");
budget.setBounds(352, 39, 46, 14); budget.setBounds(352, 39, 46, 14);
@ -80,15 +92,16 @@ public class MeinGui extends JFrame {
balance.setBounds(543, 39, 46, 14); balance.setBounds(543, 39, 46, 14);
contentPane.add(balance); contentPane.add(balance);
JLabel labelBudgetAusgeben = new JLabel("Ausgaben");
labelBudgetAusgeben.setFont(new Font("Estrangelo Edessa", Font.BOLD, 14));
labelBudgetAusgeben.setBounds(10, 221, 63, 14);
contentPane.add(labelBudgetAusgeben);
JLabel EntraegeLeeren = new JLabel("Eintr\u00E4ge leeren");
EntraegeLeeren.setFont(new Font("Estrangelo Edessa", Font.BOLD, 14));
EntraegeLeeren.setBounds(432, 221, 115, 14);
contentPane.add(EntraegeLeeren);
JLabel budgetAusgeben = new JLabel("Ausgaben");
budgetAusgeben.setFont(new Font("Estrangelo Edessa", Font.BOLD, 14));
budgetAusgeben.setBounds(10, 221, 63, 14);
contentPane.add(budgetAusgeben);
JLabel eintraegeLeeren = new JLabel("Eintr\u00E4ge leeren");
eintraegeLeeren.setFont(new Font("Estrangelo Edessa", Font.BOLD, 14));
eintraegeLeeren.setBounds(432, 221, 115, 14);
contentPane.add(eintraegeLeeren);
JButton loeschen = new JButton("L\u00F6schen"); JButton loeschen = new JButton("L\u00F6schen");
loeschen.setBounds(442, 239, 89, 30); loeschen.setBounds(442, 239, 89, 30);

Loading…
Cancel
Save