## Forum archive 2000-2006

### Nandor Sieben - java applet to produce student answers

by Arnold Pizer -
Number of replies: 0
 java applet to produce student answers topic started 5/24/2005; 7:09:54 PMlast post 5/26/2005; 11:17:34 PM
 Nandor Sieben - java applet to produce student answers  5/24/2005; 7:09:54 PM (reads: 1381, responses: 5) Have anybody created java applets that can be called with paramaters and can pass parameters back to webwork? Students could use these to input their answers which are then transformed into text form and passed to the webwork system for evaluation. For example an applet could be used to draw the vertices and edges of a simple graph. Then the applet would pass the list of edges to webwork and an evaluator could check if the graph is an Euler graph. Another very desirable applet could be used to draw the graph of a function (a few movable points and splines). The applet could pass the coordinates of these points to an evaluator that checks if the graph has the right local extrema and inflection points. <| Post or View Comments |>

 Davide P. Cervone - Re: java applet to produce student answers  5/25/2005; 10:15:30 PM (reads: 1566, responses: 0) Mike: The situation is not as bad as you make it out to be with the Mac browsers. There is an opensource plugin that makes LiveConnect work with Mozilla, FireFox, Camino and Netscape. It is called JavaEmbeddingPlugin, is available at  http://javaplugin.sourceforge.net/  is easy to install, and it actually works. I tested your sketch page and it works with all four of the browsers listed above. You need fairly recent versions of the browsers. I used Mozilla 1.7.8, Firefox 1.0.4, Camino .8.4, and Netscape 7.2. I gave up on iCab long ago, so I don't know whether the JEP plugin works with is. Your test page also works with OmniWeb 5.1 (and I don't think it's the JEP that is doing it, but I haven't removed it to see). So the only holdouts are IE (which is never going to support it) and Safari. I think Safari should work with it, as I have been able to get LiveConnect to work with other applets, so I think there may be something wrong with this particular demo. For example, all the browsers mentioned here (other than IE and iCab) work with the sample I have set up at  http://www.math.union.edu/locate/Cervone/javascript/slider/  which was a test I worked on last year to make a slider control the LiveGraphics3D applet that I use in some of my Calc III problems. (Trying to make the slider on this page was actually the project that gave me the idea to develop jsMath.) Anyway, things are not so bleak as they may at first seem. Davide <| Post or View Comments |>