Skip to content

Commit 3aea039

Browse files
author
soheil_h_y
committed
1. deleteing system outs
1 parent 00e8750 commit 3aea039

File tree

1 file changed

+0
-7
lines changed
  • sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets

1 file changed

+0
-7
lines changed

sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets/Control.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)