Link to home
Start Free TrialLog in
Avatar of Ravi Singh
Ravi SinghFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Java - start prog on pc start and other funtions

Hi,

I am writing a small utility program for myself. I am wanting the program to have the following functionality:

1. Program should automatically run when the OS runs.
2. And i want to be able to log off, restart and shutdown the system when I want (i will use buttons for this).

The OS i am using for myself is MS Windows XP, I am aware that I could use the Win32 API (by using JNI), but I have hardly none Win32 API and the JNI experience. Is there a java class solution for this?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of TimYates
TimYates
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ravi Singh

ASKER

Thanks Tim :)
Did it work?

Cool :-)

Good luck!!

Tim