kba / lanterna

Automatically exported from code.google.com/p/lanterna
GNU Lesser General Public License v3.0
0 stars 0 forks source link

PasswordBox class,constructor and forceWidth issue #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,i was checking out some more components and decided to test PasswordBox 
class.
It has the same problem TextBox had:

    public PasswordBox()
    {
        this(-1, "");
    }

Also,since i noticed there weren't a:

    public PasswordBox(String initialContent) {
        this(0,initialContent);
    }

or a:

    public PasswordBox(int forceWidth) {
        this(forceWidth,"");
    }

i added them,i dont know if thats the right way to add them or if i should add 
some checks or something,but it works for me :)
Hope i helped somehow.

Original issue reported on code.google.com by zer0.c...@gmail.com on 15 Jul 2012 at 12:33

GoogleCodeExporter commented 9 years ago
Yes, this too was fixed in 2.0.1

Original comment by mab...@gmail.com on 16 Jul 2012 at 1:14