Tuesday, July 27, 2010

How to simulate mouse and key input

try {

Robot robot = new Robot();

// Simulate a mouse click

robot.mousePress(InputEvent.BUTTON1_MASK);

robot.mouseRelease(InputEvent.BUTTON1_MASK);

// Simulate a key press

robot.keyPress(KeyEvent.VK_A);

robot.keyRelease(KeyEvent.VK_A);

} catch (AWTException e) {

}

http://www.exampledepot.com/egs/java.awt/Simulate.html

Monday, July 26, 2010

Jsch SSH library

"JSch is a pure Java implementation of SSH2. JSch allows you to connect to an sshd server and use port forwarding, X11 forwarding, file transfer, etc., and you can integrate its functionality into your own Java programs."

http://sourceforge.net/projects/jsch/

Update

A new domain is the way to go, I guess.

I prefer java to .NET because it's more scalable, works on multiple platforms, and it also has more IDEs (i prefer eclipse). Despite that I don't understand how Microsoft's lawyers can see my site as a threat. I very much doubt they are going to change their minds.

In the meantime please visit my blog for Java tutorials and source code.

Saturday, July 24, 2010

Microsoft cease and desist letter

Hello my name is Mick Rickinson, I'm a swedish java programmer. Over the last week Microsoft sent me a cease and desist letter, they complained that my domain name http://www.micksoft.com/ infringes on the Microsoft trademark and requested that I hand my domain over to them immediately or otherwise I could risk a lawsuit. I chose the domain name because my name is Mick and I write software, mostly in java.

However Microsoft refuses to help me setting up a new site. Meaning that I have to pay for the registration of a new domain. Currently no one can access my website and I'm losing money while the site is offline.

I have been the owner of this domain name for a year and I can understand why they are doing this, it is a site about Sun Java programming and Microsoft has its own .net platform which competes with Java. However I think Microsoft have been a bit harsh on this, refusing to offer any help at all!
So what do you think I should do about this?

welcome

:)