What is the best way to manage application screens in SWT?

Posted by parxier on Stack Overflow See other posts from Stack Overflow or by parxier
Published on 2010-04-20T07:23:03Z Indexed on 2010/04/20 14:53 UTC
Read the original article Hit count: 254

I'm creating a standalone SWT desktop application that has around 10 different screens (few wizards, help, forms, etc). Some elements on screen don't change at all (like header, background, etc) and there is a working area that changes depending on what is clicked, etc.

What is the best way to manage application screens? Do I need to create all screen at startup and then show/hide them depending on what is clicked? Or do I need to create those screens dynamically?

Also, I couldn't find any way to show/hide a Composite, do I need to dispose it and then create again?

What is the best practice? I'm new to SWT developing outside of Eclipse so any help would be beneficial.

© Stack Overflow or respective owner

Related posts about swt

Related posts about java