Skip to content

Commit 158e857

Browse files
committed
ADAP-155: added LaunchManifestDemo
1 parent 2512a27 commit 158e857

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
-41 Bytes
Binary file not shown.

src/main/java/com/openfin/desktop/demo/LaunchManifestDemo.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ public class LaunchManifestDemo extends Application {
2323
private DesktopConnection desktopConnectionSL; // connection to StockFlux by Scott Logic
2424
private Button btnGiantMachine, btnScottLogic;
2525

26-
private String startupUuid = LaunchManifestDemo.class.getName();
27-
private com.openfin.desktop.Application startupHtml5app;
2826

2927
@Override
3028
public void start(Stage stage) {
@@ -79,7 +77,7 @@ private void launchGiantMachine() {
7977
RuntimeConfiguration cfg = new RuntimeConfiguration();
8078
cfg.setManifestLocation("https://openfin.giantmachines.com/public/app.json");
8179
try {
82-
desktopConnectionGM = new DesktopConnection(startupUuid);
80+
desktopConnectionGM = new DesktopConnection("Watchlist Java");
8381
desktopConnectionGM.connect(cfg, new DesktopStateListener() {
8482
@Override
8583
public void onReady() {
@@ -113,7 +111,7 @@ private void launchScottLogic() {
113111
RuntimeConfiguration cfg = new RuntimeConfiguration();
114112
cfg.setManifestLocation("http://scottlogic.github.io/StockFlux/master/app.json");
115113
try {
116-
desktopConnectionSL = new DesktopConnection(startupUuid);
114+
desktopConnectionSL = new DesktopConnection("StockFlux Java");
117115
desktopConnectionSL.connect(cfg, new DesktopStateListener() {
118116
@Override
119117
public void onReady() {

0 commit comments

Comments
 (0)