src/solaris/classes/sun/awt/X11/XInputMethod.java

Print this page

        

*** 100,110 **** * doesn't have peer, peer of the native container of the client is returned. */ protected ComponentPeer getPeer(Component client) { XComponentPeer peer; ! if (log.isLoggable(PlatformLogger.FINE)) log.fine("Client is " + client); peer = (XComponentPeer)XToolkit.targetToPeer(client); while (client != null && peer == null) { client = getParent(client); peer = (XComponentPeer)XToolkit.targetToPeer(client); } --- 100,112 ---- * doesn't have peer, peer of the native container of the client is returned. */ protected ComponentPeer getPeer(Component client) { XComponentPeer peer; ! if (log.isLoggable(PlatformLogger.FINE)) { ! log.fine("Client is " + client); ! } peer = (XComponentPeer)XToolkit.targetToPeer(client); while (client != null && peer == null) { client = getParent(client); peer = (XComponentPeer)XToolkit.targetToPeer(client); }