1.1 --- a/launcher/fx/src/main/java/org/apidesign/bck2brwsr/launcher/fximpl/FXBrwsr.java Thu May 30 06:09:42 2013 +0200
1.2 +++ b/launcher/fx/src/main/java/org/apidesign/bck2brwsr/launcher/fximpl/FXBrwsr.java Fri May 31 09:12:10 2013 +0200
1.3 @@ -76,8 +76,10 @@
1.4 vbox.getChildren().add(view);
1.5
1.6 BorderPane root = new BorderPane();
1.7 - if ("true".equals(this.getParameters().getNamed().get("toolbar"))) { // NOI18N
1.8 - final ToolBar toolbar = BrowserToolbar.create(view, vbox);
1.9 + final boolean showToolbar = "true".equals(this.getParameters().getNamed().get("toolbar")); // NOI18N
1.10 + final boolean useFirebug = "true".equals(this.getParameters().getNamed().get("firebug")); // NOI18N
1.11 + if (showToolbar) {
1.12 + final ToolBar toolbar = new BrowserToolbar(view, vbox, useFirebug);
1.13 root.setTop( toolbar );
1.14 }
1.15 root.setCenter(hbox);