Pages: [1]   Go Down
Author Topic: Simple way to embed a web page in a processing sk  (Read 1062 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 9
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am new to processing. I have a small arduino based bot that is controlled remotely by a processing app. This bot also now hosts a wi-fi IP camera. I am trying to embed the camera feed web page from the camera in the Processing app so that I can control the bot remotely and see the IP Camera feed at the same time
I have looked quite a lot for a simple library I could incorporate into my Processing app that would display the web page but have not found anything yet
Appreciate any help provided
tks
Logged

UK
Offline Offline
God Member
*****
Karma: 13
Posts: 903
Twitter: @simonmonk2
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

'Regular Java' has a JPanel that will display HTML:

http://www.java2s.com/Code/Java/Swing-JFC/JEditorPaneandtheSwingHTMLPackage7.htm

You may have to turn the Java app round so that you have a Java Swing user interface that calls the communications part of your Processing code.
Logged

--
My New Arduino Book: http://www.arduinobook.com

0
Offline Offline
Tesla Member
***
Karma: 141
Posts: 9470
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why not put your video and controls in a web page? The below is somewhat of an example.

http://web.comporium.net/~shb/wc2000-PT-script.htm
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

0
Offline Offline
Newbie
*
Karma: 0
Posts: 9
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you for your advice. I really belive there must be a way to do this in processing with an embedded web page. Surely somebody has embedded a web page/browser in a processing app ?

tks again
N
Logged

Pages: [1]   Go Up
Jump to: