Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to draw a canadian flag in java programming language?

0
Posted

How to draw a canadian flag in java programming language?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123