Want to know about simultaneously drawing graphics in canvas and updating text inside
Hi, I am developing a simple GUI application containing three Panel inside a window.
Left JPanel contains a TextArea having some text written on it. Right JPanel (buttonPanel) contains some JButton and JTextField. Centeral part contains an Applet, which just have a canvas with ItemListener.
I want to hightlight any text (inside JText area) simultaneously with drawing simple 2D graphics in the canvas accoring to the user input provided from the buttonPanel.
Should i use thread here? I am not very friendly with using threads. Please explain me in details.
Re: Want to know about simultaneously drawing graphics in canvas and updating text in