Hi,
I am doing a GUI project using SWING, there is a requirement that I am not sure if can be done by swing.
1. When the application start, the main window appears but kind of grey out, on top of the main window there is another small log in window for user to input user name and password, after the user input info and submit it and validation (using web service) is passed, then the login window disappear and the main window become the focus. On main window, there is log out button, when the button is clicked, the main window is grey out again and log in window appear on top of main window.
How to accomplish this if it can be done? I checked online (
http://java.sun.com/docs/books/tutorial/ui/features/compWin.html ) , is the internal frame the only way to do this? How to do it?
Thanks.