Eclipse Question:
Download Questions PDF

How to resize my shell to get my changed widgets to lay out again?

Answer:

A layout is only performed automatically on a Composite's children when the Composite is resized, including when it is initially shown. To make a Composite lay out its children under any other circumstances, such as when children are created or disposed, its layout() method must be called.

Download Eclipse Interview Questions And Answers PDF

Previous QuestionNext Question
What is Display, what is Shell?Is there a built-in facility to check whether a given value is valid compared to the effective facets of its type?