This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Aparently I have been doing text-based java for a bit too long and im rusty on the GUI side, im making a really simple archery game with the target on the top of the window and the shots, score and restart button on the bottom. I have the target done fine but I just cant remeber how to atucally add labels and buttons :S. Below is my code so far:
I feel like a complete idiot because I just cant remember what to do, i know it has something to do with creating a panel but other than that im lost, any help would be greatly apreciated. [ November 04, 2004: Message edited by: Peter Shipway ]
[ November 04, 2004: Message edited by: Jeff Bosch ]
Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
Joined: Mar 25, 2004
Thanks for that, I have another problem now however How do i add the Content pane to the atucal window? As i dont think its possible to add the shapes to a content pane (or not the way im doing it) here is my new code: