|
From: <ast...@gm...> - 2007-10-18 06:04:05
|
You don't even need the 'text' keyword ;-)
JTextField('0', bounds=etc...) would do..
/me hugs Jython
On 10/18/07, Gert-Jan <jy...@gj...> wrote:
> Programming Swing with Jython can even be easier :-)
>
> self.r1JTextField = JTextField(
> text = "0",
> bounds = (145, 50, 100, 21),
> horizontalAlignment = SwingConstants.RIGHT,
> actionPerformed = self.rEnter)
> contentPane.add(self.r1JTextField)
>
|