Witam
co oznacza Warning wygenerowany przez Eclipsa (i przez niego skreslony :/ ) :
The method "nazwa" from the type "nazwa" is deprecated
(pojawia sie tam gdzie zaznaczylem $)
KOD:
stopButton.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent ex){
$ if(stopButton.getLabel() ==("STOP")){
$ startThread.suspend();
$ stopButton.setLabel("RESUME");
}
else{
$ startThread.resume();
$ stopButton.setLabel("STOP");
}
}
kod dziala tak jak myslalem jednak te warningi mnie niepokoja...
czolem
Oberon