Re: What is the best strategy for creating a large app...
Wednesday, March 21, 2001 11:59 PM
The approach we finally used and seems to work fine is the following :
- we created each frame individually, sometimes adding new constructors if needed
- we created a "main" frame and in the free form surface of this we placed factory objects
- we changed the type of the factory objects to these of the frames we wanted and handled the instanciation with event to method(constructor) connections from the "main" frame
One way or another some handwritten code is unavoidable.
Re: What is the best strategy for creating a large...
Tuesday, February 20, 2001 02:29 PM
You can use the "sticky" property of the VCE to generate multiple copies of the currently selected widget. If you want these screens to be managed as one window, you'll want to nest them in the Swing hierarchy and set the layout manager properties. If you actually want multiple windows (an MDI approach), you're going to have to use a top level container to manage them and set visibility properties under control of your application classes.