Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

trying to load the image in a JPanel

  Asked By: Egidius    Date: Nov 07    Category: Java    Views: 681
  

First of all, you can only paint on a Canvas object.
Secondly if you did have a canvas object, you must
have a public void paint(Graphics g) instead of public
void paintComponent ( Graphics g ).

Share: 

 

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

 
Didn't find what you were looking for? Find more on trying to load the image in a JPanel Or get search suggestion and latest updates.




Tagged: