Hello there,
i am creating JTextField and JComboBox inside a painted rectangle on a panel. The location for JTextField and JComboBox is set using the setBounds method. However, everytime the frame is maximized or resized, both the JTextField and JComboBox get repositioned to the top middle of the frame. Could you advice why it happens and how do i update new coordinate values for those components should i want to reposition them.
Thanks.
