This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Applets and the fly likes JApplet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "JApplet" Watch "JApplet" New topic


Dean Kiely

Joined: Feb 27, 2004
Posts: 23
Hi I have a main JPanel with 5 JPanels on this 'main' jpanel i want one panel to control the rest as it is a game and i need one manager panel. I am trying to use the paintcomponent to try and draw onto each panel but i am only getting a small box appearing, what is the problem here does anyone know?
Is it possible to create a class for 3 jpanels i need to draw stuff on then create an instance of these classes and add to relevant jpanel to run the code and display the paintcomponents?
Hope this all makes sense!
Many thanks.
Korol Bloom
Ranch Hand

Joined: Jan 13, 2004
Posts: 33
do you have some code?
, korol
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
I agree. Here's the link:
subject: JApplet
Similar Threads
more tabbedpane - panel questions
Linking two JPanels with a JButton
Little advice on JPanels in JFrame
JPanels and Canvases