You declare int clicked inside the action performed method, so you get a new clicked variable (initialised to 0) every time the method is called.
If you move the declaration to just outside the method then it will be an instance variable that keeps its value between calls to jButton1ActionPerformed
No it won't. This is Java. Declaring clicked global will simply create a compiler error. Please don't confuse Java beginners by using non-Java terminology and giving advice that they can't follow, and wouldn't work even if they did.
ps: DaniWeb Member Rules include: "Do post in full-sentence English". Members with English as their second (or third...) language won't uinderstand "ur".
Yes, I understood that was what you meant. (The same solution as detailed in my first post!). I commented because you cannot assume that a beginner will understand your use of the non-Java word "global", that's all.