Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / January 2004

Tip: Looking for answers? Try searching our database.

MVC and Swing

Thread view: 
charly - 28 Dec 2003 11:39 GMT
Greetings,

I am developping a small swing app with database connection, where you
can add- remove records and the usual stuff.

I got 2 classees : one controller and human-interface (actually, she
holds the frame, buttons ...) -> HIM
HIM has an instance of the controller and each item of the gui has a
listener which call the requierd methods of the controller.

Question :

Would it be more elegant/efficient if each event would complete the
event with other infos and then "push" the modified object to the
controller who would then inspect this object and would call its methods
 himself ?

for the time being, I directly call the methods in the GUI but well, I
do not find this "pretty" . Apart from aesthetic considerations :), what
is your advice ? :)

many thx for your input :)
Will - 30 Dec 2003 15:35 GMT
Hi Charly,

I suggest you're writting an app that includes handling user input.
You might want to check out JForm at https://jform.dev.java.net

I wonder if you can/will use JForm, please let me know you can contact
me at will@coderight.nl

Success,
Will

> Greetings,
>
[quoted text clipped - 18 lines]
>
> many thx for your input :)
charly - 01 Jan 2004 00:42 GMT
> Hi Charly,
>
[quoted text clipped - 6 lines]
> Success,
> Will
aw, thx a lot :)
I'll give it a try as soon as possible (eh, Happy new year before :) )

Cheers Everyone and a lot of ants and projects :)


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.