O'Reilly logo

iReport 3.7 by Shamsuddin Ahammad

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating GUI with menus

We are going to create a GUI (JFrame form with menus) from which the reports will be called when the menu item is clicked by the user.

  1. Go to File | New File....
  2. Select Swing GUI Forms from the Categories: section and MDI Application Sample Form from the File Types: section.
    Creating GUI with menus

    Note

    MDI Sample Application Form is a JFrame application with pre-defined common menu items, containing a JDesktopPane to which internal frames may be added, at runtime. This template can be used as the main window for MDI applications. As our report viewer is a JInternalFrame, we have chosen MDI form.

  3. Press Next >.
  4. Enter MainUI as the Class Name:.
  5. Select

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required