Archive for December 2008
shutdown your system using Java program
// save all the open programs and files before you run this program
import java.io.*;
class Shutdown{
public static void main(String arg[]){
Runtime runtime = Runtime.getRuntime();
try{
Process proc = runtime.exec(“shutdown -s -t 0″);
System.exit(0);
}
catch(Exception e)
{
System.out.println(“e”);
}
}
}
javaFX
JavaFX is the Platform for New applications for a New World
JavaFX is here! Join us for the online event that will change the way you imagine, create and build Rich Internet Applications.
On December 4, 2008, visit javafx.com and see how JavaFX — an expressive, rich client platform — can help you create and deliver Rich Internet Applications (RIAs) with immersive media and content across all screens of your life. Come back to javafx.com on December 5 to see Jonathan Schwartz, CEO and President of Sun Microsystems, and Anil Gadre, EVP Application Platform Software, plus special guests from Sun’s JavaFX Vision Forum and Showcase.
Experience how JavaFX allows RIA developers to:
• build engaging visual experiences by expanding capabilities in Java
• break free from the browser with the power to deploy RIA on multiple screens
• integrate graphics, video, audio, animation and rich text easily and intuitively
• express yourself, across all screens of your life
Sign up for an SMS reminder, so you won’t miss all the action! For more information on JavaFX, please visit javafx.com.
If you have any questions or feedback, please send a message to sun-webevent@sun.com


