JNI with GUI refresh..



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

I using java.swing.

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

.



Relevant Pages

  • GUI refresh with JNI thread..
    ... I working on some graph application.. ... with JNI thread (C prog) ... ... displaying the Output of C prog.. ... a Java thread continuously monitoring C ...
    (comp.lang.java.gui)
  • JNI with GUI refresh..
    ... I working on some graph application.. ... with JNI thread (C prog) ... ... displaying the Output of C prog.. ... a Java thread continuously monitoring C ...
    (comp.lang.java.programmer)
  • GUI refresh with JNI thread..
    ... I working on some graph application.. ... with JNI thread (C prog) ... ... displaying the Output of C prog.. ... a Java thread continuously monitoring C ...
    (comp.lang.java.help)
  • Re: memory delete problem
    ... > I am addig a node, displaying the LL contents, reversing the LL and ... > I have given the prog below for your referecne ... You need to allocate enough space for a structure but you only allocate ...
    (comp.lang.c)
  • Re: Foto Archivierung
    ... Scheint ja das einzige Prog. ... das gut mit IPTC umgehen kann. ... Als Grundkonzept die Speicherung von hierarchischen Schlüsselwörten ... Allerdings müsste ich mich in Java und Eclipse erst etwas einarbeiten. ...
    (de.comp.os.unix.apps.kde)