Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

A problem About Frame

  Asked By: Elliott    Date: Jul 24    Category: Java    Views: 620
  

I Need in my applet add an image on the Frame I make a new class
Extenes to the Frame And in init() method try to load an image by
using getImage(getCodeBase(),filename); then in paint() method draw
this image on my frame
but getCodeBase unknown and make problem;
I try import java.Applet.*; or extend my class to Applet but not
helpfull.

I need help for drawing an image on my Frame .please help me or send
me an example is possible

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on A problem About Frame Or get search suggestion and latest updates.




Tagged: