- Where Developers Learn, Share, & Build Careers


I am trying to set the width and connection line color in draw2d. I found the method "SettleWidth ()" method but I need to call this method. I call this method on the input port object but Plz does not work help me

Can you post some of your code? This is working for me:

  Polyline connection connection = new polyline connection (); Connection.setLineWidth (2); Connection.setSourceAnchor (new channel start anchor (this)); Connection.setTargetAnchor (new ChannelEndAnchor); Display display = Display.getCurrent (); Last color connection: ColorHoover = display.getSystemColor (SWT.COLOR_RED); Last color connection color = new color (display, 54,82,111); Connection.setBackgroundColor (connectionColor); Connection.setForegroundColor (connectionColor);    

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -