FensterTyp fenster = new FensterTyp();
fenster.setVisible(true);
L-ectron-X hat gesagt.:MessageBox? Sprechen wir doch eine gemeinsame Sprache! Ein MessageBox-Objekt gibt in Java nicht.
Ich bin auch schon VB-geschädigt (Asche auf mein Haupt!).
MessageBox("Hallo!","Hallo!");
alert("Hallo!","Hallo!");
JOptionPane.showMessageDialog(this, "Message", "Title", JOptionPane.INFORMATION_MESSAGE);