views:

83

answers:

3

Is there possible to code the Java Swing application to run when Windows start up?

A: 

You could make your Java class into a Windows service.

Here's a stackoverflow question about how to do it.

You can set a service to start up automatically by setting it's Startup type to Automatic in the Windows service editor.

Gordon
Windows Service is not obligated to run at system startup.
TBH
A: 

Create a batch file which runs your program, save it in Start menu > Programs > Startup

for example in win XP this folder would be C:\Documents and Settings\All Users\Start Menu\Programs\Startup or C:\Documents and Settings[YOURUSERNAME]\Start Menu\Programs\Startup

Louis Rhys