Skip to content

Commit 1f21d94

Browse files
committed
ADAP-207: adapter cleanup
1 parent b8eb46c commit 1f21d94

File tree

6 files changed

+6
-999
lines changed

6 files changed

+6
-999
lines changed

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

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

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ public JNLPExample() throws DesktopException {
6363
startButton.addActionListener(new ActionListener() {
6464
public void actionPerformed(ActionEvent e) {
6565
try {
66-
desktopConnection.connectToVersion("stable", listener, 100000);
66+
RuntimeConfiguration cfg = new RuntimeConfiguration();
67+
cfg.setRuntimeVersion("stable");
68+
desktopConnection.connect(cfg, listener, 30);
6769
} catch (Exception ex) {
6870
ex.printStackTrace();
6971
}

0 commit comments

Comments
 (0)