Hi
I am totally new to java.
Could somebody help me to convert the below java code to an executable file? (double click to run in win 7)


var intInterval = 0

function importdata(){
filename = "C:\1.txt";
AmiBroker1 = new ActiveXObject("Broker.Application" );
AmiBroker1.Import( 0, filename, "custom.format" );
AmiBroker1.RefreshAll();
}

It simply imports numerical data from 1.txt into an application amibroker.
Custom.format gives values in a particular sequence.

Also this import function has to be in a loop of 60 seconds.

Much appreciated your help is..