|
From: Jorge M. J. <jmi...@se...> - 2001-02-22 20:52:44
|
> re...@ne... wrote:
> > Hi :)
> >
> > I'm trying swing programming in jython 2.0
> > I made simple text editor with InternalFrame
> > however, when I executed it opens another applet window under
> appletviewer
> > or netscape..
> > (It works on it but, not well)
> > main applet window in appletviewer or netscape is just empty.
> > what's problem on it?
> > Source code :
> >
> > class SmallEdit(JFrame):
> >
> > def exit(e) : java.lang.System.exit(0)
> > frame=JFrame('test',visible=1,size=(400,300))
>
> . . .
>
> > frame.pack()
>
> try inserting your code inside a constructor def __init__(self):
|