Creating Wizards with SWT [message #465950] |
Mon, 26 December 2005 02:21 |
Eclipse User |
|
|
|
Originally posted by: harpal2002.netscape.net
Hello,
I don't like the framework provided by JFace to develop wizards. I decided
to write one from scratch with SWT. I have done so before in Swing with
relative ease. I am almost done. My question is : how do I replace one
composite with another one? In Swing I used to switch panels in the wizard
when the user would click back/next buttons with the following code
snippet:
dataJPanel.setVisible(false);
dataJPanel = getNextJPanel();
dataJPanel.setVisible(true);
When I atempt to do this in SWT, it doesn't work at all. I know SWT works
much differently then Swing. I have been able to figure out most of the
other things myself, but I am stuck on this one. Can anyone help or
suggest a tutorial? And again, I would like to try to do this without
JFace.
Thanks,
Harps
|
|
|
|
Re: Creating Wizards with SWT [message #465961 is a reply to message #465958] |
Tue, 27 December 2005 02:23 |
Eclipse User |
|
|
|
Originally posted by: harpal2002.netscape.net
I was able to get it to work last night, but I needed to add a "link",
like a linked list. BUt I think I am going to opt for the StackLayout
after a little bit of research. Thanks so much for the help. You answered
my question. Much appreciated!
Cheers,
Harps
|
|
|
Powered by
FUDForum. Page generated in 0.02827 seconds