<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel><title>Comments on: How to take screen shots in Java</title> <atom:link href="http://viralpatel.net/blogs/2009/01/how-to-take-screen-shots-in-java-taking-screenshots-java.html/feed" rel="self" type="application/rss+xml" /><link>http://viralpatel.net/blogs/2009/01/how-to-take-screen-shots-in-java-taking-screenshots-java.html</link> <description>Tutorials, Java, J2EE, Struts, AJAX, JavaScript, CSS, Web 2.0, MySQL, Articles</description> <lastBuildDate>Wed, 08 Feb 2012 10:36:26 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: prashant ingale</title><link>http://viralpatel.net/blogs/2009/01/how-to-take-screen-shots-in-java-taking-screenshots-java.html/comment-page-1#comment-19554</link> <dc:creator>prashant ingale</dc:creator> <pubDate>Sat, 24 Dec 2011 15:48:47 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=731#comment-19554</guid> <description>i have managed to take screenshot but i am failing to display it . It gives nullpointerexception for following code JPanel p=new JPanel(); Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); Rectangle screenRectangle = new Rectangle(screenSize); Robot robot = new Robot(); BufferedImage image = robot.createScreenCapture(screenRectangle); ImageIcon img=(ImageIcon)image; Image im=img.getImage(); Graphics g; g.drawImage(im,0,0,p);plz help me................</description> <content:encoded><![CDATA[<p>i have managed to take screenshot but i am failing to display it . It gives nullpointerexception for following code<br /> JPanel p=new JPanel();<br /> Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();<br /> Rectangle screenRectangle = new Rectangle(screenSize);<br /> Robot robot = new Robot();<br /> BufferedImage image = robot.createScreenCapture(screenRectangle);<br /> ImageIcon img=(ImageIcon)image;<br /> Image im=img.getImage();<br /> Graphics g;<br /> g.drawImage(im,0,0,p);</p><p>plz help me&#8230;&#8230;&#8230;&#8230;&#8230;.</p> ]]></content:encoded> </item> <item><title>By: Chetan</title><link>http://viralpatel.net/blogs/2009/01/how-to-take-screen-shots-in-java-taking-screenshots-java.html/comment-page-1#comment-12333</link> <dc:creator>Chetan</dc:creator> <pubDate>Thu, 25 Mar 2010 07:28:45 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=731#comment-12333</guid> <description>Great!!!!!</description> <content:encoded><![CDATA[<p>Great!!!!!</p> ]]></content:encoded> </item> <item><title>By: Viral Patel</title><link>http://viralpatel.net/blogs/2009/01/how-to-take-screen-shots-in-java-taking-screenshots-java.html/comment-page-1#comment-1149</link> <dc:creator>Viral Patel</dc:creator> <pubDate>Wed, 18 Feb 2009 09:15:49 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=731#comment-1149</guid> <description>Thanks Suresh for the link.</description> <content:encoded><![CDATA[<p>Thanks Suresh for the link.</p> ]]></content:encoded> </item> <item><title>By: Suresh G</title><link>http://viralpatel.net/blogs/2009/01/how-to-take-screen-shots-in-java-taking-screenshots-java.html/comment-page-1#comment-1027</link> <dc:creator>Suresh G</dc:creator> <pubDate>Mon, 16 Feb 2009 05:03:53 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=731#comment-1027</guid> <description>See this site   http://www.screencast-o-matic.com/ It uses the Robot class to create the screen cast</description> <content:encoded><![CDATA[<p>See this site <a href="http://www.screencast-o-matic.com/" rel="nofollow">http://www.screencast-o-matic.com/</a><br /> It uses the Robot class to create the screen cast</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: viralpatel.net @ 2012-02-09 10:39:23 -->
