public void refreshView() { designer.repaint(); designer.revalidate(); spaceshipPanel.refresh(); generalPanel.refreshLayer(); corpPanel.setValueFromSelectedCorp(); }