ExempleEvent.java

Go to the documentation of this file.
00001 import javasci.* ; 
00002 import java.io.*;
00003 
00004 
00005 
00006 class  ExempleEvent
00007 {
00008   
00009   public static void main(String[] args)  throws Exception
00010 
00011   {
00012     int i=0;
00013         
00014           Scilab.Exec("plot3d();");
00015         
00016         while (Scilab.HaveAGraph()!=false)
00017         {
00018                 Scilab.Events();
00019                 try
00020                 {
00021                         Thread.sleep( 1 );
00022                 }
00023                 catch ( InterruptedException e )
00024                 {
00025                 }
00026                 
00027                 System.out.println("Boucle Java sans fin "+i);
00028                   i++;
00029         }
00030         Scilab.Finish();
00031         
00032   }
00033 
00034 }
00035 

Generated on Sun Mar 4 15:03:58 2007 for Scilab [trunk] by  doxygen 1.5.1