diff --git a/wallettemplate/pom.xml b/wallettemplate/pom.xml index 9fe2dc95..13815ff0 100644 --- a/wallettemplate/pom.xml +++ b/wallettemplate/pom.xml @@ -39,5 +39,10 @@ guava 13.0 + + com.aquafx-project + aquafx + 0.1 + \ No newline at end of file diff --git a/wallettemplate/src/main/java/wallettemplate/Main.java b/wallettemplate/src/main/java/wallettemplate/Main.java index 29fd7ceb..94248b7e 100644 --- a/wallettemplate/src/main/java/wallettemplate/Main.java +++ b/wallettemplate/src/main/java/wallettemplate/Main.java @@ -1,5 +1,6 @@ package wallettemplate; +import com.aquafx_project.AquaFx; import com.google.bitcoin.core.NetworkParameters; import com.google.bitcoin.kits.WalletAppKit; import com.google.bitcoin.params.MainNetParams; @@ -50,6 +51,9 @@ public class Main extends Application { } private void init(Stage mainWindow) throws IOException { + if (System.getProperty("os.name").toLowerCase().contains("mac")) { + AquaFx.style(); + } // Load the GUI. The Controller class will be automagically created and wired up. URL location = getClass().getResource("main.fxml"); FXMLLoader loader = new FXMLLoader(location);