DaWickedRebel
Programmer
Hi Everyone
This board's been very helpful in my quest to think and code in a truly object-oriented fashion.
I have a question:
I've made several Java Objects which extend the AbstractAction class for use in the toolbars and menus of my GUI app. Upon clicking one, the object will create a new Communication object instance and send the appropriate command string into it. The communication object then creates a new 'request' Object and sends it off to a servlet for processing.
The 'request' object also consists of a Collection which is to contain the Actual objects on which to perform the processing. In my app, a user will lasso any number of objects in the GUI window, which will add them to a collection, and then push the button of the command they wish to perform.
What do you think would be the best way to go about passing this selection from the GUI window into the 'request' object for processing?
This board's been very helpful in my quest to think and code in a truly object-oriented fashion.
I have a question:
I've made several Java Objects which extend the AbstractAction class for use in the toolbars and menus of my GUI app. Upon clicking one, the object will create a new Communication object instance and send the appropriate command string into it. The communication object then creates a new 'request' Object and sends it off to a servlet for processing.
The 'request' object also consists of a Collection which is to contain the Actual objects on which to perform the processing. In my app, a user will lasso any number of objects in the GUI window, which will add them to a collection, and then push the button of the command they wish to perform.
What do you think would be the best way to go about passing this selection from the GUI window into the 'request' object for processing?