I have my Java code working in Eclipse but I need to add a few functionnality.
First, how to limit the number of digits that can be entered by the user ? Actually I
First, how to limit the number of digits that can be entered by the user ?
Then, how can I play with the size of the JPassword box ? Is there a way to modify it just like a JTextField for example ? Because my line "p1.setPreferredSize(new Dimension(100, 25));" does not seem to really let me modify the size of the box.