Hi an alle!
Ich bion ganz neu hir im Forum und hab ein problem.
Ich fang gerde erst an mit java und da hab ich mir so ein buch beschaf:rtfm: und soll da so ein kleines Programm schreiben das sich aber bei mir nicht kompilieren läst???:L???:L???:L
[highlight]Bitte um scnelle hilfe!!![/highlight]
Ich bion ganz neu hir im Forum und hab ein problem.
Ich fang gerde erst an mit java und da hab ich mir so ein buch beschaf:rtfm: und soll da so ein kleines Programm schreiben das sich aber bei mir nicht kompilieren läst???:L???:L???:L
Java:
import java.awt.*;
import java.awt.event.*;
class Party {
public void erstelleEinladung() {
Frame f = new Frame();
Label l = new Label("Party bei Moritz");
Button b = new Button("Sicher doch");
Button c = new Button("Ohne mich");
Panel p = new Panel();
p.add(l);
}
}
[highlight]Bitte um scnelle hilfe!!![/highlight]
Zuletzt bearbeitet: