how i can make random number "double" generator in java eclipse between 0.8 and 4.5 and change color of the screen :
1)If the RANDOM value is over 3.5, as soon as the value comes to the screen,the page will be red, when it is between 2.5 and 3.5 it will be orange, when it is between 1.2 and 2.5 it will be yellow and when it is between 0.8 and 1.2 it will be green
2)When the RANDOM value is over 3.5,there should be sent SMS to the number you specified before(normally this number belongs to the hospital or the doctor).