Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Noob question


The following snippets should be helpful (note that swt usage questions like this should be asked on the eclipse.platform newsgroup, not on this list):

Changing a Composite's content:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet98.java?view=co

StackLayout:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet249.java

If your Shell needs to grow/shrink when its content changes then you'll also need a Shell.pack().

Grant


Back to the top