In our system, we want to have the user 1- enter a static picture of a building. The user should 2- click on some places in the picture, those places indicates building sensors/zones. Each time the user clicks on the picture, 3- s/he should be able to name this sensor/zone. The program 4- may allow the user to enter more than one picture for more than a floor in the building. The program should be able to access MySQL database, this DB is located on another pc and accessible through the network. A table in the DB will contain set of events with its corresponding sensors IDs and time of the event, this table is updated eventually. 5- The program should continually listen to the database through the netwrok connection and 6- check for a certain event keyword, if this event detected, the program should 7-know the corresponding sensor ID to this event, then 8- make this sensor blink on the screen that contains the building pictures 9- and make the program beep. 10- a popup should also appear to indicate the information needed (the sensor ID, time of event, name of event and the floor). 11- if the sensor ID that corresponds to the event doesn't match any ID that was entered by the user on the picture, nothing will blink but the popup should appear with the needed information and telling the user that this ID doesn't correspond any ID entered on the picture. 12- there should be a button on the popup if it is clicked, the popup will disappear and the sensor will stop blinking and stop beeping
Things to consider
1- you should provide us with the full source code.
2- the code should have comments to make it easy to understand.
3- the program should be fully written in java.
4- you have the right to use any libraries needed but you should provide us with the libraries you used.
5- the interface should be very friendly.
6- if there is any network configuration needed, please specify it.
7- the code you will provide us will be integrated to the code of other program that already exist. in the other program there will be a button when it is clicked this new part of the program will be launched. We want to make the integration easy, so please provide us with the code snippet that will be written in the action listener of the button in our program to launch the new part you wrote.