java canvas start & c modifications