| Author |
Is it possible to run a Swing application on startup of PC
|
faraz Md
Greenhorn
Joined: Dec 17, 2010
Posts: 3
|
|
Hi,
I want to run a Swing application on start up of my system.
Is it possible to run the application,just after the startup of System.
Please help me....
Thanks in advance..!!
Regards
Faraz
|
Humans doesn't come in patches or versions
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
|
Since it has a user interface, there isn't any point in running it before somebody logs in. If you want to run it when somebody logs in, that's probably possible, but how you would do it depends on what operating system you were asking about.
|
 |
faraz Md
Greenhorn
Joined: Dec 17, 2010
Posts: 3
|
|
Thing is ..I want to create a gadget kind of thing with spring..As a desktop application....
Now,Whenever I run the through IDE or command promt ..the Gadget appears
What I want ..I want to run this gadget when i start my computer..
I hope..I am able to explain my requirement
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 4167
|
|
|
The question has nothing to do with Java and everything to do with your OS. Do you know how to schedule any program to run on computer startup?
|
luck, db
There are no new questions, but there may be new answers.
|
 |
faraz Md
Greenhorn
Joined: Dec 17, 2010
Posts: 3
|
|
Thanks Darryl...
Yesterday 11:45:14 AM Subject: Is it possible to run a Swing application on startup of PC
--------------------------------------------------------------------------------
The question has nothing to do with Java and everything to do with your OS. Do you know how to schedule any program to run on computer startup?
--------------------------------------------------------------------------------
I don't know how to schedule any program to run on computer startup...
But Thanks for the answer...I will look into it...any try to put solution as well
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32712
|
|
|
Faraz Md please read your private messages before you post again.
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
You can run Java programs upon PC startup using a service wrapper; look it up. However, it cannot interact with the desktop, so no user interface is possible.
You can run any Java program whenever a user logs in. In Windows, all you need to do is create a shortcut in the Startup folder of the start menu. Another option is using the Run part of the registry. In Linux it's different but still possible.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
 |
|
|
subject: Is it possible to run a Swing application on startup of PC
|
|
|