Longer reloading time

This commit is contained in:
Michael Mandl 2015-12-16 23:11:36 +01:00
parent e233a26104
commit f2c9265d5f
2 changed files with 8 additions and 9 deletions

View file

@ -14,7 +14,8 @@ public class FotoStream implements EntryPoint
{
private final CurrentImageURLServiceAsync imageURLService = GWT.create(CurrentImageURLService.class);
public void onModuleLoad() {
public void onModuleLoad()
{
final Image image = new Image();
image.setVisible(false);
image.addLoadHandler(new LoadHandler()
@ -56,7 +57,7 @@ public class FotoStream implements EntryPoint
}
};
imageReloadTimer.scheduleRepeating(2000);
imageReloadTimer.scheduleRepeating(5000);
RootPanel.get("imageContainer").add(image);
}

View file

@ -1,8 +1,6 @@
/** Add css rules here for your application. */
body {
div
{
padding: 20px;
background-color: black;
}