Java/Swing GUI programming with NetBeans 6.X framework

485 Views Asked by At

I am using NetBeans 6.1.

When I am trying to create a "Java Desktop Application"-project, a skeleton application is created with lots of WTF code.

How can I understand those code?

Can anyone suggest me any web-link?

In this SO question, some links are provided. But they are not answering to my problem.

Suppose, what is a SingleFrameApplication-class? What is a FrameView-class?Upon what philosophy the application is divided into "MyFormApp.java" and "MyFormView.java" files? etc.

1

There are 1 best solutions below

2
On

Why is it "WTF code"? Just because you don't understand it?

Did you notice the description at the bottom of the project wizard screen when you create a new Java Desktop Application? It gives you some hints to what you're creating:

Creates a skeleton of a desktop application based on the Swing Application Framework (JSR 296). This template provides basic application infrastructure such as a menu bar, persisting of window state, and status bar. With this template, you can also generate code to create a GUI interface for a database table.

See Swing Application Framework.

By the way, NetBeans 6.1 is old. The current version is 6.9.1.