logo       
Bookmark and Share

Array of Widget actions: msg#00038

java.netbeans.modules.graph.user

Subject: Array of Widget actions

Friends!


I was wondering if any has encountered the following problem. When I have a bunch of actions that I would like to add to a Widget. I have them in an array.

When I add actions in the following manner:

widget.getActions().addAction(action1);
widget.getActions().addAction(action2);
widget.getActions().addAction(action3);

Everything works.....but if they are in an array.

for ( WidgetAction action : myListofActions ) {
widget:getActions.addAction(action)
}

I get exceptions on mouse over of the Widget. Specifically the "MoveAction"

I am going to try a stand alone test....

Chris


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise