Leon.
Thanks for reply. What I have is a JAVA3D applet which can be run as application also.
(Using MainFrame() ). It uses an array of Lines to display a running digital clock to the
screen. I note that when I minimize the app and then restore it sometime later the time
is stuck in the time when I minimized...
This is an app which responds to a time stimulus every second to update its display
and hence make the clock tick. So it needs to be running all the time...not when
the user opens the window.
The code is pretty big, about 500 lines. I could post it if you want. Anyway here is
the code that converts the applet to an application. Please tell me if I need to add
some extra code here ...
public class DigitalClockApp extends Applet {
...
...
...
public static void main(String[] args) {
new MainFrame( new DigitalClockApp(), 256, 256);
}
}
/* end of class DigitalClockApp */
DigitalClockApp is my java class that does the work.
Thanks again,
abp
