Skip to content

Commit 8e7a270

Browse files
author
Wenjun Che
committed
ADAP-16: Docking example
1 parent 123676b commit 8e7a270

File tree

9 files changed

+94
-356
lines changed

9 files changed

+94
-356
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>co.openfin</groupId>
88
<artifactId>openfin-desktop-java-example</artifactId>
9-
<version>3.0.1.2</version>
9+
<version>3.0.1.4</version>
1010
<packaging>jar</packaging>
1111

1212
<name>openfin-desktop-java-example</name>
@@ -20,7 +20,7 @@
2020
<dependency>
2121
<groupId>co.openfin</groupId>
2222
<artifactId>openfin-desktop-java-adapter</artifactId>
23-
<version>3.0.1.2</version>
23+
<version>3.0.1.4</version>
2424
</dependency>
2525
<dependency>
2626
<groupId>tablelayout</groupId>

release/docking.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
java -cp openfin-desktop-java-example-3.0.1.4.jar;openfin-desktop-java-adapter-3.0.1.4.jar;TableLayout-20050920.jar -DOpenFinOption=--config=\"https://demoappdirectory.openf.in/desktop/config/apps/OpenFin/HelloOpenFin/app.json\" -Djava.util.logging.config.file=logging.properties com.openfin.desktop.demo.java -cp openfin-desktop-java-example-3.0.1.4.jar;openfin-desktop-java-adapter-3.0.1.4.jar;TableLayout-20050920.jar -DOpenFinOption=--config=\"https://demoappdirectory.openf.in/desktop/config/apps/OpenFin/HelloOpenFin/app.json\" -Djava.util.logging.config.file=logging.properties com.openfin.desktop.demo.OpenFinDesktopDemo
2+
2.5 MB
Binary file not shown.
-65.4 KB
Binary file not shown.
57.8 KB
Binary file not shown.

release/run.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
java -cp openfin-desktop-java-example-3.0.1.2.jar;openfin-desktop-java-adapter-3.0.1.3.jar;TableLayout-20050920.jar -DOpenFinOption=--config=\"https://demoappdirectory.openf.in/desktop/config/apps/OpenFin/HelloOpenFin/app.json\" -Djava.util.logging.config.file=logging.properties com.openfin.desktop.demo.OpenFinDesktopDemo
1+
java -cp openfin-desktop-java-example-3.0.1.4.jar;openfin-desktop-java-adapter-3.0.1.4.jar;TableLayout-20050920.jar -DOpenFinOption=--config=\"https://demoappdirectory.openf.in/desktop/config/apps/OpenFin/HelloOpenFin/app.json\" -Djava.util.logging.config.file=logging.properties com.openfin.desktop.demo.OpenFinDesktopDemo

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

Lines changed: 0 additions & 157 deletions
This file was deleted.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@
2222
import java.util.logging.Logger;
2323

2424
/**
25+
*
2526
* GUI example that allows for instantiating and controlling
27+
*
28+
* Created by wche on 2/28/15.
29+
*
2630
*/
2731
public class OpenFinDesktopDemo extends JPanel implements ActionListener, WindowListener {
2832
private final static Logger logger = Logger.getLogger(OpenFinDesktopDemo.class.getName());
@@ -736,7 +740,6 @@ private static void createAndShowGUI(final String desktopCommandLine, String sta
736740
* @param args
737741
*/
738742
public static void main(String[] args) throws Exception {
739-
final String desktop_path;
740743
final String desktop_option = java.lang.System.getProperty("OpenFinOption");
741744

742745
final String startupUUID;
@@ -746,9 +749,6 @@ public static void main(String[] args) throws Exception {
746749
startupUUID = "OpenFinHelloWorld";
747750
}
748751

749-
java.lang.System.out.println(System.getAdapterVersion());
750-
java.lang.System.out.println(System.getAdapterBuildTime());
751-
752752
javax.swing.SwingUtilities.invokeLater(new Runnable() {
753753
public void run() {
754754
createAndShowGUI(desktop_option, startupUUID);

0 commit comments

Comments
 (0)