VisualDCT.getInstance().getRecentFilesMenu().addFile(new File(fileName));
VisualDCT.getInstance().getRecentFilesMenu().addFile(new File(fileName), true);
public void loadRecentFiles(){	final String prefix = "file";	for (int i = 0; i<Constants.MAX_RECENT_FILES; i++)	{		String name = prefix+String.valueOf(i); 		String fileName = prefs.get(name, null);		if (fileName!=null)		{			try			{				VisualDCT.getInstance().getRecentFilesMenu().addFile(new File(fileName));			}			catch (Exception ex)			{			}		}		else			break;	}}