Newbie Problem with GWM

64 views
Skip to first unread message

alexoffspring

unread,
Oct 25, 2010, 4:04:57 AM10/25/10
to Gwt Window Manager

Hello to everybody
Today i installed gwm as i would like to develop a web
application(using gwt) with an appereance similar to desktop apps.
I was starting to test the getting started example ad i coded this:

import org.gwm.client.GDesktopPane;
import org.gwm.client.GInternalFrame;
import org.gwm.client.impl.DefaultGDesktopPane;
import org.gwm.client.impl.DefaultGInternalFrame;
.....
public void onModuleLoad() {
GDesktopPane desktop = new DefaultGDesktopPane();
RootPanel.get().add((Widget) desktop);
GInternalFrame window = new DefaultGInternalFrame("My Internal
Frame");
window.setSize(800, 500);
window.setContent(new Label("My Label"));
desktop.addFrame(window);
window.setVisible(true);
}
....

After adding gwm.jar to the external libraries and
<!-- Gwm dependency -->
<inherits name='org.gwm.GwtWindowManager'/>
to the MainForm.gwt.xml.

I got this error and i cannot find googlin the answer to this:

java.lang.AssertionError: The style name '-mozOpacity' should be in
camelCase format at com.google.gwt.dom.client.Style$.assertCamelCase$
(Style.java:1515) at com.google.gwt.dom.client.Style$.setProperty$
(Style.java:1431) at
com.google.gwt.user.client.DOM.setStyleAttribute(DOM.java:1208) at
org.gwm.client.impl.OutlinePanel.initUI(OutlinePanel.java:33) at
org.gwm.client.impl.OutlinePanel.<init>(OutlinePanel.java:25) at
org.gwm.client.impl.DefaultGFrame.initializeFrame(DefaultGFrame.java:
193) at
org.gwm.client.impl.DefaultGFrame.<init>(DefaultGFrame.java:179) at
org.gwm.client.impl.DefaultGInternalFrame.<init>(DefaultGInternalFrame.java:
59) at
org.gwm.client.impl.DefaultGInternalFrame.<init>(DefaultGInternalFrame.java:
53) at
com.mycompany.project.client.MainForm.onModuleLoad(MainForm.java:132)
..............



I am using eclipse, GWT 2.0.4, and IE8


Please, can anybody tell me what is wrong with that?


p.s.: i saw that this group newest post is dated 2009...is it still an
active group?

Reply all
Reply to author
Forward
0 new messages