Can someone explain why the following doesn\'t work as I expect?
Pressing the button \'should\' result in the display only containing the (empty) JScrollPane, ie the
When updating a visible GUI the code should be:
panel.revalidate(); panel.repaint(); // sometimes needed, this appears to be one of them