Hello

I'm new to Java. I wanted to make a card game in which i want to overlap those cards. I just want to know how to overlap cards, like "solitaire" or "hearts" card games. Kindly help...
I'll be grateful.

Hello

I'm new to Java. I wanted to make a card game in which i want to overlap those cards. I just want to know how to overlap cards, like "solitaire" or "hearts" card games. Kindly help...
I'll be grateful.

Use JLayeredPane.
http://www.google.com.tr/url?sa=t&source=web&ct=res&cd=1&ved=0CAkQFjAA&url=http%3A%2F%2Fjava.sun.com%2Fdocs%2Fbooks%2Ftutorial%2Fuiswing%2Fcomponents%2Flayeredpane.html&ei=K4kCS829DMOe_gbh29VJ&usg=AFQjCNEn18WWpxHFjHHjkfwPAvAfniIX3A&sig2=6ZNS55mW-hmf_5aNY3Sdiw

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.