Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Does anyone know whether it's possible to create a graphics object w/ a GIF file? For a school project I have to create the Solitaire game, and I've been given simplified code for the GUI to start off. In one of the classes (the one that handles the card components), there's a method called paintComponent. It's signature and JavaDoc is:
In the Solitaire class (which deals w/ the game logic), I shuffle a deck and I want to call paintComponent to paint the GIF file associated with each unique card. Thnx in advance. Hiran Replies:
|
Sponsored Links
|