Controlling size of JLabel and JTextFields in Java
Hi
i have a predefined area in which i need to fit a JLabel and JTextField. JLabel has some text as its label and JTextField will allow users to enter text.
wht i need is to dynamically control the size of JLabel and JTextField as in .. if the total size is say 100, JLabel should occupy only the space required by it to display the label and the remaining space should be occupied by the JTextField. how can i do this ... ne ideas ???
thanks for ur help
|