then can you at least give me the answer to my third question??
Type: Posts; User: tloz
then can you at least give me the answer to my third question??
Ive been programming for about a couple of months now. All self taught. I'd probably consider myself as an intermediate/advanced Java programmer. But I still have some questions that I seem to never...
Thanks. I added this to the paintComponent method:
g.drawString(String.valueOf(score), 25, 25);
It now does it automatically, thanks for your help. I was trying to figure out what was the...
I was thinking of writing this in the mouseClicked method:
public void mouseClicked(MouseEvent ee) {
if (posx == permanentposx && posy == permanentposy) {
score++;
...
I need the mouselistener to increment the score by 1 everytime the user clicks on the screen when the small circle is in the center of the big circle
I can compile it perfectly, Im getting no errors. Let me try and copy and paste it again:
GUI
import java.awt.Color;
import java.awt.Graphics;
import java.awt.event.ActionEvent;
import...
There is no error bugs or anything, I need help writing the mouselistener codes.
Ive edited the source code, ive added the import codes.
Oh yeah, I forgot to copy and past the import codes but they are in my class.
Everything works fine BUT I dont know how to make the GUI realize that user gains 1 point when the user clicks when the...
Hi guys, im new to GUI in Java and to this website. Ive self taught myself Java so far, I would consider myself knowing the basics of Java and I am ready to learn more advanced things in java.
Im...
Hey guys, ive been coding using Java for a couple of months now. My main aim is to create an android app. Ive self taught myself so far but thinking of taking up courses on networking since thats...