X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fdemos%2FDemoTreeViewWindow.java;h=6101d27dc637bd1d6a0137781d64df470b10d479;hb=329fd62e4acdaa8e9f4cccd518d47c0b07e79f51;hp=0fc5dfe5747678f59adbac0604f32e12cf32687d;hpb=4b257bd88a40bb1b7ad6b14c3ecaf6a3d5d10a9b;p=fanfix.git diff --git a/src/jexer/demos/DemoTreeViewWindow.java b/src/jexer/demos/DemoTreeViewWindow.java index 0fc5dfe..6101d27 100644 --- a/src/jexer/demos/DemoTreeViewWindow.java +++ b/src/jexer/demos/DemoTreeViewWindow.java @@ -49,8 +49,9 @@ public class DemoTreeViewWindow extends TWindow { * Public constructor. * * @param parent the main application + * @throws IOException if a java.io operation throws */ - public DemoTreeViewWindow(TApplication parent) throws IOException { + public DemoTreeViewWindow(final TApplication parent) throws IOException { super(parent, "Tree View", 0, 0, 44, 16, TWindow.RESIZABLE); // Load the treeview with "stuff" @@ -64,7 +65,7 @@ public class DemoTreeViewWindow extends TWindow { * @param resize resize event */ @Override - public void onResize(TResizeEvent resize) { + public void onResize(final TResizeEvent resize) { if (resize.getType() == TResizeEvent.Type.WIDGET) { // Resize the text field treeView.setWidth(resize.getWidth() - 4);