< prev index next >

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

Print this page

        

*** 57,67 **** import javax.swing.text.DefaultCaret; import javax.swing.text.JTextComponent; import javax.swing.plaf.BorderUIResource; import java.awt.im.InputMethodRequests; - import sun.awt.CausedFocusEvent; import sun.awt.AWTAccessor; import sun.awt.SunToolkit; final class XTextAreaPeer extends XComponentPeer implements TextAreaPeer { --- 57,66 ----
*** 943,960 **** } } 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 public boolean hasFocus() { --- 942,961 ---- } } 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 public boolean hasFocus() {
< prev index next >