class variable access from runnable

Can someone please clarify to me based on the following code: when a thread is launched will the class variables be accessible without the final key word?

Thanks

publicvoid updateTable()

{

Runnable runnable =new Runnable()

{

publicvoid run()

{

try{

if(index > -1 && isConsoleStopped()){//timer not stopped

//System.out.println("Timer stopped");

if (eventConsole !=null && eventConsole.getConsoleTimer() !=null)

eventConsole.getConsoleTimer().stop();

fireTableChanged(tme);

if (consoleTable ==null)return;

eventConsole.resetCurrentRow();

if(newEventPosition == EVENTS_ON_BOTTOM){

consoleTable.scrollRectToVisible(new Rectangle(0,

(getRowCount()*consoleTable.getRowHeight()),0,

consoleTable.getRowHeight()));

}

else{

consoleTable.scrollRectToVisible(new Rectangle(0,

consoleTable.getRowHeight(),0,

consoleTable.getRowHeight()));

}

}

}

catch (Exception e){

e.printStackTrace();

}

finally{

//System.out.println("Timer started");

//if (eventConsole != null && eventConsole.getConsoleTimer() != null)

eventConsole.getConsoleTimer().restart();

}

}

};

[2529 byte] By [murthy64a] at [2007-10-2 6:22:17]
# 1
Well... you could always try it ;)Your class member variables should be accessible from your anonymous inner class without needing to be marked final.
KPSeala at 2007-7-16 13:24:02 > top of Java-index,Desktop,Core GUI APIs...
# 2
> Well... you could always try it ;)> > Your class member variables should be accessible from> your anonymous inner class without needing to be> marked final.Does it mean the class variables have to be declared static? Thanks!
murthy64a at 2007-7-16 13:24:02 > top of Java-index,Desktop,Core GUI APIs...
# 3
No. Your anonymous inner class (your Runnable) should be able to access your (instance) member variables.It should also be able to access your static class variables.Are you experiencing a specific problem?!
KPSeala at 2007-7-16 13:24:02 > top of Java-index,Desktop,Core GUI APIs...