标题:Applet小程序在浏览器运行出错
取消只看楼主
windflower
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2006-4-7
 问题点数:0 回复次数:0 
Applet小程序在浏览器运行出错

求助:
我的Applet程序在JBuilder9环境下运行正确,但是在浏览器中运行时点击按钮不能响应事件,
提示如下错误:java.lang.NullPointerException

at cutedraw.workflow.NewFile(workflow.java:217)

at cutedraw.workflow.newButton_actionPerformed(workflow.java:198)

at cutedraw.ActionListener.actionPerformed(workflow.java:343)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

搜索更多相关主题的帖子: Applet 浏览器 java workflow 
2006-04-07 13:51



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-55796-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.116683 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved