Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Button display twice in VE
Button display twice in VE [message #613546] Thu, 13 July 2006 19:35
hung is currently offline hungFriend
Messages: 117
Registered: July 2009
Senior Member
I have this class as following. VE displays the button twice. One is
inside the
Composite, the other one is outside the Composite area. Does anyone have
any idea why that is? Thanks.

public class Test extends Composite {

private Button button = null;

public Test(Composite parent, int style) {
super(parent, style);
initialize();
}

private void initialize() {
setSize(new Point(300, 200));
}

public void render()
{
button = new Button(this, SWT.NONE);
}

}
Previous Topic:Overwrite
Next Topic:Button display twice in VE
Goto Forum:
  


Current Time: Sat Apr 27 03:09:43 GMT 2024

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

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

Back to the top