"camel" wrote : Bela,
  | I looked at the TreeCacheView2.java source.  One reason the GUI may not be 
updating correctly is because TreeCacheListener events are causing the GUI to 
be updated on a non-Swing event queue thread.  It's easy to fix, for each 
method of the TreeCacheListener interface, wrap the code with:
  | 
  |   | // Example, nodeCreated method:
  |   | public void nodeCreated(Fqn fqn) {
  |   |   EventQueue.invokeLater(new Runnable() {
  |   |     public void run() { 
  |   |        // Original code goes here
  |   |     }
  |   |   });
  |   | }
  |   | 
  | 
  | Did you verify this works ? I'll do it right away once you let me know 
whether you have tested it.
  | Bela
  | 
  | 
  | "bela" wrote : You are right; the reason is that I'm not a good GUI 
developer... :-)
  |   | 
  |   | If anyone volunteers fixing the GUI, I'd be more than happy !
  |   | Maybe even write a better GUI that what we currently have... 
  |   | 
  |   | Bela

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854239#3854239

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854239


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to