Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: RE: [platform-swt-dev] org.eclipse.swt.SWT


Just to be clear, you only need the update() if you want to force the redraw right away.
Otherwise the redraw will happen the next time you get to the event loop.



"Erik Poupaert" <erik.poupaert@xxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

02/27/2003 02:44 AM
Please respond to platform-swt-dev

       
        To:        <platform-swt-dev@xxxxxxxxxxx>
        cc:        
        Subject:        RE: RE: [platform-swt-dev] org.eclipse.swt.SWT





>>>> Set the text to "".
>>>> Pack your window.
>>>> Set the text to something else.
>>>> See what happens?  Nothing.  Until you resize the window.

Ah no. I actually received an answer on that one! You have to do
label.update() and everything will fall into place.

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev



Back to the top