jython applet

jennifer haynes hanesjenny at verizon.net
Fri Nov 28 19:25:19 CET 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