Lasse Riis wrote:

Hi

I've been looking in to your answers and trying to build my app. But I'm stuck now. I restructured it to use some methods to build the app, as oppose to a huge main(). It should be very clear to anyone that I am not very familiar with Java. So sometimes I have no idea what I'm doing. And usually just follow my IDE's (eclipse) reccommendations (hence the 'static' methods). So I hope you don't spill your coffee laughing when looking at my code :). But bare in mind, this is the first thing I've ever written.

Lasse, you're completely mad! :-P One problem I see with your code is manually creating a Graphics object and trying to paint to it. I think you should try doing Component.getGraphics(), but I'm not sure which component you should choose to paint to. Personally, I would create the image in the SVG DOM, and use event handlers to move it around.

Hope that helps, at least a little bit!
James Shaw

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to