Netbeans GUI editor generating its own incomprehensible code

后端 未结 2 1238
不知归路
不知归路 2020-11-22 01:16

When creating a new project in netbeans, if i select JAVA Desktop application, it creates some code which I DO NOT RECOGNISE AT ALL as what i had learnt in swing.

It

2条回答
  •  南方客
    南方客 (楼主)
    2020-11-22 01:43

    You'll find more about org.jdesktop.application.SingleFrameApplication here. Brief precis, however: this is part of the Swing Application Framework. Matisse (now called the Java Swing GUI Builder) works, AFAIK, strictly with the application framework, not with general Swing applications. Basically, if you're working with raw Swing, you're pretty much on your own.

提交回复
热议问题