public class JextRecentMenu
extends java.lang.Object
Constructor and Description |
---|
JextRecentMenu(JextFrame parent,
javax.swing.JMenu recentMenu) |
Modifier and Type | Method and Description |
---|---|
void |
createRecent()
Creates the recent menu from an array of
String
containing paths to the most recently opened files. |
protected void |
finalize()
Patch
-> Memory management improvements : it may help the garbage collector.
|
void |
removeRecent()
Cleans recent menu.
|
void |
saveRecent(java.lang.String file)
Add an item to the recent menu.
|
public JextRecentMenu(JextFrame parent, javax.swing.JMenu recentMenu)
public void removeRecent()
public void createRecent()
String
containing paths to the most recently opened files.mnu
- The menu where to put last opened filespublic void saveRecent(java.lang.String file)
file
- The path of the file to be addedprotected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
Copyright ? 2002 Romain Guy.