Here is a short code to create a login/password dialog using only JOptionPane. This way, you do not have to waste your time making a custom JDialog class.

Related Posts Plugin for WordPress, Blogger...