I posted about this in another thread but I can’t find it.
There isn’t a method to set an element visible/invisible using a boolean like setVisible(true/false) so I made one.
Element.java
[java]
This patch file was generated by NetBeans IDE
It uses platform neutral UTF-8 encoding and \n newlines.
— Base (BASE)
+++ Locally Modified (Based On LOCAL)
@@ -1868,6 +1868,14 @@
this.hide();
}
-
public void setIsVisible(boolean visibleState) {
-
if (visibleState) {
-
show();
-
} else {
-
hide();
-
}
-
}
- /**
- Recursive call that sets this Element and any Element contained within it’s
- nesting order to hidden.
[/java]