]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed ClassCastException as VViewPaintable should be created, not VView
authorArtur Signell <artur@vaadin.com>
Thu, 2 Feb 2012 08:02:28 +0000 (10:02 +0200)
committerArtur Signell <artur@vaadin.com>
Thu, 2 Feb 2012 08:02:28 +0000 (10:02 +0200)
src/com/vaadin/terminal/gwt/client/ApplicationConnection.java

index 5fde5ba04cf528733187c66264a0647d2e2b6f3d..ea31e3971ff2a0025d65d8ebc61fee06f5ef68b3 100644 (file)
@@ -39,11 +39,9 @@ import com.vaadin.terminal.gwt.client.RenderInformation.FloatSize;
 import com.vaadin.terminal.gwt.client.RenderInformation.Size;
 import com.vaadin.terminal.gwt.client.ui.Field;
 import com.vaadin.terminal.gwt.client.ui.VAbstractPaintableWidget;
-import com.vaadin.terminal.gwt.client.ui.VAbstractPaintableWidgetContainer;
 import com.vaadin.terminal.gwt.client.ui.VContextMenu;
 import com.vaadin.terminal.gwt.client.ui.VNotification;
 import com.vaadin.terminal.gwt.client.ui.VNotification.HideEvent;
-import com.vaadin.terminal.gwt.client.ui.VView;
 import com.vaadin.terminal.gwt.client.ui.VViewPaintable;
 import com.vaadin.terminal.gwt.client.ui.dd.VDragAndDropManager;
 import com.vaadin.terminal.gwt.server.AbstractCommunicationManager;
@@ -174,7 +172,7 @@ public class ApplicationConnection {
     private Set<VPaintableWidget> zeroHeightComponents = null;
 
     public ApplicationConnection() {
-        view = GWT.create(VView.class);
+        view = GWT.create(VViewPaintable.class);
     }
 
     public void init(WidgetSet widgetSet, ApplicationConfiguration cnf) {