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.

anusha88,
Use applet to draw such things.

anusha88,
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
xt.java:323)
at java.security.AccessController.checkPermission(AccessController.java:
546)
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
95)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242
)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:236)
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
ad.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:174)
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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.