|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Java Swing display image stream
Gah, I can't find it! I had the code around here for a simple java based web browser that would show you how to do it.
Eh, found the code online at http://www.dreamincode.net/code/snippet919.htm. If you look through that you will see how to set up a Swing panel to display a web page, which is how the camera natively outputs it's picture. Should be enough to get you started. Edit: A bit more searching and I found this, which seems to be a better example. Last edited by wdell : 31-01-2011 at 22:14. |
|
#2
|
|||
|
|||
|
Re: Java Swing display image stream
Thanks guys!
I find Netbean's in-built GUI builder a good way to do Swing. Doesn't teach me HOW to actually use Swing, but is useful for getting stuff done, which is what matters at the moment. (Like using Dreamweaver to build a website instead of notepad.) So far, I've written some code based on some parts of the BigBrother project, namely the parts I think I understand. (Which is AxisCamera, parts of AxisCameraProcessor). Everything is compilable and debug-ready and I'll see what happens when I get to the shop tomorrow afternoon. And if it works, we'll be sharing our dashboard code so everyone can use it. |
|
#3
|
|||
|
|||
|
Re: Java Swing display image stream
We are looking at using Processing as our front and back end for our camera.
Processing.org |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|