MakeLogicTM - FileMenu API
v1.1

MakeLogicTM v1.1 API Specification

Complete functionality of a usual File Menu is packaged in one component called the FileMenu.

See:
          Description

Java Components from MakeLogic for Editors and IDEs
com.makeLogic.utils  

 

Complete functionality of a usual File Menu is packaged in one component called the FileMenu. Only two lines of code is needed to add this functionality to any GUI application

FileMenu fm = new FileMenu(jDesktopPane);

yourApplicationMenuBar.add(fm);

FileMenu

Please see the following links for more information

FileMenu
Download
Online Docs
Samples
Case Study
Press Release
FAQ

Here is a short description of the FileMenu functionality

New : Opens a new JInternalFrame in the client area of a Multi Document Interface (MDI) application. This event can be trapped and further functionality can be added

Open : Opens the FileChooser dialog box from where a user can select a file. The default behavior is to open the file and read the contents and show them in the client area. If it is a text file the ascii characters are read and shown. Incase the opened file is an image or some other media file, then the user needs to handle this event to do the needful. This event can be trapped and further functionality can be added

Save: Saves the contents of the current/active JInternalFrame into a file. If it is a new file, then the FileChooser dialog is opened, prompting the user to select/specify the file name where to save the contents. This event can be trapped and further functionality can be added

SaveAs: Opens the FileChooser dialog. User is prompted to select/specify the file name where the contents of the file will be saved. This event can be trapped and further functionality can be added

RecentFiles : Opens a flip menu. The menu items are the recently opened files. Selecting the file opens the file in a new JInternalFrame. The number of files shown can be modified

Exit: Prompts the user to save the modified data and then exits. If the data is not modified the application exits without prompting to save

Changes in FileMenu1.1:

The trial version of FileMenu 1.1 is built in with 'MakeLogic Version Manager'.  It creates a local folder 'MakeLogic Version Manager' in which some property files and error logs will be created. These files are used for real time bug reporting and other usage parameter reporting.

 

 


MakeLogicTM - FileMenu API
v1.1

Submit a bug or feature

MakeLogic is a trademark or regis.
Copyright 2002 MakeLogic. 19-111/1,Gauthamnagar,Malkajgiri,Hyderabad, AP, India