[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Color of SWT.Border

Remove the border (SWT.NONE) and add a paint listener to draw the border your own.

Tom

Lars Vogel schrieb:
Hi,

can I change the color of the border of  a text field during runtime?
firstName = new Text(parent, SWT.BORDER);

Best regards, Lars




--
B e s t S o l u t i o n . at
--------------------------------------------------------------------
Tom Schindl                                          JFace-Committer
--------------------------------------------------------------------