This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
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.
Joined: Mar 27, 2012
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.