beelzibub @ bawston school for idiots wrote:
public static void main(String[] args){
JSpinner hour = new JSpinner();
JSpinner minute = new JSpinner();
JSpinner second = new JSpinner();
boolean set;
set = true;
String st = " Starting ...";
String theTime = " ";
String theAlarm = " ";
Thread t = new Thread();
t.start();
try{
for (;;) {
addToBox(doTime(st));
//setAlarm(hour, minute, second);
showit(hour, minute, second);
soundAlarm(hour, hour);
Thread.sleep(1000);
}
}catch (Exception e){}
}
}
I am curious - why do you start a Thread that ends almost immediately?
Thread t = new Thread();
t.start();
And why have you not responded to my previous comments on this matter?
I am also curious - why have you continued to ignore several people's
advice not to ignore the Exception?
Please answer these three questions.