File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes hi, Image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "hi, Image" Watch "hi, Image" New topic

hi, Image

Deepak Gurav

Joined: Jan 08, 2006
Posts: 1
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

Joined: Jul 08, 2003
Posts: 24199


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!

[Jess in Action][AskingGoodQuestions]
Joni Salonen
Ranch Hand

Joined: Jan 07, 2006
Posts: 53
Did you read sun's tutorial on scroll panes? there's an example of using an image with a scroll pane...
I agree. Here's the link:
subject: hi, Image
It's not a secret anymore!