}
private static void doState()
{
prepareProperties();
WrappedService w = getService();
int state = w.state();
System.out.print("Name : ");
System.out.println(w.getServiceName());
System.out.print("Installed : ");
System.out.println(w.isInstalled(state));
System.out.print("Running : ");
System.out.println(w.isRunning(state));
System.out.print("Interactive : ");
System.out.println(w.isInteractive(state));
System.out.print("Automatic : ");
System.out.println(w.isAutomatic(state));
System.out.print("Manual : ");
System.out.println(w.isManual(state));
System.out.print("Disabled : ");
System.out.println(w.isDisabled(state));
System.out.print("Paused : ");
System.out.println(w.isPaused(state));
System.out.print("Unkown : ");
System.out.println(w.isStateUnknown(state));
}