Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

canvas graphics help

Status
Not open for further replies.

clax99

Programmer
Oct 29, 2001
23
US
I am writing a class that encapsulates a playing card's information, and displays its visuals. I want to show these cards in a spread onscreen, and i need to know how to arbitrarily place these card objects onscreen. The Card class displays the whole card on its canvas, but to do the spread I dont want to show the whole card, just the left side(except for the most right card, where the whole card will show). I need to know how to place all the Card canvases basically on top of each other, except for the left side, in order to make the spread. I'm also wondering if I'll need to do logical merging of these Graphics objects in order to display the spread? Any help would be greatly appreciated.

 
hi,
Maybe using the Layout management may help.

BorderLayout,GridLayout,GridBagLayout,Flowlayout(default anyway),ect.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top