• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hi, Image

 
Deepak Gurav
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to open a image in Panel using border layout. The problem is that i am not able to add a scrollpane to it. I tried many different ways. It would be nice if you help me with it. Would you please provide code.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

We've got a whole forum devoted to GUI programming here. This question fits better in that forum, so I'm going to move it there for you. Go on over and find it!
 
Joni Salonen
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you read sun's tutorial on scroll panes? there's an example of using an image with a scroll pane...
http://java.sun.com/docs/books/tutorial/uiswing/components/scrollpane.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic