Hi,
my code is as follows
public void incomingMessageThread() throws FileNotFoundException, IOException
{
new Thread()
{
BuildData a = new BuildData();
for(int i = 0; i<100; i++)
{
a.parseDataFile("_"+i+"/outgoingMessages");
}
}.start();
}
I get told its an illegal start of line. If I run the code outside a thread it works fine. Any ideas whats wrong?