Colby-CPU-Sim / CPUSim

GNU General Public License v3.0
52 stars 18 forks source link

Move UI property bindings to FXML #48

Open moirage opened 7 years ago

moirage commented 7 years ago

If any UI properties are bound to other UI properties for two UIs in the same FXML file, do the binding in the FXML file instead of in the Java code. Example: If t1 and t2 are Textfields in a Node and you want t2 to be bound to t1 to always be in synch with t1, you can in the FXML file in the tag for t2, include the attribute: text=”${t1.text}”.