Skip to main content

Introducing to Swing GUI Forms with Netbeans - Create new MDI Application Sample Form


Hi everyone,

In this tutorial, I explain to you on how to work with GUI Forms Java Desktop and configure Menu Bar and events that we can show a new windows and applets.

We will work with Netbeans and create a sample MDI Application Form

STEP 1.
We will create our project.
File-> New Project.
Select Java in Categories List and Java Applications in Projects List.

New Project Java

Input Project Name

Project created

STEP 2.
Select new MDI Application Sample Form.
Over the Folder that we will work, select New and Other (Usually MDI Application is not showing in first instance)

New MDI Application Sample Form

Select Swing GUI Forms Categories and MDI Application Sample Form File types.

Select MDI Application Sample Form

Input Class Name

This is the first view after that create MDI Application Sample Form. We can see the menu bar and the black background. This black background will be the place where we put new Frames and Windows that interact our application.

First view after load new Class

Main elements of MDI App

For our second tutorial we will see how to create a new Frames and Windows inside our MDI Application.

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.