Helloo! In the Java Application I have a JScrollPane and in that scroll I have a JTextArea
JTextArea TextArea = new JTextArea("Text");
scroll = new JScrollPane(TextArea);
scroll.setBounds(150,100,250,100);
And I got the scroll. But If the user clicks a JButton the location of the JScrollPane should change... I have this code and it works if the scroll doesn't have the TextArea
scroll.setBounds(50,100,250,100);
but if the scroll has the TextArea it doesn't move at all
Any idea what is happening?