How to draw a canadian flag in java programming language?
You can use .svg files from Vector graphics drawing programs. This is a brand new thing that hasn’t been officially released yet, but Adobe is working with Sun on a file converter. I wrote my own code to translate the .svg format into Java2D coordinates. The advantage is: we can resize and change the color of each element of such a flag because Java does all the work. But basically, Java2D graphics library does all the work much like a laser printer. For a noob, I suppose a bitmaped .png or jpg will be the shortest answer for the maple leaf. The bitmap is used as an icon on a JLabel.