java 2d graphics array over an image -


i have built jpanel painted based on 2d array of data user can draw on.

i'm wondering if possible somehow allow user upload background picture, set size of array based on image allow them draw on filling in array cells. of course, rubbing out colour in cell should original segement of image.

is @ possible? haven't found anything? have array @ moment , drawing using mousemotionlistener can't seem find way set 2d array size based on image , display behind 2d array.

i'm wondering if possible somehow allow user upload background picture, set size of array based on image allow them draw on filling in array cells. of course, rubbing out colour in cell should original segement of image.

yes possible. key in programming break down big problem little steps , try solve each small step, 1 @ time.

is @ possible? haven't found anything?

your question broad find complete or partial solution searching online. again can find solutions each individual step, first have create steps. once accomplished easy find tutorials , solutions each step may stuck on.

i have array @ moment , drawing using mousemotionlistener can't seem find way set 2d array size based on image , display behind 2d array.

show have , you're stuck. we'll need code. , please note, more specific question, better , more specific our answers. current question in nut-shell "is possible", , answer of course "yes", short of that, i'm not sure else without knowing more in particular may stuck.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -