Commit in gui4gl/src/org/codejive/gui4gl/widgets on MAIN | |||
Screen.java | +11 | -2 | 1.14 -> 1.15 |
Clicking in a Screen will now deactivate the active window.
diff -u -r1.14 -r1.15 --- Screen.java 15 Dec 2003 11:06:00 -0000 1.14 +++ Screen.java 15 Dec 2003 17:28:21 -0000 1.15 @@ -73,6 +73,12 @@
} }
+ public void setFocus() { + if (isFocusable()) { + setFocusWidget(null); + } + } +
public Widget getPreviousFocusWidget(Widget _widget) { return null; }
@@ -282,9 +288,12 @@
/* * $Log$
+ * Revision 1.15 2003/12/15 17:28:21 tako + * Clicking in a Screen will now deactivate the active window. + *
* Revision 1.14 2003/12/15 11:06:00 tako
- * Did a rollback of the previous code because it was introducing more - * problems than solving them. A widget's name is now set in the constructor
+ * Did a rollback of the previous code because it was introducing more + * problems than solving them. A widget's name is now set in the constructor
* and can not be changed anymore. * * Revision 1.13 2003/12/11 10:49:25 tako