title: How can i create resizable rectangle in java swing?
body: <p>I need to add a small feature in a project where, rectangle with some trimable text in it, and the rectangle should be resizable.</p>
  
  <p>I'm short of time so didnt try out reading and working on it much.
  I need some idea how to go for it.</p>
  
  <p>Thanks in advance.</p>
  
  <p>-Uday</p>