File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "hi, Image" Watch "hi, Image" New topic
Author

hi, Image

Deepak Gurav
Greenhorn

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

Joined: Jul 08, 2003
Posts: 24187
    
  34

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!


[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...
http://java.sun.com/docs/books/tutorial/uiswing/components/scrollpane.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: hi, Image