Talk:Java Programming/Graphics/Drawing shapes

question: how to draw in java according to the parameters passed?

Adding user input
I need to add a JOptionPane for user input. The user input would decide size and position of the shapes. I cannot figure out how to do that. My Flatley (discuss • contribs) 15:49, 31 August 2011 (UTC)

custom colors
can you fil a shape with custom colorss like using RGB or CMYK or YPbPr color space format, for exampl R=120,G=245,B=254? Doorknob747 (discuss • contribs) 23:05, 11 January 2015 (UTC)