[Logo] VUE Users Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Login] Login 
If this is your first visit to the new VUE forums, you can login using the same username and password you currently use on VUE's website. If you need an account, please create one through VUE's website. If you have problems, please contact us via the contact form on http://vue.tufts.edu
Trouble repainting a component in DockWindow  XML
Forum Index » Developers' Corner
Author Message
jason losco


Joined: 01/06/2009 06:59:39
Messages: 1
Offline

I have added a component (JScrollPane) in a DockWindow and displayed the window in VUE. I try to replace the JScrollPane when a button is clicked then invalidate and repaint the DockWindow but the changes are not reflected. How do I force my window to repaint?

Thank you for your help.

jason
Mike Korcynski

[Avatar]

Joined: 08/08/2008 11:36:13
Messages: 749
Offline

Hi Jason,

If you'd like to share your portion of the code, I may be able to give you a better idea, but my initial thought is that if you're in a pinch you may want to try the static method:

DockWindow.ImmediatelyRepaintAllWindows();

and if that works, work backwards from there to just force a repaint of your dockwindow.

Hope this helps.

Mike
 
Forum Index » Developers' Corner
Go to:   
Powered by JForum 2.1.8 © JForum Team