Not able to create actions

Swing Designer allows you to quickly create the frames, panels, dialogs, applets and other UI elements that comprise Java Swing applications.

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

Not able to create actions

Postby jonaumann » Tue Nov 01, 2005 3:05 am

Whenever I try to create an action, a button group is added instead. Adding a button group does nothing.
Help please!
jonaumann
 
Posts: 7
Joined: Tue Nov 01, 2005 3:02 am

Re: Not able to create actions

Postby Eric Clayberg » Tue Nov 01, 2005 4:59 am

jonaumann wrote:Whenever I try to create an action, a button group is added instead. Adding a button group does nothing.

Rather than dropping the action into the component tree (which does not work), drop it on a JButton (or any widget with an "action" property).

That will add the action to the tree. You can then use drag/drop in the tree to assign that action to various widgets.
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 Swing Designer

Who is online

Users browsing this forum: No registered users and 1 guest