FileMenu is a java component. It provides the general functionality of a FileMenu that appears in almost every application. Instead of writing the code for the File menu every time, developers can use this component to get the entire functionality for just two lines of code. FileMenu comes with the following menu items: New, Open, Save, SaveAs, Recent Files, and Exit. The component is designed to suit almost every user requirement. The default functionality of every menu item can be overridden by the user defined functionality. Hence it is totally customizable.
Please see the sample code at http://www.makelogic.com/FileMenu/FMSamples.htm They show how to use the component as is. Some other samples also show how to disable the default functionality and add user defined functionality. Please see http://www.makelogic.com for more.