Q : About Jython & Applet (i'm begginer -_-)

¾Æ¹« reborn at neozone.net
Tue Jan 30 20:26:31 EST 2001


hi.. I'm begginer for jython..

I make a simple applet with jython

source is  :

import java
class HelloApplet(java.applet.Applet):
    def paint(self,g):
        g.setColor(java.awt.Color.black)
        g.fill3DRect(5,5,590,100,0)
        g.setFont(java.awt.Font("Arial",0,80))
        g.setColor(java.awt.Color.magenta)
        g.drawString("Hello World", 90, 80)

as you know that it's just print "Hello World"

but, I don't see that result though appletviewer or explorer

I'm using jdk 1.3.0_01, jython 2.0..

I just installed and setted the pass.

.java & .class are OK.

What I have to do something for that?






More information about the Python-list mailing list