problem in browser - using Swing
i have a JApplet.i can open that applet in appletviewer.but i could not open in browser.when i call the applet class file from HTML,is giving error.
i'm using JDK1.3 and javawebserver2.0 with windows NT..
now i have set the classpath like c:\jdk1.3\jre\lib\rt.jar
errors are:
In IE5.5:(JDBCJTree is my applet class file)
java.lang.InstantiationException: JDBCJTree
at com/ms/applet/BrowserAppletFrame.newInstance
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
In netscape4.6:
warning: running 1.2 version of SwingUtilities
# Applet exception: exception: java.lang.NullPointerException
java.lang.NullPointerException
at javax.swing.SwingUtilities.appContextGet(Compiled Code)
at javax.swing.TimerQueue.sharedInstance(Compiled Code)
* at javax.swing.JApplet.<init>(Compiled Code)
at JDBCJTree.<init>(Compiled Code)
at netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled Code)
at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled Code)
if u have any idea to solve this problem,please let me know

