Created
September 26, 2015 10:56
-
-
Save kaskavalci/720a2a3226f59080cf48 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Runnable runner = new Runnable() { | |
@Override | |
public void run() { | |
File index = new File(getMyURL()); | |
if (index.exists()) { | |
browser.setUrl(getMyURL()); | |
} | |
browser.refresh(); | |
} | |
} | |
Display.getDefault().syncExec(runner); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment