This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Java in General and the fly likes JPanels and Canvases Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JPanels and Canvases" Watch "JPanels and Canvases" New topic

JPanels and Canvases

Dean Kiely

Joined: Feb 27, 2004
Posts: 23
Hey, my question is, i had one main canvas to display playing cards and text at the bottom of the canvas. Now i have created one main JPanel containing 3 JPanels (dealer, player1 and player2) i want to draw the cards now onto each respective jpanels and have the text messages to appear in th respective jpanels. Do i create 3 seperate canvases or how do i do this?
I agree. Here's the link:
subject: JPanels and Canvases
Similar Threads
Getting System.gc() to run....
Looking for layout advice
text in canvas
problem in refreshing JPanels in cardlayout