public myWindow(String myTitle)
{
super(myTitle);
setLayout(null);
lachen.setBounds(100,100,125,25);
setSize(640,480);
add (lachen);
lachen.addActionListener(this);
}
krijg de volgende foutmelding:
D:\MyWindowVincent.java:24: invalid method declaration; return type required
public myWindow(String myTitle)
^
1 error
Bewerking afgesloten het fout-code 1
Wat is er fout???
{
super(myTitle);
setLayout(null);
lachen.setBounds(100,100,125,25);
setSize(640,480);
add (lachen);
lachen.addActionListener(this);
}
krijg de volgende foutmelding:
D:\MyWindowVincent.java:24: invalid method declaration; return type required
public myWindow(String myTitle)
^
1 error
Bewerking afgesloten het fout-code 1
Wat is er fout???