want to create a whiteboard app

Hi there,

I'm wanting to create a simple whiteboard application. Nothing fancy, just an app that allows me to select a pencil tool and draw shapes on a whiteboard. Does anyone know where I can obtain sample code on how to do this?

I've had a look at numerous tutorials on Java2D but those tutorials only show basic method calls like drawOval(..). That's all well and good, but I require code that demonstrates how to pick a tool, like a pencil tool (which in turn changes your cursor to look like a pencil), and allows you to draw on the panel any shape you desire and fill a shape with a different tool, like a paint bucket tool.

I require this whiteboard app as part of a collaborative client/server application which includes chat capabilities. I've got the chat part already completed. Now I just need to research this whiteboard part.

Please advise,

Alan

[900 byte] By [ashiersa] at [2007-11-27 2:01:41]
# 1
Hi Alan,Try out http://mediajuggler.dev.java.net. It's only alpha so far but might be interesting to youBest Regards,Alexey
AlexeyUshakova at 2007-7-12 1:42:03 > top of Java-index,Security,Cryptography...
# 2
Hi,With the help of another person, I already written what you ask for and I will release the code this week at https://jcanvas.dev.java.net/Contact me if you can't wait for it.
furtive_minda at 2007-7-12 1:42:03 > top of Java-index,Security,Cryptography...