Thanks to visit codestin.com
Credit goes to www.java2s.com

Rectangle « 2D Graphics GUI « Java






1.Contract Rectangle2D
2.Expand Rectangle2D
3.Get point for dragging from a Rectangle
4.Draw string along a Rectangle
5.Tries to pack rectangles as tightly as possible.