Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Scroll bar Problem-draw2d
Scroll bar Problem-draw2d [message #238308] Wed, 05 September 2007 03:49
Eclipse UserFriend
Originally posted by:


I'm using draw2d to draw a flowchart.I tried to get the scroll
bars(both),they are visible but unable to drag.This is my code...

Shell shell = new Shell();;

LightweightSystem lws = new LightweightSystem(shell);

ScrollPane panel = new ScrollPane();
panel.setBounds(new Rectangle(0,0,200,100));
panel.getViewport().setBorder(new LineBorder());
panel.setBorder(new LineBorder());
panel.setSize(20, 30);

final Figure SF = new Figure();
SF.setBorder(new LineBorder());



panel.setLayoutManager(new ScrollPaneLayout());
Previous Topic:Adding folders in outline view
Next Topic:Save the content of the view in an image file on disk
Goto Forum:

Current Time: Thu Oct 08 16:30:23 GMT 2015

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

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