Originally posted by Marco Ehrentreich:
David, I forgot to mention the Swing Application Framework. This is an official attempt to simplify and solve common tasks for GUI applications (based on Swing). Perhaps the homepage provides you additional information on what you're looking for or you can even use the framework to create your own applications.
it doesn't really offer me any guidance as to how to go from there.
I started by coding a lot of the application's classes (up to about 30 right now) and I'm now starting on the GUI. I have a 'Hotel' singleton which in it's parameterless constructor, creates about 10 'controller' classes e.g. (roomController = new RoomController(this); ). My app then starts the GUI again with a reference to the hotel.
So basically, there's a Hotel reference in my main GUI (and the windows that open from it) and all the controlling classes that deal with aspects of the application. I'm worried that I'm sharing too much with all my app. How does this sound to you?
Originally posted by David Stevens:
On the subject of frameworks, I realise that it would be virtually impossible for any code framework to be able to incorporate the sort of structure I'm looking for. However, I had hoped that there might be information out there somewhere, as to how to model a 'general' desktop application.
Best regards,
David
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|