how can we resize an immage in java with mouse drug, using rectangular grips in a way similar to word office