Good morning, I need to develop a desktop application in Java that works in this way:
When the users have inserted correct datas, a timer starts and the application works in background, while using the system.
Once the users decide to close the session, they have to logout from this application, then the timer will stop and the software will be again in full-screen
Below I'll explain how the common-use has to be: 1) I start the PC 2) The PC shows to me the application with USERNAME and PASSWORD 3) I type USERNAME and PASSWORD 4) A timer starts 5) I use the PC for X hours 6) I stop to use the PC, then I logout from the application 7) The timer stops, then return to 2)
Is there any API that I can use?
Thank you Regards
There is no API. In-fact you are trying to design a software which would run at end customer machine but would be the only one accessible. Ideally Java is not used for such purposes. Still if you want to accomplish through Java only break your problem to small tasks and start working one by one: 1) First you need to write java desktop application working as normal java applications (being run by developer every time) 2) Then include your database connectivity 3) include your clocks and functionality to behave the way you need 4) Finally you can use the java run time environment to ensure that it takes the control of the system 5) Lastly your program would need to be fit in start up menu of Windows to ensure it starts just the say it starts antivirus on boot up. and there you go ....
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.