Extended Login Dialog/ Customizing the Login Dialog

View: New views
1 Messages — Rating Filter:   Alert me  

Extended Login Dialog/ Customizing the Login Dialog

by Q. L. Nguyen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It's possible to create a login dialog with the help of the NotifyDescriptor-class and NotifyDescriptor.Confirmation-class, respectively. However, it bothers me, that I can't create a simple dialog without any of the given buttons ("Yes", "No", "Cancel"). For my login dialog I just want two inputfields and two buttons ("Name", "Password").

Is the only possibility to use the SwingLab-lib?

It would be great, if I could give the whole login-frame or, at least, the main panel of the dialog as an input instead of just the "green" panel, that I outlined below: