This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 24189


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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: hi, Image
It's not a secret anymore!