<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Create a JavaFX Stage</title><link>https://sourceforge.net/p/do-db/wiki/Create%2520a%2520JavaFX%2520Stage/</link><description>Recent changes to Create a JavaFX Stage</description><atom:link href="https://sourceforge.net/p/do-db/wiki/Create%20a%20JavaFX%20Stage/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 07 Mar 2016 06:35:21 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/do-db/wiki/Create%20a%20JavaFX%20Stage/feed" rel="self" type="application/rss+xml"/><item><title>Create a JavaFX Stage modified by Ralph</title><link>https://sourceforge.net/p/do-db/wiki/Create%2520a%2520JavaFX%2520Stage/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v10
+++ v11
@@ -22,8 +22,8 @@
     &amp;lt;TableView fx:id="personTableView" GridPane.hgrow="ALWAYS" editable="true"&amp;gt;
       &amp;lt;columnResizePolicy&amp;gt;&amp;lt;TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/&amp;gt;&amp;lt;/columnResizePolicy&amp;gt;
       &amp;lt;columns&amp;gt;
-        &amp;lt;TableColumn fx:id="person" text="%personList.person" editable="false"/&amp;gt;
-        &amp;lt;TableColumn fx:id="id" maxWidth="0.0" minWidth="0.0" prefWidth="0.0" text="%personList.id"/&amp;gt;
+        &amp;lt;TableColumn fx:id="search" text="%personList.search" editable="false"/&amp;gt;
+text="%personList.id" /&amp;gt;
       &amp;lt;/columns&amp;gt;
     &amp;lt;/TableView&amp;gt;
    
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ralph</dc:creator><pubDate>Mon, 07 Mar 2016 06:35:21 -0000</pubDate><guid>https://sourceforge.net83844a2ff7adc4169b16c5ec1fe1b0b2d8031b4f</guid></item><item><title>Create a JavaFX Stage modified by Ralph</title><link>https://sourceforge.net/p/do-db/wiki/Create%2520a%2520JavaFX%2520Stage/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -44,7 +44,8 @@

 &amp;lt;/BorderPane&amp;gt;
 ~~~~
-Please take notice of the fx:controller. This is the missing link.
+
+Please take notice of the fx:controller. This is the missing link to the framework.

 -----

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ralph</dc:creator><pubDate>Wed, 24 Feb 2016 06:30:04 -0000</pubDate><guid>https://sourceforge.netf47e1f8ce37334ad449833effcb59f67190d8b54</guid></item><item><title>Create a JavaFX Stage modified by Ralph</title><link>https://sourceforge.net/p/do-db/wiki/Create%2520a%2520JavaFX%2520Stage/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -10,30 +10,38 @@

 ~~~~
 
-
+
+
 
+
+
 
-
-
-
-
-&amp;lt;BorderPane -="" xmlns="http://javafx.com/javafx/8" -="" xmlns:fx="http://javafx.com/fxml/1" -="" fx:controller="com.tcs.contract.ContractListController"&amp;gt;
+
+&amp;lt;BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.hoppe.extra.person.PersonListController"&amp;gt;
    &lt;center&gt;
-    &amp;lt;TableView fx:id="myTableView"&amp;gt;
-     &amp;lt;columnResizePolicy&amp;gt;
-       &amp;lt;TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/&amp;gt;
-     &amp;lt;/columnResizePolicy&amp;gt;
+    &amp;lt;TableView fx:id="personTableView" GridPane.hgrow="ALWAYS" editable="true"&amp;gt;
+      &amp;lt;columnResizePolicy&amp;gt;&amp;lt;TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/&amp;gt;&amp;lt;/columnResizePolicy&amp;gt;
       &amp;lt;columns&amp;gt;
-        &amp;lt;TableColumn fx:id="buNameCar" text="Carrier" editable="false"/&amp;gt;
+        &amp;lt;TableColumn fx:id="person" text="%personList.person" editable="false"/&amp;gt;
+        &amp;lt;TableColumn fx:id="id" maxWidth="0.0" minWidth="0.0" prefWidth="0.0" text="%personList.id"/&amp;gt;
       &amp;lt;/columns&amp;gt;
     &amp;lt;/TableView&amp;gt;
    &lt;/center&gt;
-  &amp;lt;stylesheets&amp;gt;
-     &amp;lt;URL value="@/resources/css/contractList.css"/&amp;gt;
-  &amp;lt;/stylesheets&amp;gt;
+   &amp;lt;bottom&amp;gt;
+      &amp;lt;HBox alignment="CENTER_RIGHT" layoutY="24.0" prefHeight="25.0"&amp;gt;
+         &amp;lt;padding&amp;gt;
+            &amp;lt;Insets bottom="5.0" left="5.0" right="10.0" top="5.0"/&amp;gt;
+         &amp;lt;/padding&amp;gt;
+         &amp;lt;children&amp;gt;
+            &amp;lt;Button mnemonicParsing="false" text="%personList.new"/&amp;gt;
+         &amp;lt;/children&amp;gt;
+      &amp;lt;/HBox&amp;gt;
+   &amp;lt;/bottom&amp;gt;
+
+   &amp;lt;stylesheets&amp;gt;
+       &amp;lt;URL value="@/css/PersonList.css"/&amp;gt;
+   &amp;lt;/stylesheets&amp;gt;
+      
 &amp;lt;/BorderPane&amp;gt;
 ~~~~
 Please take notice of the fx:controller. This is the missing link.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ralph</dc:creator><pubDate>Thu, 11 Feb 2016 17:07:18 -0000</pubDate><guid>https://sourceforge.net5e56dedcfe8c3a79ded0ff8e72d342155872a2c4</guid></item><item><title>Create a JavaFX Stage modified by Ralph</title><link>https://sourceforge.net/p/do-db/wiki/Create%2520a%2520JavaFX%2520Stage/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -6,7 +6,7 @@

 In the FXML file you have to name the controls with a fx:id. You have also to name a controller. This controller is the link between the FXML file and the view object.

-Here is an example of a contract view (ContractView.fxml):
+Here is an example of a contract view (ContractList.fxml):

 ~~~~
 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ralph</dc:creator><pubDate>Fri, 05 Feb 2016 14:58:04 -0000</pubDate><guid>https://sourceforge.net43ed3634aa0e7cb1721e8339135fc5809faa9c3b</guid></item><item><title>Create a JavaFX Stage modified by Ralph</title><link>https://sourceforge.net/p/do-db/wiki/Create%2520a%2520JavaFX%2520Stage/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -20,7 +20,7 @@
 &amp;lt;BorderPane xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" -="" fx:controller="com.tcs.contract.ContractViewController"&amp;gt;
+     fx:controller="com.tcs.contract.ContractListController"&amp;gt;
    &lt;center&gt;
     &amp;lt;TableView fx:id="myTableView"&amp;gt;
      &amp;lt;columnResizePolicy&amp;gt;
&lt;/center&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ralph</dc:creator><pubDate>Fri, 05 Feb 2016 12:09:54 -0000</pubDate><guid>https://sourceforge.net2aa0fe4cc0ba084a4b7fa8f3ecf3cef8fa0301fa</guid></item><item><title>Create a JavaFX Stage modified by Ralph</title><link>https://sourceforge.net/p/do-db/wiki/Create%2520a%2520JavaFX%2520Stage/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -22,12 +22,17 @@
      xmlns:fx="http://javafx.com/fxml/1"
      fx:controller="com.tcs.contract.ContractViewController"&amp;gt;
    &lt;center&gt;
-   ...
-       &amp;lt;TextField fx:id="buNameCar" prefWidth="100.0"/&amp;gt;
-   ...   
-  &lt;/center&gt;
+    &amp;lt;TableView fx:id="myTableView"&amp;gt;
+     &amp;lt;columnResizePolicy&amp;gt;
+       &amp;lt;TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/&amp;gt;
+     &amp;lt;/columnResizePolicy&amp;gt;
+      &amp;lt;columns&amp;gt;
+        &amp;lt;TableColumn fx:id="buNameCar" text="Carrier" editable="false"/&amp;gt;
+      &amp;lt;/columns&amp;gt;
+    &amp;lt;/TableView&amp;gt;
+   
   &amp;lt;stylesheets&amp;gt;
-     &amp;lt;URL value="@/resources/css/contractView.css"/&amp;gt;
+     &amp;lt;URL value="@/resources/css/contractList.css"/&amp;gt;
   &amp;lt;/stylesheets&amp;gt;
 &amp;lt;/BorderPane&amp;gt;
 ~~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ralph</dc:creator><pubDate>Fri, 05 Feb 2016 12:09:22 -0000</pubDate><guid>https://sourceforge.netd2eba8b4aa16ab725ef97b3b30f443e8f8aaf053</guid></item><item><title>Create a JavaFX Stage modified by Ralph</title><link>https://sourceforge.net/p/do-db/wiki/Create%2520a%2520JavaFX%2520Stage/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -17,7 +17,10 @@
 
 
 
-&amp;lt;BorderPane xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.tcs.contract.ContractViewController"&amp;gt;
+&amp;lt;BorderPane +="" xmlns="http://javafx.com/javafx/8" +="" xmlns:fx="http://javafx.com/fxml/1" +="" fx:controller="com.tcs.contract.ContractViewController"&amp;gt;
    &lt;center&gt;
    ...
        &amp;lt;TextField fx:id="buNameCar" prefWidth="100.0"/&amp;gt;
&lt;/center&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ralph</dc:creator><pubDate>Fri, 05 Feb 2016 11:57:03 -0000</pubDate><guid>https://sourceforge.net369958b9485f6d4818891cb461b75df340c582fd</guid></item><item><title>Create a JavaFX Stage modified by Ralph</title><link>https://sourceforge.net/p/do-db/wiki/Create%2520a%2520JavaFX%2520Stage/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -20,7 +20,7 @@
 &amp;lt;BorderPane xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.tcs.contract.ContractViewController"&amp;gt;
    &lt;center&gt;
    ...
-       &amp;lt;TextField fx:id="buNameCar" prefHeight="22.0" prefWidth="100.0" GridPane.columnIndex="2" GridPane.hgrow="ALWAYS" GridPane.rowIndex="1"/&amp;gt;
+       &amp;lt;TextField fx:id="buNameCar" prefWidth="100.0"/&amp;gt;
    ...   
   &lt;/center&gt;
   &amp;lt;stylesheets&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ralph</dc:creator><pubDate>Fri, 05 Feb 2016 11:54:28 -0000</pubDate><guid>https://sourceforge.net55cee423f24bfe2b3a97fb775c2ccddccce5ea6d</guid></item><item><title>Create a JavaFX Stage modified by Ralph</title><link>https://sourceforge.net/p/do-db/wiki/Create%2520a%2520JavaFX%2520Stage/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -17,17 +17,19 @@
 
 
 
-
-&amp;lt;BorderPane prefHeight="768.0" prefWidth="1024.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.tcs.contract.ContractViewController"&amp;gt;
-
+&amp;lt;BorderPane xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.tcs.contract.ContractViewController"&amp;gt;
    &lt;center&gt;
    ...
        &amp;lt;TextField fx:id="buNameCar" prefHeight="22.0" prefWidth="100.0" GridPane.columnIndex="2" GridPane.hgrow="ALWAYS" GridPane.rowIndex="1"/&amp;gt;
-...   
+   ...   
   &lt;/center&gt;
-
-   &amp;lt;stylesheets&amp;gt;
-       &amp;lt;URL value="@/resources/css/contractView.css"/&amp;gt;
-   &amp;lt;/stylesheets&amp;gt;
+  &amp;lt;stylesheets&amp;gt;
+     &amp;lt;URL value="@/resources/css/contractView.css"/&amp;gt;
+  &amp;lt;/stylesheets&amp;gt;
 &amp;lt;/BorderPane&amp;gt;
 ~~~~
+Please take notice of the fx:controller. This is the missing link.
+
+-----
+
+Next step is to [Create a Controller].
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ralph</dc:creator><pubDate>Fri, 05 Feb 2016 11:53:46 -0000</pubDate><guid>https://sourceforge.netfca1bd1715367ddc492a25c174b8be56b19a5776</guid></item><item><title>Create a JavaFX Stage modified by Ralph</title><link>https://sourceforge.net/p/do-db/wiki/Create%2520a%2520JavaFX%2520Stage/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -3,3 +3,31 @@
 You can build a stage programatically or you can use the [Scene Builder](http://www.oracle.com/technetwork/java/javafxscenebuilder-1x-archive-2199384.html) to create a FXML file.

 We prefer to use the Scene Builder.
+
+In the FXML file you have to name the controls with a fx:id. You have also to name a controller. This controller is the link between the FXML file and the view object.
+
+Here is an example of a contract view (ContractView.fxml):
+
+~~~~
+
+
+
+
+
+
+
+
+
+&amp;lt;BorderPane prefHeight="768.0" prefWidth="1024.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.tcs.contract.ContractViewController"&amp;gt;
+
+   &lt;center&gt;
+   ...
+       &amp;lt;TextField fx:id="buNameCar" prefHeight="22.0" prefWidth="100.0" GridPane.columnIndex="2" GridPane.hgrow="ALWAYS" GridPane.rowIndex="1"/&amp;gt;
+...   
+  &lt;/center&gt;
+
+   &amp;lt;stylesheets&amp;gt;
+       &amp;lt;URL value="@/resources/css/contractView.css"/&amp;gt;
+   &amp;lt;/stylesheets&amp;gt;
+&amp;lt;/BorderPane&amp;gt;
+~~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ralph</dc:creator><pubDate>Fri, 05 Feb 2016 11:50:24 -0000</pubDate><guid>https://sourceforge.netccacb898d5b454a9c44c27a5ee0d55d57bfb3d13</guid></item></channel></rss>