You can get funny using control characters, but I doubt you
will get this to run in a cross-application way.
I would allow an optional command line parameter
"-password xyz" for usage in scripts, and for interactive use
a parameter "-prompt" which will open a AWT window or
JOptionPane...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.