Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Is there an easy way to have a scrollable image?
Is there an easy way to have a scrollable image? [message #453580] Thu, 07 April 2005 15:33 Go to next message
Steve Jerman is currently offline Steve JermanFriend
Messages: 26
Registered: July 2009
Junior Member
Hi,

I want to be able to display a large GIF or JPG in a widget and allow a
user to scroll around the image. Any thoughts on the *best* way to do this?

Thanks
Steve
Re: Is there an easy way to have a scrollable image? [message #453588 is a reply to message #453580] Thu, 07 April 2005 17:28 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Try this snippet:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet48.java?rev=HEAD&a mp;content-type=text/vnd.viewcvs-markup

"Steve Jerman" <stjerman@cisco.com> wrote in message
news:d33k3h$iov$1@news.eclipse.org...
> Hi,
>
> I want to be able to display a large GIF or JPG in a widget and allow a
> user to scroll around the image. Any thoughts on the *best* way to do
this?
>
> Thanks
> Steve
Previous Topic:scale widget with selectionListener
Next Topic:Standalone JFace requisites
Goto Forum:
  


Current Time: Fri Mar 29 14:39:44 GMT 2024

Powered by FUDForum. Page generated in 0.02300 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top