change contents of shell (SWT)
Hello,
I'm trying to write a simple application with a login.
My goal is to make a screen in which the user is prompted for a username and password, with an 'login' button that changes the screen to a screen with a progressbar.
What is the general way to program this?
Do I have to make a new shell and kill the old one, or should I make two composites and switch between them?
I can not find much info on this subject, please provide me with some help or a link to an explanation for this problem.
Re: change contents of shell (SWT)
hi,
I taken a problem like you. And now i found the way to fix it's. You can using StackLayout to switch between Composites.
The following link will be help you to find the solution.
Use a StackLayout to switch between Composites : StackLayout*«*SWT*«*Java Tutorial
Re: change contents of shell (SWT)
Quote:
Originally Posted by
nguyenthanh276
The following link will be help you to find the solution.
Oh yeah. Nearly three years later, they're still waiting. :(think):
db
THREAD CLOSED