Skip to content

Commit 1964613

Browse files
committed
updated Fdc3 example
1 parent 035f3c4 commit 1964613

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

release/fdc3.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
java -cp lib/hamcrest-core-1.3.jar;lib/hamcrest-library-1.1.jar;lib/jetty-client-9.4.18.v20190429.jar;lib/jetty-http-9.4.18.v20190429.jar;lib/jetty-io-9.4.18.v20190429.jar;lib/jetty-util-9.4.18.v20190429.jar;lib/jetty-xml-9.4.18.v20190429.jar;lib/jna-4.5.1.jar;lib/jna-platform-4.5.1.jar;lib/json-20160810.jar;lib/junit-4.11.jar;lib/mockito-core-1.9.5.jar;lib/objenesis-1.0.jar;lib/openfin-desktop-java-adapter-8.0.8.jar;lib/openfin-desktop-java-example-7.1.1-tests.jar;lib/openfin-desktop-java-example-7.1.1.jar;lib/openfin-snap-dock-1.0.0.1.jar;lib/slf4j-api-1.7.21.jar;lib/slf4j-jdk14-1.6.1.jar;lib/slf4j-log4j12-1.7.18.jar;lib/TableLayout-20050920.jar;lib/websocket-api-9.4.18.v20190429.jar;lib/websocket-client-9.4.18.v20190429.jar;lib/websocket-common-9.4.18.v20190429.jar -Djava.util.logging.config.file=logging.properties -Dcom.openfin.temp=%LocalAppData%\OpenFin\temp -Dcom.openfin.demo.version=stable com.openfin.desktop.demo.FDC3Example
2+
69 Bytes
Binary file not shown.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class FDC3Example implements DesktopStateListener {
3131
private JButton btnIntentListener;
3232

3333
private JTextArea output; // show output of API
34-
private String ticker = "IBM";
34+
private String ticker = "AAPL";
3535

3636
private FDC3Client fdc3Client;
3737

@@ -333,7 +333,7 @@ public JSONObject onContext(Context result) {
333333
}
334334

335335
private String getTicker() {
336-
this.ticker = this.ticker.equals("IBM") ? "GS" : "IBM";
336+
this.ticker = this.ticker.equals("AAPL") ? "MSFT" : "AAPL";
337337
return this.ticker;
338338
}
339339

0 commit comments

Comments
 (0)