fix javadoc header
[fanfix.git] / src / jexer / TPasswordField.java
index 8fd29d0d8fde69e15cb35cd1361f0fcb1d7c0b01..afe4e2787162c840fba00af5114d87b9b765736b 100644 (file)
@@ -1,4 +1,4 @@
-/**
+/*
  * Jexer - Java Text User Interface
  *
  * License: LGPLv3 or later
@@ -97,7 +97,7 @@ public final class TPasswordField extends TField {
         CellAttributes fieldColor;
 
         boolean showStars = false;
-        if (getAbsoluteActive()) {
+        if (isAbsoluteActive()) {
             fieldColor = getTheme().getColor("tfield.active");
         } else {
             fieldColor = getTheme().getColor("tfield.inactive");
@@ -114,7 +114,7 @@ public final class TPasswordField extends TField {
             getScreen().hLineXY(0, 0, getWidth() - 2, '*',
                 fieldColor);
         } else {
-            getScreen().putStrXY(0, 0, text.substring(windowStart, end),
+            getScreen().putStringXY(0, 0, text.substring(windowStart, end),
                 fieldColor);
         }