Skip to content
Snippets Groups Projects
Commit 3c4acc81 authored by Christopher Bohn's avatar Christopher Bohn :thinking:
Browse files

Updated README to improve suitability for CSCE 361 "setup" assignment.

- Removed IDE installation instructions
- Removed editorial comments about IntelliJ IDEA vs Eclipse
- Instruct students to obtain Scene Builder for Java 8 to guarantee
  compatiability with settings in the pom.xml files in the starter code.
parent 3e7cc7b4
Branches
Tags
No related merge requests found
<!--
# Installing IntelliJ IDEA (macOS/Windows)
While you are not forced to use IntelliJ over Eclipse or any other IDE, it is recommended over Eclipse.
......@@ -22,11 +23,20 @@ While you are not forced to use IntelliJ over Eclipse or any other IDE, it is re
6. Install the Eclipse IDE For Java Developers, the top option.
7. Accept the licenses, the installation will take a while.
8. When the installation is complete, launch Eclipse.
-->
# Installing JavaFX Scene Builder (macOS/Windows)
# Installing JavaFX Scene Builder
1. Navigate to the [official site](https://gluonhq.com/products/scene-builder/#download) for the JavaFX Scene Builder.
2. In the middle of the page, click the download button for your respective operating system.
<!-- 2. In the middle of the page, click the download button for your respective operating system. -->
2. At the bottom of the of the page, under "Download Scene Builder for Java 8,"
click the download button for your respective operating system. *Do **not**
download Scene Builder for Java 11*. The project starter code we provide
instructs your IDE to build applications to the Java 8 stable release; we
don't know if the `.fxml` files generated by Scene Builder for Java 11 will
function correctly with Java 8 code.
- If you have already installed Scene Builder for Java 11, we welcome
your experience report.
3. This will take you to a page labeled 'Thanks.' Your download will begin in about 5-10 seconds automatically; you can ignore each of the green buttons on the page.
- If you are installing on macOS, this will download a `.pkg` file - and then you can just walk through the installation upon clicking on the `.pkg` file.
- Otherwise, if you are on Windows, walk through the executable installer.
......@@ -34,12 +44,10 @@ While you are not forced to use IntelliJ over Eclipse or any other IDE, it is re
# Using the JavaFX Scene Builder
This tutorial will walk you through creating a basic JavaFX application. The end-product of this tutorial, along with other example works, can be found within `CSCE 361` -> `examples` -> `JavaFX SceneBuilder Examples`.
This tutorial will walk you through creating a basic JavaFX application. The end-product of this tutorial, along with other example works, can be found [on gitlab](https://git.unl.edu/csce_361/examples/javafx-scenebuilder-examples).
## Using SceneBuilder with IntelliJ IDEA
Your life will be infinitely easier if you just use IntelliJ IDEA in conjunction with JavaFX Scene Builder.
1. Open IntelliJ.
2. Click `Create New Project`.
3. Create a new JavaFX application.
......@@ -58,7 +66,7 @@ Your life will be infinitely easier if you just use IntelliJ IDEA in conjunction
## Using JavaFX Scene Builder with Eclipse
Eclipse does not natively support the JavaFX Scene Builder in the way that IntelliJ IDEA does. To get around this, you are going to have to manually install the JavaFX plugin for Eclipse - which is why it is recommended you just use IntelliJ IDEA instead. Even when the plugin is installed, life is made more difficult as `.fxml` projects are not automatically generated in conjunction with new JavaFX projects. In conclusion: make your life easier and just use IntelliJ IDEA.
Eclipse does not natively support the JavaFX Scene Builder "out of the box" like IntelliJ IDEA does. To get around this, you are going to have to manually install the JavaFX plugin for Eclipse.
1. Open Eclipse.
2. Go to `Help` in the navigation bar.
......@@ -77,6 +85,12 @@ Eclipse does not natively support the JavaFX Scene Builder in the way that Intel
- Go to JavaFX, and then set the SceneBuilder executable to wherever your `SceneBuilder.exe` is saved at. Apply and Close.
- Now, you should be able to open SceneBuilder from Eclipse!
## Using JavaFX Scene Builder with other IDEs (or without an IDE)
JavaFX Scene Builder will function as a standalone application. You can use the
standalone application to prepare the `.fxml` files and your IDE (or a non-
integrated editor) to prepare the `.java` files.
## Building your first application
1. Now that the SceneBuilder is open, we can talk about the different components of it:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment