< prev index next >

src/java.desktop/unix/classes/sun/awt/X11/XTextFieldPeer.java

Print this page

        

*** 52,62 **** import com.sun.java.swing.plaf.motif.*; import java.awt.im.InputMethodRequests; import sun.util.logging.PlatformLogger; - import sun.awt.CausedFocusEvent; import sun.awt.AWTAccessor; final class XTextFieldPeer extends XComponentPeer implements TextFieldPeer { private static final PlatformLogger log = PlatformLogger.getLogger("sun.awt.X11.XTextField"); --- 52,61 ----
*** 616,632 **** setUI(ui); } void forwardFocusGained( FocusEvent e) { isFocused = true; ! FocusEvent fe = CausedFocusEvent.retarget(e, this); super.processFocusEvent(fe); } void forwardFocusLost( FocusEvent e) { isFocused = false; ! FocusEvent fe = CausedFocusEvent.retarget(e, this); super.processFocusEvent(fe); } @Override --- 615,633 ---- setUI(ui); } void forwardFocusGained( FocusEvent e) { isFocused = true; ! FocusEvent fe = new FocusEvent(this, e.getID(), e.isTemporary(), ! e.getOppositeComponent(), e.getCause()); super.processFocusEvent(fe); } void forwardFocusLost( FocusEvent e) { isFocused = false; ! FocusEvent fe = new FocusEvent(this, e.getID(), e.isTemporary(), ! e.getOppositeComponent(), e.getCause()); super.processFocusEvent(fe); } @Override
< prev index next >