0

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.

Community
  • 1
  • 1
user366312
  • 16,949
  • 65
  • 235
  • 452

1 Answers1

1

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.

Jesper
  • 202,709
  • 46
  • 318
  • 350
  • Can you suggest any book for this? – user366312 Aug 17 '10 at 11:59
  • I don't think there are any books on the Swing Application Framework; there is a JSR for it (so it's a proposed standard) but it's not a completely ready and fully developed framework, as far as I know. The web page that I linked to contains documentation. – Jesper Aug 17 '10 at 13:34