Browse Source

Commit_6 Gui Erweiterung

Eduard1
Adah Boukhari 5 years ago
parent
commit
049f196af9
  1. BIN
      Budget Projekt/bin/MeinBudgetView/MeinGui$1.class
  2. BIN
      Budget Projekt/bin/MeinBudgetView/MeinGui$2.class
  3. BIN
      Budget Projekt/bin/MeinBudgetView/MeinGui.class
  4. 66
      Budget Projekt/src/MeinBudgetView/MeinGui.java

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

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

BIN
Budget Projekt/bin/MeinBudgetView/MeinGui.class

66
Budget Projekt/src/MeinBudgetView/MeinGui.java

@ -12,17 +12,16 @@ import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
public class MeinGui extends JFrame {
private JPanel contentPane;
private JTextField text1;
private JTextField text2;
JLabel lblNewLabel_6;
JLabel lblNewLabel_7;
JLabel lblNewLabel;
JLabel labelBudgetImage;
JLabel labelExpensesImage;
JLabel labelBalancetImage;
JLabel labelHauptImage;
/**
* Launch the application.
@ -58,10 +57,6 @@ public class MeinGui extends JFrame {
contentPane.add(berechne);
JButton senden = new JButton("Senden");
senden.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
}
});
senden.setBounds(10, 145, 110, 23);
contentPane.add(senden);
@ -75,45 +70,51 @@ public class MeinGui extends JFrame {
contentPane.add(text2);
text2.setColumns(10);
lblNewLabel = new JLabel("");
labelHauptImage = new JLabel("");
Image image0 = new ImageIcon(this.getClass().getResource("/budgetapp.png")).getImage();
lblNewLabel.setIcon(new ImageIcon(image0));
labelHauptImage.setIcon(new ImageIcon(image0));
lblNewLabel.setFont(new Font("Tahoma", Font.BOLD, 13));
lblNewLabel.setBounds(10, 8, 86, 61);
contentPane.add(lblNewLabel);
labelHauptImage.setFont(new Font("Tahoma", Font.BOLD, 13));
labelHauptImage.setBounds(10, 8, 86, 61);
contentPane.add(labelHauptImage);
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");
budget.setBounds(352, 39, 46, 14);
contentPane.add(budget);
JLabel labelBudget = new JLabel("Budget");
labelBudget.setBounds(352, 39, 46, 14);
contentPane.add(labelBudget);
JLabel labelExpenses = new JLabel("Expenses");
labelExpenses.setBounds(440, 39, 56, 14);
contentPane.add(labelExpenses);
JLabel expenses = new JLabel("Expenses");
expenses.setBounds(440, 39, 56, 14);
contentPane.add(expenses);
JLabel labelBalance = new JLabel("Balance");
labelBalance.setBounds(543, 39, 46, 14);
contentPane.add(labelBalance);
JLabel balance = new JLabel("Balance");
balance.setBounds(543, 39, 46, 14);
contentPane.add(balance);
labelBudgetImage = new JLabel("");
Image image1 = new ImageIcon(this.getClass().getResource("/money.png")).getImage();
labelBudgetImage.setIcon(new ImageIcon(image1));
lblNewLabel_6 = new JLabel("");
labelBudgetImage.setBounds(352, 59, 46, 55);
contentPane.add(labelBudgetImage);
labelExpensesImage = new JLabel("");
Image image2 = new ImageIcon(this.getClass().getResource("/wings-icon.png")).getImage();
lblNewLabel_6.setIcon(new ImageIcon(image2));
labelExpensesImage.setIcon(new ImageIcon(image2));
lblNewLabel_6.setBounds(450, 59, 46, 55);
contentPane.add(lblNewLabel_6);
labelExpensesImage.setBounds(450, 59, 46, 55);
contentPane.add(labelExpensesImage);
lblNewLabel_7 = new JLabel("New labelBalance");
labelBalancetImage = new JLabel("New labelBalance");
Image image3 = new ImageIcon(this.getClass().getResource("/Money-icon.png")).getImage();
lblNewLabel_7.setIcon(new ImageIcon(image3));
labelBalancetImage.setIcon(new ImageIcon(image3));
lblNewLabel_7.setBounds(553, 59, 34, 55);
contentPane.add(lblNewLabel_7);
labelBalancetImage.setBounds(553, 59, 34, 55);
contentPane.add(labelBalancetImage);
JLabel budgetAusgeben = new JLabel("Ausgaben");
budgetAusgeben.setFont(new Font("Estrangelo Edessa", Font.BOLD, 14));
@ -129,9 +130,6 @@ public class MeinGui extends JFrame {
loeschen.setBounds(442, 239, 89, 30);
contentPane.add(loeschen);
JButton j1 = new JButton();
}
}
Loading…
Cancel
Save