Ho il seguente main di un programma java:

public static void main(String[] args) {


javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
new MyApplication();
if (args != null) <-- errore
OpenFile.openFile(args[0]);
else
OpenFile.openFile(null);

}
});
}
Il compilatore (Eclipse) mi dà il seguente errore:
Cannot refer to a non-final variabile args inside a inner class

Come faccio a risolvere questo problema?