![]() |
|
| *Home>>>Application Development |
How do I write GUI based applications (desktop apps) without using the event-driven-paradigm? |
I'm currently developing a small application in Java, which makes use of the Swing API. As such, the application is heavily 'event driven'. The problem with this is that the flow of control becomes obscured. So I was wondering if there is an alternative approach. Do all programming languages use this event-driven-paradigm in GUI development? I've used other languages, such as Modula-2, but found no built in support for GUI development (like Swing). So how are/were GUI's developed using languages like modula-2, Pascal etc? Any help will be greatly appreciated. I think you should first ask yourself why you are designing a GUI based application at the first place. As long as it's a GUI then there must be interactivity between your application and the user. As long as there is interactivity, there must be something you'ld like to happen as a response to user's action. As long as you want to respond to the user you must handle events, because it's only through events you determine if the user does 1 thing or the other. You need to get your head around event driven programming instead of looking for something else. One area that can make the flow get out of control is if you are not using objects, and you are changing global variables during execution. |
| Tags |
| E-Commerce Supply Chain Data Mining ERP CRM Application Development Software Consulting Software Development Information Technology Technology Consulting Project Training |
| Related information |
George Washington was a surveyor before he was President. ...Who cares if it's copy and paste? This is a great collection of facts for those who want to have knowledge at hand to defend the Faith. ...Econ is NOT easy. That class sounds like an overview of several classes. Micro economics is about businesses (the privite sector) Marco econ is big picture stuff and relates to the government... "I" have to discuss this? NO, "I" don't!!! It's your homework. Do it yourself. ...I don't think you've submitted your CV nearly enough. You should have contacted 100 to 200 potential employers to attempt to get your foot in the door somewhere. You might get lucky wit... To generate ideas in my company we get together over Pizzas and Beers and brainstorm. Make sure you do it right (no bad ideas, no negative responses) and have enough people in the room in a relaxed... HAHAHA, there is no way in he** anyone is going to read that whole thing...this has to be a joke. ...The Plainitff was granted leave to commence both sets of proceedings, provided she agree to indemnify the 5th Defendant for any costs of the derivative action; she does not have to indemnify the 5t... |
Categories--Copyright/IP Policy--Contact Webmaster |