Hi, I'm doing a word search game. I'm just starting to learning java so it might be a stupid mistake. My problem is that I can't get the PaintComponent to work even though I already tried every possible thing that I know. Please help me! Where should I put paintComponent?
I made my code like this still doesn't work. In creating a Jpanel instance does it mean that I have to put JPanel panel = new Jpanel("") etc? Sorry my mind doesn't really work well now.
posted 8 years ago
i see the problem now. I think i should do something to this part but I'm not sure what. When I removed this part of the code the Jpanel with the text appeared. Can you give me a hint? I tried reading several sources but I still can't figure it out.
Hey! You're stepping on my hand! Help me tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop