• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem to display image  RSS feed

 
mark smith
Ranch Hand
Posts: 258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi


i try try to display an image on a panel


another class who extend a jframe add xxx
....
tmp_tiff = new TiffScrollPanel();
scroll = new JScrollPane(tmp_tiff);
mainPanel.add(tmp_tiff,BorderLayout.CENTER);
.....

nothing is displayed, and i don't have any error....

any idea?

thanks
 
Henry Lowell
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a SwingFaq entry on how to achieve this. It might help. Also, I believe these types of questions should be posted in the Swing forum.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!