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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Picture

Status
Not open for further replies.

daniel87dec

Technical User
Joined
Jan 7, 2004
Messages
9
Location
CA
Hi.
Could somebody please tell me how to insert a picture into a Frame. (preferably not swing.) I tried working with Images, but I got the following error:

cannot resolve symbol
symbol : method getCodeBase ()
location: class Card
img = getImage(getCodeBase), "deckOfCards.GIF");

Also, how do I display just a part of a picture?

Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top