Repaint my whole layout for a caret???

Discussion in 'Java' started by Patrick Meuser, Jul 4, 2003.

  1. I am working on an HTML editor that has embedded splitter panels and panels
    in JDK1.1. Most of the user interface was developed from the ground up as a
    frameworks of sorts that incorporates double buffering.. Anyway, I'm trying
    to implement a caret in the editor panel which lives in a splitter pane in a
    splitter pane. The caret exists as a thread with a reference to any JDK1.1
    component, fine.. The component contains the caret and the caret
    invalidates the component in which it lives, however my running logs
    indicate that every component in the embedded splitters are repainted
    (including a tree and properties view)..

    Does anyone know a quick way to disable this annoying behaviour? I mean if
    I invalidate the editor pane with the caret in it, the clip is set for that
    panel, yet the repaint seems to affect the entire layout up to the frame
    window, this affects the refresh times a great deal more than I had planned
    and seems to slow down text entry accordingly..

    Any help is appreciated..

    Patrick Meuser
     
    Patrick Meuser, Jul 4, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rick Spiewak
    Replies:
    3
    Views:
    3,220
    Rick Spiewak
    Aug 26, 2003
  2. RobertH
    Replies:
    1
    Views:
    760
    Steve C. Orr [MVP, MCSD]
    Nov 4, 2003
  3. NWx
    Replies:
    4
    Views:
    3,004
    Kevin Spencer
    Feb 19, 2004
  4. Replies:
    1
    Views:
    648
    John Timney \(MVP\)
    Jun 19, 2006
  5. \A_Michigan_User\
    Replies:
    2
    Views:
    942
    \A_Michigan_User\
    Aug 21, 2006
Loading...

Share This Page