Results 1 to 2 of 2
  1. #1
    ravi.joshi53 is offline Member
    Join Date
    Oct 2011
    Posts
    24
    Rep Power
    0

    Question 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.

    Thank you...

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

Similar Threads

  1. newbie drawing two circles simultaneously
    By nadeemshafi9 in forum Threads and Synchronization
    Replies: 7
    Last Post: 01-09-2011, 01:53 PM
  2. Little help with Drawing canvas needed
    By Gfunk in forum New To Java
    Replies: 4
    Last Post: 03-30-2010, 11:15 AM
  3. Issues with updating a canvas in Java
    By Sandworm in forum Advanced Java
    Replies: 1
    Last Post: 11-19-2009, 08:58 AM
  4. Replies: 0
    Last Post: 07-05-2009, 12:31 PM
  5. Updating Graphics
    By Greedful in forum Java 2D
    Replies: 2
    Last Post: 07-20-2007, 07:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •