阅读背景:

Using FXML to Create a User Interface 使用FXML创建用户界面

来源:互联网 

This tutorial shows the benefits of using JavaFX FXML, which is an XML-based language that provides the structure for building a user interface separate from the application logic of your code.(这个教程演示了使用JavaFX FXML的好处,FXML是基于xml的语言,它提供了分离应用程序逻辑的构建用户界面的结构) If you started this document from the beginning, then you have seen how to create a login application using just JavaFX. (如果你从头开始阅读这个文档,你将看到怎么使用JavaFX创建一个登录程序)Here, you use FXML to create the same login user interface, separating the application design from the application logic, thereby making the code easier to maintain. (在这里,你使用FXML去创建一个相同的登录程序用户界面,它和应用程序的逻辑分开,从而达到使代码容易管理的目的)The login user interface you build in this tutorial is shown in Figure 4-1.(你要创建的登录用户界面如图4-1所示)This tutorial shows the benefits of using JavaF




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: