[SOLVED] Image drawing, saving
My problem is I need to draw a 7 segment display with the appropriate bits lit up and then pass a single Image Object of this to a different object. I have thought of a couple of ways of doing this but am unable to implement either:
1) (preferred) Draw the appropriate representation of the 7-seg using paint( Graphics G) and then somehow get an Image representation of what I have drawn. Perhaps this would involve saving as a temporary .gif and reloading the image?
2) concatenate 7 images representing the appropriate bits of the 7 seg either turned on or off (so I would have to have 14 images pre-saved to build from)
PS. am I posting in the correct forum?