Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-13-2008, 11:46 PM
Member
 
Join Date: Aug 2008
Posts: 9
Rep Power: 0
aneuryzma is on a distinguished road
Default how can I update an image which is captured from a video in real-time ?
This code inside my jFrame class

...
//Loading video streaming
BoundaryMJPEGConnection bMconnection = new BoundaryMJPEGConnection( url.openStream());

img = Toolkit.getDefaultToolkit().createImage(bMconnecti on.getNextImage());

}



public void paint(Graphics g) {

g.drawImage(img,5,20,this);

}

I've also tried to use the update() method but it doesn't work..

thanks
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DevWeek India 2008- No Marketing Bushwah, Only Real Information jax Eclipse 0 08-01-2008 12:59 PM
DevWeek India 2008- No Marketing Bushwah, Only Real Information jax Java Announcements 0 07-31-2008 12:33 PM
real world java Zosden Forum Lobby 6 06-25-2008 06:39 AM
Converting multiple banded image into single banded image... Image enhancement archanajathan Advanced Java 0 01-08-2008 06:29 PM
Regarding conversion of Image file to Video file RamaDeviMsc Advanced Java 0 06-25-2007 03:28 PM


All times are GMT +2. The time now is 12:59 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org