Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

scrollbar and image  RSS feed

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

i have a class who extend a jframe



jscrollpane work for lst_file but it don't work for tiff...

any idea to resolve this problem?
[ May 30, 2006: Message edited by: mark smith ]
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why define a custom component? JLabel+ImageIcon works for me:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!