title: java- Is revalidate() method necessary?
body: <p>A quick question,</p>
  <p>Is it necessary to call <code>revalidate()</code> method each time, you change the location of components?</p>
  <p>And what are other instances, when it is necessary to call <code>revalidate()</code> method?</p>