diff --git a/src/main/java/io/bitsquare/BitSquare.java b/src/main/java/io/bitsquare/BitSquare.java index 68293cf0f6..23130450e7 100644 --- a/src/main/java/io/bitsquare/BitSquare.java +++ b/src/main/java/io/bitsquare/BitSquare.java @@ -1,51 +1,51 @@ -package io.bitsquare; - -import com.google.inject.Guice; -import com.google.inject.Injector; -import io.bitsquare.di.BitSquareModule; -import io.bitsquare.di.GuiceFXMLLoader; -import io.bitsquare.setup.ISetup; -import io.bitsquare.setup.MockSetup; -import javafx.application.Application; -import javafx.scene.Parent; -import javafx.scene.Scene; -import javafx.stage.Stage; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import java.io.IOException; - -public class BitSquare extends Application -{ - private static final Logger log = LoggerFactory.getLogger(BitSquare.class); - - public static void main(String[] args) - { - launch(args); - } - - @Override - public void start(Stage stage) - { - Injector injector = Guice.createInjector(new BitSquareModule()); - ISetup setup = injector.getInstance(MockSetup.class); - - setup.applyPersistedData(); - - stage.setTitle("BitSquare"); - - GuiceFXMLLoader loader = new GuiceFXMLLoader(injector); - try - { - Parent mainView = loader.load(BitSquare.class.getResourceAsStream("/io/bitsquare/gui/MainView.fxml")); - Scene scene = new Scene(mainView, 800, 600); - scene.getStylesheets().setAll(getClass().getResource("/io/bitsquare/gui/global.css").toExternalForm()); - stage.setScene(scene); - stage.show(); - } catch (IOException e) - { - e.printStackTrace(); - } - } - -} +package io.bitsquare; + +import com.google.inject.Guice; +import com.google.inject.Injector; +import io.bitsquare.di.BitSquareModule; +import io.bitsquare.di.GuiceFXMLLoader; +import io.bitsquare.setup.ISetup; +import io.bitsquare.setup.MockSetup; +import javafx.application.Application; +import javafx.scene.Parent; +import javafx.scene.Scene; +import javafx.stage.Stage; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.io.IOException; + +public class BitSquare extends Application +{ + private static final Logger log = LoggerFactory.getLogger(BitSquare.class); + + public static void main(String[] args) + { + launch(args); + } + + @Override + public void start(Stage stage) + { + Injector injector = Guice.createInjector(new BitSquareModule()); + ISetup setup = injector.getInstance(MockSetup.class); + + setup.applyPersistedData(); + + stage.setTitle("BitSquare"); + + GuiceFXMLLoader loader = new GuiceFXMLLoader(injector); + try + { + Parent mainView = loader.load(BitSquare.class.getResourceAsStream("/io/bitsquare/gui/MainView.fxml")); + Scene scene = new Scene(mainView, 800, 600); + scene.getStylesheets().setAll(getClass().getResource("/io/bitsquare/gui/global.css").toExternalForm()); + stage.setScene(scene); + stage.show(); + } catch (IOException e) + { + e.printStackTrace(); + } + } + +} diff --git a/src/main/java/io/bitsquare/gui/funds/FundsController.java b/src/main/java/io/bitsquare/gui/funds/FundsController.java index f693c94580..b061a88ad9 100644 --- a/src/main/java/io/bitsquare/gui/funds/FundsController.java +++ b/src/main/java/io/bitsquare/gui/funds/FundsController.java @@ -1,26 +1,26 @@ -package io.bitsquare.gui.funds; - -import io.bitsquare.gui.IChildController; -import io.bitsquare.gui.INavigationController; -import javafx.fxml.Initializable; - -import java.net.URL; -import java.util.ResourceBundle; - -public class FundsController implements Initializable, IChildController -{ - private INavigationController navigationController; - - @Override - public void initialize(URL url, ResourceBundle rb) - { - - } - - @Override - public void setNavigationController(INavigationController navigationController) - { - this.navigationController = navigationController; - } -} - +package io.bitsquare.gui.funds; + +import io.bitsquare.gui.IChildController; +import io.bitsquare.gui.INavigationController; +import javafx.fxml.Initializable; + +import java.net.URL; +import java.util.ResourceBundle; + +public class FundsController implements Initializable, IChildController +{ + private INavigationController navigationController; + + @Override + public void initialize(URL url, ResourceBundle rb) + { + + } + + @Override + public void setNavigationController(INavigationController navigationController) + { + this.navigationController = navigationController; + } +} + diff --git a/src/main/java/io/bitsquare/gui/funds/FundsView.fxml b/src/main/java/io/bitsquare/gui/funds/FundsView.fxml index 72ce4696a6..9fcfeed4e1 100644 --- a/src/main/java/io/bitsquare/gui/funds/FundsView.fxml +++ b/src/main/java/io/bitsquare/gui/funds/FundsView.fxml @@ -1,6 +1,6 @@ - - - -