If you are going to be doing this type of image manipulation you are
probably better off using Java 2D to draw the whole thing yourself or
perhaps you can use some other graphic toolkit on top of 2D. I would
avoid using AWT/Swing and its layout managers for this type of application.