Use Smart Repaint to draw just the object you are moving rather than the entire view.
Smart Repaint's animation is much faster than repaint().
System tells view that it is time to redraw.
Double-buffering allocates an off-screen bitmap.
Sets the origin and calls PaintComponent().
MVC Pattern
Controller deals with change propagation.
In Java, TableModel is the Model; JTable is the View.
Chad Salinas