jython applet

jennifer haynes hanesjenny at verizon.net
Fri Nov 28 13:25:19 EST 2003


I can't Date() to print out in an applet
this is what I have

from java.util import Date
from java import awt, applet
from java.lang import String

class Enhanced(applet.Applet):
    def paint(self, g):
 today = Date()
 g.drawString(today, 10, 30)



if __name__ == '__main__':
    import pawt
    pawt.test(Enhanced())






More information about the Python-list mailing list