SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.
Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg
by alekseevic » Fri Jan 18, 2008 8:50 am
Hello,
I'm developing an application client with SWTDesigner. I'd like to know how can I change the things appearing in the window when certain buttons are selected.
I mean: I've got a login form, I want it to disappear if the login is correct and show other things. I set a selecion listener to the button.
Thank you in advance.
-
alekseevic
-
- Posts: 1
- Joined: Fri Jan 18, 2008 8:30 am
by Eric Clayberg » Fri Jan 18, 2008 11:19 am
You can easily hide/show SWT widgets using the setVisible() method.
You could also use a StackLayout to show different groups of widgets.
Note that general SWT questions like this should be posted to the Eclipse SWT newsgroup.
-
Eric Clayberg
- Moderator
-
- Posts: 4503
- Joined: Tue Sep 30, 2003 6:39 am
- Location: Boston, MA USA
-
Return to SWT Designer
Who is online
Users browsing this forum: No registered users and 2 guests