Skip to main content

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:problem with eclipse editor plugin configuration
Next Topic:Problems with scrolling
Goto Forum:

Current Time: Mon Jun 25 11:53:05 GMT 2018

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

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

Back to the top