Set resizeable false before packing the JFrame to avoid drawing a border around the Canvas.
Added color changing code.
Added color changing code.
Added color changing code.