AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

JNI with GUI refresh..

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java GUI Toolkits
View previous topic :: View next topic  
Author Message
gNash
Guest





PostPosted: Thu May 17, 2007 7:11 am    Post subject: JNI with GUI refresh.. Reply with quote



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(;Wink{ Keep on checking the status of
C. and display graph. if C-end just ..break}


Thanks in advance,

gNash...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java GUI Toolkits All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.