我现在正在使用 Eclipse 4.2 [Juno] 在我的桌面开发中迁移到 JavaFX。JavaFX 还很年轻,它的大部分文档仍在使用 Netbeans IDE,是否有 Eclipse IDE 的文档 [可能从 Helios 到现在]?但这不是我真正的问题。
Model-View-Controller 可以简化桌面和 Web 平台的开发。此外,在桌面开发中,我们可以通过实例化 a 来调用它(在我的 MVC 方法中)View。我的问题是,如果我要迁移到 JavaFX,我是否仍会像在 Swing 中那样遵循创建表单的相同程序?如果我的日常生活发生了很大的变化,请说明当时将如何做。通常在我的 MVC 方法中,它保存了如何在其中呈现的布局和方法。例如:ControllerViewModel(s)
import javax.swing.*;
public class SampleView extends JFrame  {
   // javax.swing.* Components, i.e. JTextField, JPanel, etc.
   public SampleView() {
      initializeLayout();      
   }
   private void initializeLayout() {
      // How the components are to be placed using `GroupLayout`
   }
   // others methods for rendering Model(s) in this view
   // EventHandling of components are placed the Controller of this View.
}