开发者

Java Applet with tooltip

I have a JApplet that contains a JEditorPane. The JEditorPane has a tooltip text associated with it. The first time the applet is loaded, the tooltip shows correctly but after I click somewhere in the HTML page, outside the applet's area, the tooltip stops working. I suspect it has to do with the applet losing focus.

开发者_Python百科

Is there any workaround for this problem?

Best regards, Dan.


Try "(...) naming the applet element within the html document and then using javascript onfocus to send the browser focus to the element."

Source: http://www.velocityreviews.com/forums/t671396-applet-focus-issue.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜