• Post Reply Bookmark Topic Watch Topic
  • New Topic

Playing Cards

 
Lesole Mphinyane
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys how do you draw cards in java using applets?....
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you already have the card images then draw the image in your overridden paint method:

If you want to make playing cards you can look for some images to use on the internet, or make up some images with graphics or find and use a playing cards font to make up a set of images. You can store the images in an array for use in your applet.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!