CI 2019 von Daniel, Eugen und Michael
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
834 B

import javax.swing.*;
public class Main {
//Variablen GUI
JFrame fr = null;
JMenuBar jmb = null;
JMenu jm = null;
JPanel contantPane = null;
JLabel label = null;
//Konstruktor Gui
public Main(){
this.fr = new JFrame("Coutinius Integration");
this.fr.setSize(666,900);
this.jmb = new JMenuBar();
this.fr.setJMenuBar(jmb);
this.jm = new JMenu("File");
this.jmb.add(jm);
this.contantPane = new JPanel();
fr.setContentPane(contantPane);
contantPane.add(new JLabel("Beispiel JLabel"));
// Wir lassen unseren Frame anzeigen
contantPane.setVisible(true);
fr.setVisible(true);
}
public static void main(String[] args) {
System.out.println("Hello World!");
Main mn = new Main();
}
}