简体   繁体   English

场景构建器导入到eclipse

[英]Scene builder import to eclipse

Ive recently discovered that you are able to use JavaFx Scene builder to build your GUI 我最近发现您可以使用JavaFx场景构建器来构建GUI

ive become very tired of the build in gui builder that Eclipse offers 我已经厌倦了Eclipse提供的gui构建器的构建

So i wanted to try out Scene builder but i am not sure how i import it into my Eclipse project and actually use it with my program? 所以我想尝试使用Scene构建器,但我不确定如何将它导入我的Eclipse项目并实际使用它与我的程序?

Ive been looking all over to find a step by step guide but so far ive had no luck finding one for eclipse (for netbeans there are loads but so far ive found none for eclipse) 我一直在寻找一步一步的指南,但到目前为止我没有运气找到一个日食(为netbeans有负载,但到目前为止我没有找到eclipse)

I hope some of you are able to help me with this or guide me through the steps i need to take 我希望你们中的一些人能够帮助我,或指导我完成我需要采取的步骤

Best Regards Marc Rasmussen 最诚挚的问候马克拉斯穆森

Some background info: 一些背景信息:

  1. SceneBuilder is for building JavaFX apps. SceneBuilder用于构建JavaFX应用程序。
  2. e(fx)clipse is the unofficial JavaFX tooling for Eclipse. e(fx)clipse是Eclipse的非官方JavaFX工具。
  3. Currently SceneBuilder runs as a standalone application. 目前,SceneBuilder作为独立应用程序运行。
  4. SceneBuilder outputs fxml files. SceneBuilder输出fxml文件。
  5. SceneBuilder can optionally be embedded in NetBeans. SceneBuilder可以选择嵌入NetBeans中。
  6. Future builds of e(fx)clipse may also offer to embed SceneBuilder in Eclipse. e(fx)clipse的未来版本也可以在Eclipse中嵌入SceneBuilder。
  7. e(fx)clipse will compile and build javafx applications - including ones which input fxml which has been output by SceneBuilder. e(fx)clipse将编译和构建javafx应用程序 - 包括输入由SceneBuilder输出的fxml的应用程序。
  8. The key class which ties together JavaFX applications and fxml generated by SceneBuilder is the FXMLLoader . 将JavaFX应用程序和SceneBuilder生成的fxml连接在一起的关键类是FXMLLoader

Tutorial track for building applications with SceneBuilder and e(fx)clipse: 使用SceneBuilder和e(fx)clipse构建应用程序的教程跟踪:

  1. Install SceneBuilder (download under 'Additional resources') and e(fx)clipse seperately as well as jdk7u6+ . 安装SceneBuilder (在“附加资源”下下载)和e(fx)剪辑以及jdk7u6 +
  2. Using e(fx)clipse, try the compiling and running the basic JavaFX sample apps , especially the fxml related sample. 使用e(fx)clipse,尝试编译并运行基本的JavaFX示例应用程序 ,尤其是与fxml相关的示例。
  3. Run through the Getting Started with SceneBuilder Sample , but use e(fx)clipse to compile and run the code rather than NetBeans. 运行SceneBuilder示例入门 ,但使用e(fx)clipse编译和运行代码而不是NetBeans。
  4. Try out the Mastering FXML tutorial - but create the FXML in SceneBuilder and build your project using e(fx)clipse. 试用Mastering FXML教程 - 但在SceneBuilder中创建FXML并使用e(fx)clipse构建项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM