Hi,
Am doin this project that is suppose to simulate to a person how a storage device works. Am using a Panel to represent the device and a number of labels to represent the cells in the device. Each cell represents a single character.
When text is entered into a dialog box, the program is suppose to show the text being saved in the cells. I do this by just changing the color of the labels that will be affected.
However, this process is done very fast. I need to be able to control the speed at which the labels change color. I,ve tried inserting the code Thread.sleep(500) into my "Change color" loops but my program just hangs momentarily then executes at normal speed.
Please Help!
Thanks in advance.
Am doin this project that is suppose to simulate to a person how a storage device works. Am using a Panel to represent the device and a number of labels to represent the cells in the device. Each cell represents a single character.
When text is entered into a dialog box, the program is suppose to show the text being saved in the cells. I do this by just changing the color of the labels that will be affected.
However, this process is done very fast. I need to be able to control the speed at which the labels change color. I,ve tried inserting the code Thread.sleep(500) into my "Change color" loops but my program just hangs momentarily then executes at normal speed.
Please Help!
Thanks in advance.