±Û¾´ÀÌ :¹Ú¹ÎÁÖ 1998³â 6¿ù 25ÀÏ 17:57:53
In Reply to: Áú¹®>¾ÖÇø´ÀÌ Ã· ¶ã¶§ ÄÄÆ÷³ÍÆ®¿¡ Æ÷Ä¿½º°¡°Ô Çϱâ posted by ¹Ú¹ÎÁÖ on 1998³â 6¿ù 24ÀÏ 19:07:23:
¶Ç ÀúÀÇ ½Ç¼ö ¿´±º¿ä..
!*****! ¿äºÎºÐÀ» º¸¼¼¿ä..
/**
* Requests the input focus. A FocusGained event will be delivered
* if this request succeeds. !*****! The component must be visible
* on the screen for this request to be granted.
* @see FocusEvent
* @see #addFocusListener
* @see #processFocusEvent
* @see #isFocusTraversable
*/
public void requestFocus() {
ComponentPeer peer = this.peer;
if (peer != null) {
if (peer instanceof java.awt.peer.LightweightPeer) {
parent.proxyRequestFocus(this);
} else {
peer.requestFocus();
Toolkit.getEventQueue().changeKeyEventFocus(this);
}
}
}