diff --git a/src/net/molez/mandlm/fotostream/client/FotoStream.java b/src/net/molez/mandlm/fotostream/client/FotoStream.java index ca9dc34..e819a20 100644 --- a/src/net/molez/mandlm/fotostream/client/FotoStream.java +++ b/src/net/molez/mandlm/fotostream/client/FotoStream.java @@ -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); } diff --git a/war/FotoStream.css b/war/FotoStream.css index c128d57..64d2075 100644 --- a/war/FotoStream.css +++ b/war/FotoStream.css @@ -1,8 +1,6 @@ -/** Add css rules here for your application. */ - - -body { - background-color: black; -} - +div +{ + padding: 20px; + background-color: black; +} \ No newline at end of file