GUI application/applet password generator on java/swing