import jexer.TLabel;
import jexer.TMessageBox;
import jexer.TWindow;
+import jexer.layout.StretchLayoutManager;
import static jexer.TCommand.*;
import static jexer.TKeypress.*;
// will be centered on screen.
super(parent, i18n.getString("windowTitle"), 0, 0, 60, 20, flags);
+ setLayoutManager(new StretchLayoutManager(getWidth() - 2,
+ getHeight() - 2));
+
int row = 1;
addLabel(i18n.getString("textField1"), 1, row);