Harald wrote:

> Have you thought more generally about interactive cells? A widget
> included in the answer-cell, which assignes values to a local variable
> and then issues an update for reevaluation.
> I've just written feature request #1613
> http://sagetrac.org/sage_trac/ticket/1613
>
> ...
>
> On Dec 28, 7:56 am, "Ted Kosan" <[EMAIL PROTECTED]> wrote:
> > html('<applet id="mathrider" code="org.mathrider.MathRider.class"
> > width="800" height="650"
> > codebase="http://sage.math.washington.edu/home/tkosan/mathrider/";
> > archive="mathrider.jar" MAYSCRIPT></applet>
> >
>
> Hi, above code didn't work, but inserting it in "Edit" mode did the
> trick. Well, looks nice, but is just related, not really what i was
> thinking about. If I manage to put together an example of my idea I'll
> tell you.

I looked into this and discovered that the reason the code did not
work is because it had carriage returns placed into it by the email
system :-)


I think I know something of what you are thinking about.  Here are a
couple more applets you can try to see if I am getting closer to your
vision (just remove all carriage returns except the one at the end
before executing this code in a notebook cell):


This applet demonstrates a bunch of GUI widgets that can be placed
into the notebook:

html('<applet id="mathrider" code="SwingSetApplet" width="695"
height="525" 
codebase="http://sage.math.washington.edu/home/tkosan/mathrider/SwingSet";
archive="SwingSet.jar" MAYSCRIPT></applet>')


And this one demonstrates dynamic 2D graphics that can be run in the notebook:

html('<applet id="mathrider" code="Java2DemoApplet.class" width="695"
height="525" 
codebase="http://sage.math.washington.edu/home/tkosan/mathrider/Java2D/";
archive="Java2Demo.jar" MAYSCRIPT></applet>')

Ted

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to