title: how to add swing components that abide to screen resolution
body: <p>How to write an swing application that abide to the screen resolution.</p>
  
  <p>Ex: to add an component in panel , say Label label1,
  I need the position of the label1 to be added in percentage .</p>
  
  <p>I dont want JFrame -> JScrollPane -> JComponents.
  This is a very bad approach.Components doesnt resize at all.</p>
  
  <p>Is there any way to add components with respect to percentage in java ?</p>