Browse Source

Commit_40 MyMain Klasse angelegt

Mohamed
Adah Boukhari 5 years ago
parent
commit
7b3eeaaa6b
  1. BIN
      Budget Projekt/bin/MeinBudgetView/LoginFrame$1.class
  2. BIN
      Budget Projekt/bin/MeinBudgetView/LoginFrame.class
  3. BIN
      Budget Projekt/bin/MeinBudgetView/MeinGui$1.class
  4. BIN
      Budget Projekt/bin/MeinBudgetView/MeinGui$2.class
  5. BIN
      Budget Projekt/bin/MeinBudgetView/MeinGui.class
  6. BIN
      Budget Projekt/bin/MeinBudgetView/MyMain.class
  7. 20
      Budget Projekt/src/MeinBudgetView/LoginFrame.java
  8. 18
      Budget Projekt/src/MeinBudgetView/MeinGui.java
  9. 10
      Budget Projekt/src/MeinBudgetView/MyMain.java

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

BIN
Budget Projekt/bin/MeinBudgetView/LoginFrame.class

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

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

BIN
Budget Projekt/bin/MeinBudgetView/MeinGui.class

BIN
Budget Projekt/bin/MeinBudgetView/MyMain.class

20
Budget Projekt/src/MeinBudgetView/LoginFrame.java

@ -26,26 +26,6 @@ public class LoginFrame extends JFrame implements ActionListener {
public static JTextField benutzername; public static JTextField benutzername;
public JButton anmelden; public JButton anmelden;
/**
* Launch the application.
*/
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
LoginFrame frame = new LoginFrame();
frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
/**
* Create the frame.
*/
public LoginFrame() { public LoginFrame() {
setTitle("Anmelden"); setTitle("Anmelden");
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

18
Budget Projekt/src/MeinBudgetView/MeinGui.java

@ -55,25 +55,7 @@ public class MeinGui extends JFrame implements ActionListener {
private static JLabel budgetBetrag; private static JLabel budgetBetrag;
private static JTable myTable; private static JTable myTable;
/**
* Launch the application.
*/
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
MeinGui frame = new MeinGui();
frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
/**
* Create the frame.
*/
public MeinGui() { public MeinGui() {
setTitle("Budget"); setTitle("Budget");
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

10
Budget Projekt/src/MeinBudgetView/MyMain.java

@ -0,0 +1,10 @@
package MeinBudgetView;
public class MyMain {
public static void main(String[] args) {
LoginFrame myFrame = new LoginFrame();
myFrame.setVisible(true);
}
}
Loading…
Cancel
Save