Runtime Error for TreeItems

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Runtime Error for TreeItems

Postby ashouric » Thu Nov 09, 2006 4:37 pm

In the following code, reported error is:
"A Runtime Error has occurred.
Do you wish to Debug"

Code: Select all
public class Hello extends Composite {

   public Hello() {
      final Tree tree = new Tree();
      initWidget(tree);
      final TreeItem treeItem = new TreeItem("New item");
      tree.addItem(treeItem);
   }
}
ashouric
 
Posts: 75
Joined: Sat Sep 30, 2006 9:13 pm

Re: Runtime Error for TreeItems

Postby Eric Clayberg » Sun Nov 12, 2006 6:26 pm

Give this a try in the latest build.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests