|
Re: Button display twice in VE [message #128825 is a reply to message #128812] |
Thu, 13 July 2006 22:04 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
That is not a style VE understands. You will need to change to:
> public class Test extends Composite {
>
> private Button button = null;
>
> public Test(Composite parent, int style) {
> super(parent, style);
> initialize();
> }
>
> private void initialize() {
button = new Button(this, SWT.NONE);
> setSize(new Point(300, 200));
> }
>
>
> }
Hung Lam wrote:
--
Thanks,
Rich Kulp
|
|
|
Re: Button display twice in VE [message #613547 is a reply to message #128812] |
Thu, 13 July 2006 22:04 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
That is not a style VE understands. You will need to change to:
> public class Test extends Composite {
>
> private Button button = null;
>
> public Test(Composite parent, int style) {
> super(parent, style);
> initialize();
> }
>
> private void initialize() {
button = new Button(this, SWT.NONE);
> setSize(new Point(300, 200));
> }
>
>
> }
Hung Lam wrote:
--
Thanks,
Rich Kulp
|
|
|
Powered by
FUDForum. Page generated in 0.02284 seconds