| Author |
How to use AWT's Frame()???
|
achana chan
Ranch Hand
Joined: Jul 29, 2002
Posts: 277
|
|
Hi. I have been working on this piece of code for the whole afternoon and still get compilation error : ...cannot resolve symbol symbol constructor Frame (java.awt.Image) location class java.awt.Frame Frame frame = new Frame(thisCliPic); I am trying to create a frame and paint a picture in it. Can someone please advise ???  [ November 08, 2002: Message edited by: achana chan ]
|
humanum errare est.
|
 |
Marilyn de Queiroz
Sheriff
Joined: Jul 22, 2000
Posts: 9033
|
|
Frame constructors include: Frame() Frame(GraphicsConfiguration gc) Frame(String title) Frame(String title, GraphicsConfiguration gc) There is no Frame constructor like: Frame(Image thisCliPic) You need to use a Frame constructor from one of the four choices above.
|
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
|
 |
Dirk Schreckmann
Sheriff
Joined: Dec 10, 2001
Posts: 7023
|
|
|
Getting any ideas?
|
[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
|
 |
 |
|
|
subject: How to use AWT's Frame()???
|
|
|