LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1030|回复: 1

我在applet中建立的JPopupMenu对象

[复制链接]
发表于 2004-9-1 11:53:39 | 显示全部楼层 |阅读模式
我在applet中建立的JPopupMenu对象在浏览器中不能通过右键点击显示出来,我用的是firefox,怎么办,在线等!:!!
------------------------------------
java.lang.IllegalArgumentException: null source
        at java.util.EventObject.<init>(EventObject.java:34)
        at java.awt.AWTEvent.<init>(AWTEvent.java:225)
        at java.awt.event.ComponentEvent.<init>(ComponentEvent.java:94)
        at java.awt.event.WindowEvent.<init>(WindowEvent.java:174)
        at java.awt.event.WindowEvent.<init>(WindowEvent.java:211)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:576)
        at java.awt.Component.dispatchEventImpl(Component.java:3506)
        at java.awt.Container.dispatchEventImpl(Container.java:1627)
        at java.awt.Window.dispatchEventImpl(Window.java:1606)
        at java.awt.Component.dispatchEvent(Component.java:3477)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
        at java.awt.SequencedEvent.dispatch(SequencedEvent.java:93)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
 楼主| 发表于 2004-9-7 16:14:54 | 显示全部楼层
help me!
--------------------------
通过仿佛实验终于发现linux下的jvm不支持MouseEvent.isPopTrigger方法!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表