Set specific size for JTextfield/Jbutton in BorderLayout?
843805Jan 25 2007 — edited Jun 12 2007can some one tell me how to set a specific size for JTextfield/JButton in Border/BoxLayout please?
I stried setSize, setPrefersize, setMAxsize, setMinsize, setBounds... but it won't work?
For example. If I add a jbutton to a jpanel, which has borderlayout, it will take up ALL the space in that jpanel.
Thanks