When you use the Java Robot class, you’re poking your head out into the native operating system, and if you mess up with your GUI events - at least on a Mac OS X system - a lot of bad things can happen. Okay, what really happened is that while developing this Java Robot example code on my Mac, I had to reboot it about 10 times.Here's the ultimate guide of 2019 for Java developers to use Visual Studio Code to develop, run, debug, and deploy their applications. Unsurprisingly, VS Code can do Java as well, and many Java champions and speakers have chosen it for their on-stage appearances and live demos.Please visit for the most up-to-date documentation. They remain available for archival purposes. These documentation pages are no longer current.