I am doing my homework right now. my program is providing 3 slider that user can choose RGB value and fill the color in rectangle. also everytime when the user slide the slider, there should be a JTextField can show the value which the user choose.
my problms are:
I don't know how I can write the value from the slider to JTextField.
I want to write the value into JTextField and by the time, the slider should slide to the value which I just enter.
is there any one can help me how I can do those 2 things?