[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Adding widgets dynamically

I think you can try the method layout()


"Bruno Cartaxo" <brunocartaxo@xxxxxxxxx> 
??????:c038fe74bc2a57f0cd304da0be7b9b88$1@xxxxxxxxxxxxxxxxxx
> I´m having a problem trying to add widgets to a composite dynamically. The 
> added widgets are not showed. I tried composite.redraw(), 
> composite.update(), composite.getShell().update(), 
> composite.getShell().redraw(), composite.getShell().getDisplay().update(), 
> and nothing happens. The only way that i found is maximize or resize the 
> shell, but is extremely inconvenient. Does anyone knows how can I refresh 
> my shell to show all widgets that i add dynamically, exactly when i add 
> the widget?
>
> Best regards,
>
> Bruno
>