The
Java Media Framework (JMF) provides support for audio/video content, and has ways to tie these to Swing components. I haven't used JMF for interfacing with a webcam, but this is the first place I would look for information.
[ January 22, 2007: Message edited by: Nathan Pruett ]