Powered By Blogger

Wednesday, February 15, 2012

code to capture screenshot of desktop in java


import java.awt.Rectangle;
import java.awt.Robot;
import java.awt.Toolkit;
import java.awt.image.BufferedImage;
import java.io.File;

import javax.imageio.ImageIO;

public class screen2image
{
public static void main(String[] args) throws Exception
{
Robot robot = new Robot();

BufferedImage screenShot = robot.createScreenCapture(new Rectangle(Toolkit.getDefaultToolkit().getScreenSize()));
ImageIO.write(screenShot, "JPG", new File("screenShot.jpg"));
}
}

Saturday, February 4, 2012

Tuesday, September 14, 2010

Microsoft on its Way...

Microsoft has finally unveiled the Arc Touch Mouse, and, it’s just as unconventional as the first one... The Arc Touch Mouse moulds itself from curved to flat, and can be used on nearly any surface, tracjing with its 2.4GHz Nano transceiver and Microsoft BlueTrack technology. The option of the flat position also makes the Arch Touch more portable than its predecessor. Featuring a capacitive touch and scroll sensitive strip, it completely does away with the mouse wheel, though Microsoft obviously tried to retain the effect – using haptic feedback to make little vibrations and a little speaker to make little clicks, all to simulate the feel of a mouse wheel.Sleek eye-candy, the Arc Touch Mouse is 15mm thick and certainly a fashion statement, and does offer a new ways to has finally unveiled the Arc Touch Mouse, and, it’s just as unconventional as the first one... The Arc Touch Mouse moulds itself from curved to flat, and can be used on nearly any surface, tracjing with its 2.4GHz Nano transceiver and Microsoft BlueTrack technology. The option of the flat position also makes the Arch Touch more portable than its predecessor. Featuring a capacitive touch and scroll sensitive strip, it completely does away with the mouse wheel, though Microsoft obviously tried to retain the effect – using haptic feedback to make little vibrations and a little speaker to make little clicks, all to simulate the feel of a mouse wheel.

Saturday, August 21, 2010

SOFTWARE ENGINEERING

Q:How to construct Software Requirement Specification (SRS) Document?Is there any Specific Procedure to construct? If yes Please Explain?

JAVA SCRIPT

Hey friends...
Share some views about java script.

Friday, August 20, 2010

WELCOME TO THE ARENA OF TECHNOLOGY....

HEY...FRIENDS
This is Mohit here...I found a new way to help each others in this era of technology.
I just constructed a Blog for the entire MCA3 to share there innovative ideas with each others and to share there problems.So plz give your suggestions in the form of comments to share your views on topics.This activity help us alot in our Learning.......GUD LUCK