title: Prevent Java from repainting the content of a JPanel while updating
body: <p>I have a JPanel which contains a lot of child components. While updating\adding new components to the parent JPanel I'd like to prevent it from repainting, how can this achieved?</p>