Re: [Nanodesigner-developers] Sample GUI Design
Status: Alpha
Brought to you by:
swinnen
|
From: Elie De B. <el...@de...> - 2004-11-02 19:26:16
|
Hello, As suspected we didn't see much of you first mail, but the link and the app works fine here. It's basicly what valere did in paintshop written in java ;-). Anyhow some comments: * The framework looks nice, do you have any sources on that ? * Perhaps put the framework classes in a separate package. * Perhaps using the sun java graphics repository for a start: http://java.sun.com/developer/techDocs/hi/repository/ should make the images look more java'ish. Another design question now, like you might have noticed, adding some simple menu options in MainView without actually doing something makes your class huge, now already 300 lines. So why not make a subpackage 'action' to contain all the menuactions, which can easily access the main application thru the mvcapplication singleton. greetings Elie Quoting Fuji Hakayito <fo...@gm...>: > Hi All, > > I'm not sure if my last message got through or not, I tried to send an > email attachment. Instead I will just give you guys a link to the > file here: http://www.ualberta.ca/~jliske/SampleGUIDesign.zip > > *Original Message: > > Hi All, > > I have attached some code that I threw together based on an example > framework. I am not sure how you guys feel about using existing code, > nor am I familiar with the rules by GNU/GPL for open source project > code. However, I feel this might be good start to approaching the GUI > design. So take a look at the java classes. The classes that start > with "Wmvc" I took straight from the Wampler book (and are clearly > documented as being Wampler's), and the classes that start with "Nano" > I wrote based on his examples. It is mostly incomplete skeleton code > that will use the Wampler MVC framework. Let me know what you guys > think. We don't have to use this code in our project, but at least it > may give us some ideas as to how we should be thinking about the > design of the GUI using MVC. > > The Wmvc code is so short and elegant that I didn't feel the need to > rewrite it, although you guys may want to for the project, or even > take a different approach. The classes *should* compile and run on > Java 1.4.2. Let me know if the attachment goes through OK. > > -Fuji > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Nanodesigner-developers mailing list > Nan...@li... > https://lists.sourceforge.net/lists/listinfo/nanodesigner-developers > -- <============================> Homepage: www.de-brauwer.be <============================> |