hi,I don't know anything about JSP.I have actually developed my program in java which takes input from file and plots those values graphically.One part of the program contains moving text in a text box and the other part is a kind of a moving graph through a slider.Now the people doing the web enabling part have so far implemented only static things and not such a dynamic program.How can i help them?I cannot modify my program.So what can be done?Please help me.

Use applet to draw such things.

I have used a frame instead of an applet for the program.What can i do?

is there a way i can incorporate my frame into the applet??
please help me with this.

I want the frame to be saved as an applet

Sir,thank you so much for your advice.I have tried to implement the applet by creating a UI for file input.But now i have two problems

1.I'm getting runtime exceptions like this
xception in thread "AWT-EventQueue-1" java.security.AccessControlException: acc
ess denied (java.lang.RuntimePermission exitVM.0)
at java.security.AccessControlContext.checkPermission(AccessControlConte
at java.security.AccessController.checkPermission(AccessController.java:
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkExit(SecurityManager.java:744)
at javax.swing.JFrame.setDefaultCloseOperation(JFrame.java:377)
at try3.loadFile(try3.java:446)
at try3$1.actionPerformed(try3.java:110)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:19
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

What should i do?

2.does the classpath for Jfreechart need to be included with the appletviewer command.Can anyone give me an example of how to include the classpath with appletviewer.

It's problem regarding to applet security. I think you haven't read a link I have posted in #5. JavaStart - a java application downloaded and get executed without applet implementation.

Applet security, use policy based security (permission for all) to the public JRE; however it is not recommanded.

This article has been dead for over six months. Start a new discussion instead.