Hi all,
 
I would like to write a simple GUI (java swing) with jython which have a JLabel and JTextField.
My problem is to setbouds to JLabel but it doesn't effect it. Meanwhile in JTextField, i cannot to set the size. My screen show white color with text "Test" in the middle.
 
from pawt import swing
import java
 
frame=swing.JFrame("Test",visible=1)
a=java.awt.FlowLayout()
jL=swing.JLabel("Python")
frame.contentPane.add(jL).setLayout(a)
jL.setBounds(10,10,10,10)
jT=swing.JTextField("Test",10)
frame.contentPane.add(jT).setLayout(a)
frame.setSize(300,200)
frame.show()