It's not a secret anymore!*
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 Android Security Essentials Live Lessons this week in the Android 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: 24183
    
  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
 
Similar Threads
Storing large image files
How can I reduce the image size of a PNG file
Matching patterns in a JPEG file
onclick - image
urgent - display Image (binary) + html in single page