Dear All, I m making a desinger like available in JBuilder. I want to change the size of JTextField dynamically. I have done with drag and drop of the components (e.g: JLabel, JButton, etc). I still could not find any solution to resize the components during run time. Would anyone could help me to find out the solution. I want to increase or decrease the size of JTextField by clicking the mouse on the border of JTextField and draging with the mouse. This is like one does in JBuilder's designer. I would be grateful if anyone could provide me the code to perform the job. warmly waiting.. [ October 22, 2003: Message edited by: zahid jamal ]
I want to change the size of JTextField dynamically From API: public void setSize(Dimension d) Resizes this component so that it has width d.width and height d.height. This is hardly "Advanced Java", unless you are looking for something else.