Visual Editor提供的对话框可以帮助您创建数据对象和数据源,您可以使用它们来绑定可视化组件。
The visual Editor provides dialog boxes that help you create data objects and data sources that you can use to bind a visual component.
当您将可视化组件绑定到数据源和数据对象时,binder代码会根据需要被生成到您的项目源文件目录中。
As you bind visual components to data sources and data objects, binder code is generated as needed into your project source directory.
如果我们现在运行 MyBooks 应用程序,会发现应用程序还没有数据内容,因为所有的 Swing 组件都尚未和数据绑定。
Running the MyBooks application at this point would give you an empty application since none of the Swing components are bound to any data.
应用推荐