File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -661,13 +661,9 @@ public boolean forceFocus () {
661661 if (display .focusEvent == SWT .FocusOut ) return false ;
662662 Decorations shell = menuShell ();
663663 shell .setSavedFocus (this );
664- System .out .println ("1" + isEnabled () + " " + isVisible () + " " + handle .style .visibility + " " + getVisible () +" " + isActive ());
665664 if (!isEnabled () || !isVisible () || !isActive ()) return false ;
666- System .out .println ("2" );
667665 if (isFocusControl ()) return true ;
668- System .out .println ("3" );
669666 shell .setSavedFocus (null );
670- System .out .println ("4" );
671667 /*
672668 * This code is intentionally commented.
673669 *
@@ -685,12 +681,9 @@ public boolean forceFocus () {
685681// if (OS.GetFocus () != OS.SetFocus (handle)) return false;
686682// OS.SetFocus (handle); // TODO
687683 if (isDisposed ()) return false ;
688- System .out .println ("5" );
689684 OS .SetFocus (handle );
690685// return false;
691- System .out .println ("6" );
692686 shell .setSavedFocus (this );
693- System .out .println ("7" );
694687 return isFocusControl ();
695688}
696689
You can’t perform that action at this time.
0 commit comments