How to make a Java swing application expire after a certain time?

1

Good morning, it happens that I have my Java Swing application .... And I'm going to install them to several clients that want to know and try to know if they like it and decide to buy it ... But how can I make the application? start for a month and then stop starting ...

I thought to make the application read the current date from the pc or the internet and compare it with the one I programmed the application, but in case the computer does not have internet, the application will work with the computer, but the date of the computer can also be changed manually ...

How can I do? Thanks.

    
asked by Nelson Sepulveda 02.02.2018 в 17:49
source

1 answer

1

An Alternative is to make a validation at the network level, for example, to place as a business model that the test period requires an Internet connection , so that you create a small service or code to validate the date every time you enter the user in a login or simply by opening the application at this time the application (software) will validate the date, if it complies with the period (date range established) it will open If it does not comply or can not be connected to the network, it will not allow its use.

I hope it's useful !, Regards

    
answered by 10.07.2018 в 23:00