Hello everyone.. I am having a little problem and I can't quite figure it out
I am trying to make a simple GUI which asks for username/password.. sends that information to check against database.. if its true come back .. clear the contents of the frame and start building the client side app ( I am not quite sure how to do this part ). Do I ask for the username/password in a dialog and then full client app in a frame? or have username/password in a frame and then dialog for full client app?
yah, JDialog is the right fit for username/password. You can initially just launch the dialog and check the credentials. If the credentials are not good or if there are validation errors, user can return to the dialog to re-enter. If login is successful, you just call dialog.dispose() and build a frame and show it.
SCJP 1.4, OCMJEA/SCEA 5.0.
When it is used for evil, then watch out! When it is used for good, then things are much nicer. Like this tiny ad:
a bit of art, as a gift, that will fit in a stocking