更新时间:2022-06-26 06:19:30
查看此处: http://netbeans. org/bugzilla/show_bug.cgi?id = 204661
对[B] SAF(JSR 296,基本上是"Java桌面应用程序"项目模板背后的框架)的支持已被突然删除(出于无正当理由,请允许我添加).
Support for [B]SAF (JSR 296, basically the framework that was behind your "Java Desktop Application" project template) has been abruptly dropped (for no valid reason, let me add).
但是,正如Bill在回答中所说的那样,不必使用SAF来可视化设计表单. NetBeans swing-designer(称为Matisse)可用于设计任何JFrame,JDialog,JPanel等.
However, as Bill says in his answer, it is not necessary to use the SAF in order to visually design a form. NetBeans swing-designer (known as Matisse) can be used to design any JFrame, JDialog, JPanel, etc.
您只需要
右键单击-> New
-> JFrame Form...
您就可以拖放了!
(您将缺少的功能是该框架提供的额外功能,例如SAF操作,窗口持久化,简化了长期运行的Task的管理以及相关的视觉反馈[现在,您必须动手SwingWorker类]等)
(The features you'll be missing are the extra bells and whistles that such framework provided, like SAF Actions, windowing persistence, simplified management for long running Tasks and related visual feedback [now you have to get your hands dirty with the SwingWorker class], etc)