I am developing an online quiz applet, although I do not have much experience with applets. I have developed the internal workings of the program, and am about to start on the GUI. I have a few questions before I get started, so that I don't make a total mess out of things:
1. I have the design worked out on paper, complete with pixel measurements. How do I tell the applet to position an image at a specific (x, y) coordinate? The same goes for buttons and labels.
2. I need a timer to clock the quiz, giving the user 10 minutes to complete it. I know that this must be done using threads, but how do I create one? The thread must count down ten minutes, and update a label with the remaining time.
3. Is there a simple way, once I've added a button to my applet to either remove it or hide it from the user? Something like button.remove( ) or button.setVisible(false)?
Those are my basic questions for now. Any help is greatly appreciated.
If you have enough memory, you won't have enough disk space.