Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1640

GUI refresh with JNI thre

From "gNash" <gnash@THRWHITE.remove-dii-this>
Subject GUI refresh with JNI thre
Message-ID <1179382851.665100.322950@y80g2000hsf.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
Date 2011-04-27 15:34 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Hi to all.

        I working on some graph application.. in that i communicating
with JNI thread (C prog) ...  i calling C prog from Java and
displaying the Output of C prog..

       flow..
         when i say start.. a Java thread continuously monitoring C
prog output  and C prog running on separate thread..

      Problem is..
         When i switch to other window (alt + tab) and when i come
back.."i can see only the graph area used to plot the graph.. rest of
the areas are just appearing as blank space.. the file menu, tool bars
are not appearing untill C-process get complete".. Once the process
completed ie. C prog complete the execution the GUI getting appear
very nice...

       Help..

           Is there any procedure or library method or tricky to keep
on updating / refreshing the whole GUI ... on my monitoring process
itself..

           Monitoring prog... for(;;){ Keep on checking the status of
C. and display graph. if C-end just ..break}


Thanks in advance,

gNash...

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | Next | Find similar | Unroll thread


Thread

GUI refresh with JNI thre "gNash" <gnash@THRWHITE.remove-dii-this> - 2011-04-27 15:34 +0000

csiph-web