Quick question on Swing.
Is it possible to import an image file, and then create an application which allows you to draw over the image.
Reason is this: I need to create an image consisting of grid lines on an X, Y basis. X being Time and Y being Depth. I want to be able to plot a line from any point on this grid to any other point which will be the function of X and Y.
I have already created something which draws the grid lines onto a JPanel, but am not sure how I will be able to draw over this component - and am wondering if there is an easier option?
I need some fresh thoughts, help is appreciated. cheers Static Apnea - snorkelling in a swimming pool without the snorkel?
Is it possible to import an image file, and then create an application which allows you to draw over the image.
Reason is this: I need to create an image consisting of grid lines on an X, Y basis. X being Time and Y being Depth. I want to be able to plot a line from any point on this grid to any other point which will be the function of X and Y.
I have already created something which draws the grid lines onto a JPanel, but am not sure how I will be able to draw over this component - and am wondering if there is an easier option?
I need some fresh thoughts, help is appreciated. cheers Static Apnea - snorkelling in a swimming pool without the snorkel?