pausing and resuming a exe from java code
From: zubairkhan (khan.zubair_at_gmail.com)
Date: 01/27/05
- Next message: Ishmael Rufus: "Re: Upgrading to New Versions of Java"
- Previous message: zubairkhan: "pausing and resuming a exe from java code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Jan 2005 07:14:52 -0800
hi,
I have task in which does following
i have a java application offviewer which shows simulation grafics form
a file test.off
when ever is start this programme it starts suzana.exe it is a
simulation programme it writes the data related to simulation (voxel
format) in test.cvx,
whenever test.cvx is changed the java application(using file monitors)
displays "file changed test.cvx" on the console and starts gen.exe
which reads the changed test.cvx and changes the data in test.cvx to
off data and writes to test.off
when test.off is changed the java application (using file monitors)
displays "file changed test.off" on the console and reads test.off and
displays the off data in the 3d grafical format on a frame window.
the problem is suzana.exe is continiously chanign the contents of
test.cvx(it is very fast) i need to pause this process( suzana.exe )
for some time and again resume it. so that my application works well.
i have tried it using multithreding concept wait() and notify() methods
but it giving exception.
i am new to java can any one help me abt this... thanku
altlest tellme how to pause a process and resume it after some time in
windows are there any tools available for this....
thanku
- Next message: Ishmael Rufus: "Re: Upgrading to New Versions of Java"
- Previous message: zubairkhan: "pausing and resuming a exe from java code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|