ctabitem

SWT: How to redisplay new contents of a CTabItem

I have a CTabFolder with one of its CTabItems which may change its contents on a given user action. But I don't know how to force the display once the contents have changed. I get the tab item blank; if I resize the window suddenly everything appears. I'm not posting the code because I did some wrapping in Scala, but this is basically w...

Set Controls with arbitrary positions on CTabItem

Hi Guyz, I am new to SWT, and I need to set the controls positions arbitrary on CTabItem. I've used the following code, but it seems that it had no positioning effect, it just add the component to (0, 0) Label userName = new Label(folder, SWT.NONE); userName.setText("username"); userName.setBounds(10, 200, 200, 50); item.setControl(us...