This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.IOException; | |
| import java.net.URL; | |
| import javafx.fxml.FXMLLoader; | |
| import javafx.util.Callback; | |
| /** | |
| * InjectingFXMLLoader.java (UTF-8) | |
| * | |
| * Apr 13, 2013 | |
| * @author tarrsalah.org |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| btn.textProperty().bind( | |
| Bindings.when(new_btn.hoverProperty()) | |
| .then(new SimpleStringProperty("Hello!")) | |
| .otherwise(new SimpleStringProperty("New")); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (* solving the rope internet problem *) | |
| exception Error | |
| val min = Int.min | |
| val inFile= TextIO.stdIn | |
| val outFile= TextIO.stdOut | |
| fun new_node (n1,n2) l = | |
| (* how many nodes did this tuple introduce to the problem *) |
NewerOlder