X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fdemos%2FDemo1.java;h=bb158dd5a1db88727ad5b0506e3e77fa88b40eec;hb=87a17f3ca4b2602c396afdbb13cccb4c1e7cbd38;hp=16138c556200b64af5deaa497c6771de70e62587;hpb=30bd4abd2a85c162bdf0a1cc687b366345182bc1;p=nikiroo-utils.git diff --git a/src/jexer/demos/Demo1.java b/src/jexer/demos/Demo1.java index 16138c5..bb158dd 100644 --- a/src/jexer/demos/Demo1.java +++ b/src/jexer/demos/Demo1.java @@ -351,9 +351,12 @@ class DemoMainWindow extends TWindow { addLabel("Variable-width text field:", 1, row); addField(35, row++, 15, false, "Field text"); - addLabel("Fixed-width text field:", 1, row); - addField(35, row, 15, true); + addField(35, row++, 15, true); + addLabel("Variable-width password:", 1, row); + addPasswordField(35, row++, 15, false); + addLabel("Fixed-width password:", 1, row); + addPasswordField(35, row++, 15, true, "hunter2"); row += 2; if (!isModal()) {