Simplify references to stylesheets

This commit is contained in:
Chris Beams 2014-11-03 15:22:03 +01:00
parent e4a50bbcea
commit 51e1519ed3
No known key found for this signature in database
GPG Key ID: 3D214F8F5BC5ED73

View File

@ -109,8 +109,9 @@ public class BitsquareUI extends Application {
final Parent view = loader.load();
final Scene scene = new Scene(view, 1000, 600);
scene.getStylesheets().setAll(getClass().getResource("/io/bitsquare/gui/bitsquare.css").toExternalForm(),
getClass().getResource("/io/bitsquare/gui/images.css").toExternalForm());
scene.getStylesheets().setAll(
"/io/bitsquare/gui/bitsquare.css",
"/io/bitsquare/gui/images.css");
setupCloseHandlers(primaryStage, scene);