SWT Composite repaint possible or not
I am in fix..I am not able to get my composite repaint itself with increased heighthint of its GridData on a specific condition.
Actually while create the View , the composite is created by setting
Composite lComposite = new Composite(parent,SWT.NONE);
Now on some specific condition i want the height of the composite to increase from existing 50 to 100 so i am doing
GridData lGridData = (GridData)lComposite.getLayoutData();
// height is increased here...
lGridData.heighthint = 100;
//also tried to repaint the shell..
Pls. suggest if anybody have some solution..