daniel87dec
Technical User
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.
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.