在开始学习JavaFX之前要了解什么? [英] What to know before starting to learn JavaFX?

查看:139
本文介绍了在开始学习JavaFX之前要了解什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我读到了JavaFX相对于Swing的优势(这不是讨论的重点),我想学习JavaFX。
但后来我对JavaFX脚本和XML等其他东西感到困惑...
我还没有清楚的图片。
我想知道在尝试JavaFX之前必须知道基本信息和编程/标记语言之类的东西。

I read about the advantages of JavaFX over Swing(that is not the point of discussion) and I would like to learn JavaFX. But later I got confused between the JavaFX script and other things like XML, etc... I don't have a clear picture of it yet. I want to know what all things like basic information and programming/markup languages one must know before giving a try at JavaFX.

推荐答案

嗯,就我而言,在你开始学习Javafx之前,我会说没有必要。只需要了解 JAVA 就足够了(只是基础知识)

Well, as far as I am concerned, I would say nothing is mandatory, before you start learning Javafx. Just a small knowledge of JAVA would be enough (just the basics)

对于Javafx学习资源,Oracle只有一个最好的资源,丰富的利润丰富的例子,这将使你的学习Javafx之旅太棒了。

For Javafx learning resources, Oracle has one of the best available resources, enriched with lucrative examples, which will make your Journey of learning Javafx fantastic.

fxml文件基本上是UI可以使用XML编写,可以在代码中加载。这使您的应用程序遵循 MVC 规则。虽然最初,我建议花一些时间仅使用java代码构建你的UI。

The fxml files are basically the UI which can be written using XML and can be loaded in your code. This makes your application follow the MVC rule. Though initially, I would recommend to spend sometime constructing your UI using java code only.

有关FXML的更多信息

Java vs JavaFX脚本与FXML。哪种更好的JavaFX编程方式?

Javafx上的教程

http://docs.oracle.com/javase/8/javase -clienttechnologies.htm

初学者,JavaFX入门非常重要!

For Beginners, Getting Started with JavaFX is very important !

http: //docs.oracle.com/javase/8/javafx/get-started-tutorial/jfx-overview.htm#JFXST784

教程在Scene Builder上即为您的应用程序制作fxml文件,

Tutorial on Scene Builder i.e. making fxml files for your application,

http://docs.oracle.com/javase/8/scene-builder-2/get-started-tutorial/overview。 htm

FXML教程

https://docs.oracle.com/javase/8/javafx/fxml-tutorial/

这篇关于在开始学习JavaFX之前要了解什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆