Hello people!
I am working a little with JAVA programming. And I have a couple of assignments left. When they're both done, I graduate! :) However, I'm not fully familiar with threads. So I don't know how to solve these problems. I thought that perhaps someone could lead me in to a good direction of how to solve them, or similar. I just want to get this thing done.
I have seen a couple of examples of how to create Threads - by implementing Runnable and by making it extends Thread object.
But I still can't figure it out the nr 2 (and on) in the assignment. The SecTimer class looks like it could be a thread - but it said in instrunctions I should make a new class for threads.
So... I'm just lost in these... threads. I just can't make the time show properly - or at all. Perhaps there's some knowledge in coding I am yet to understand - perhaps it's just something simple. Or perhaps I just nested myself into thinking too much about it. Whatever it is - please help. I greately appriciate it! :)
Here's the assignment:
http://pastebin.com/mfc24d76
Here are the classes:
SecTimer class
http://pastebin.com/m25087995
SimpleTimer
http://pastebin.com/m5025d0e6
TimerGui
http://pastebin.com/m377c7065