drawing a flag with java