Longer reloading time
This commit is contained in:
parent
e233a26104
commit
f2c9265d5f
@ -14,7 +14,8 @@ public class FotoStream implements EntryPoint
|
|||||||
{
|
{
|
||||||
private final CurrentImageURLServiceAsync imageURLService = GWT.create(CurrentImageURLService.class);
|
private final CurrentImageURLServiceAsync imageURLService = GWT.create(CurrentImageURLService.class);
|
||||||
|
|
||||||
public void onModuleLoad() {
|
public void onModuleLoad()
|
||||||
|
{
|
||||||
final Image image = new Image();
|
final Image image = new Image();
|
||||||
image.setVisible(false);
|
image.setVisible(false);
|
||||||
image.addLoadHandler(new LoadHandler()
|
image.addLoadHandler(new LoadHandler()
|
||||||
@ -56,7 +57,7 @@ public class FotoStream implements EntryPoint
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
imageReloadTimer.scheduleRepeating(2000);
|
imageReloadTimer.scheduleRepeating(5000);
|
||||||
|
|
||||||
RootPanel.get("imageContainer").add(image);
|
RootPanel.get("imageContainer").add(image);
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
/** Add css rules here for your application. */
|
|
||||||
|
|
||||||
|
div
|
||||||
body {
|
{
|
||||||
|
padding: 20px;
|
||||||
background-color: black;
|
background-color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user