git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
checkstyle sweep
[fanfix.git]
/
src
/
jexer
/
demos
/
DemoTreeViewWindow.java
diff --git
a/src/jexer/demos/DemoTreeViewWindow.java
b/src/jexer/demos/DemoTreeViewWindow.java
index 0fc5dfe5747678f59adbac0604f32e12cf32687d..6101d27dc637bd1d6a0137781d64df470b10d479 100644
(file)
--- 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
* 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"
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
* @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);
if (resize.getType() == TResizeEvent.Type.WIDGET) {
// Resize the text field
treeView.setWidth(resize.getWidth() - 4);