But if im not extending anything what am i adding tha panel to? What is the alternate code to add the panel if im not extending anything? Would it make sense to at least extend JFrame? The only...
Type: Posts; User: iMofro
But if im not extending anything what am i adding tha panel to? What is the alternate code to add the panel if im not extending anything? Would it make sense to at least extend JFrame? The only...
Iv tried extending JFrame but it always screws up the timer. As far as im aware of, code "this.add (p)" should add the panel to the frame shouldnt it? What would you recommend I alter to the code?
Okay I have a new update. I have a timer working but now the game itself is not showing. All the buttons and labels I am attempting to add are not showing. Here is my code:
import javax.swing.*;...
Basically the intention of this timer is to make a game where you click the button however many times you can within 15 seconds, after the 15 seconds the button is supposed to disappear. Could you...
Well I preferred the util timer mostly because i figured it would be easier for me to comprehend, but if you say the swing timer is more efficient and easier to use than i suppose that would be...
Hello! I'd like to start off with saying I am a real beginner with JAVA. I am creating a mouse-click game where you need to click the button as many times as you can within 15 seconds. I have the...