Topic: 如何设计GUI

  Print this page

1.如何设计GUI Copy to clipboard
Posted by: emarket
Posted on: 2003-10-17 10:55

学了一个多月的Swing, 很迷茫:)

希望能跟大家讨论一下,如何设计GUI(标题是不是太大了?)
1.依靠GUI Desinger
(谈谈都用那种GUI Desinger,我不大喜欢:()
2.用xml,(没用过,希望有经验的兄弟谈谈)
3.裸写(偶喜欢)
4.....

2.Re:如何设计GUI [Re: emarket] Copy to clipboard
Posted by: yamakasy
Posted on: 2003-10-17 11:57

http://www.javapractices.com/index.cjp

You can find some userful articles about Swing here,These articles use some common principle about GUI designing~

3.Re:如何设计GUI [Re: emarket] Copy to clipboard
Posted by: Julian13
Posted on: 2003-10-21 12:24

In theory, you should follow the MVC pattern. However, everyone might have different approach in their implementation.

For me in practice:
1. All the GUI (the View) drag-and-draw under SunONE 4.x (don't know why but as recommended by our supervisor; I bet if you do keep the MVC pattern clear in you design, there isn't any problem to work with other GUI editor).
2. All the user event/interaction code (the GUI level Controller) will be manually program under Eclipse. At this point, I used to have a separate GUI controller class developed but sometimes for testing or prototyping I might embedding them into the view as well.
3. All the domain class (the Model) will be manually program or generated under Eclipse.

I feel comfortable with my approach that:
1. If user want to change GUI layout, I can isolate my changes remain in the View.
2. If user interaction to be changes, I can isolate my changes remain in the View and the Controller.

Of course, there would be chances to have all classes got changes impact under the existence of *innovative* business people Tongue

Indeed, when you going further detail from individual GUIs into a serious application. You will finally forming a framework amongs your GUIs. For example, the common validator, interaction event mediator, I18N/L10N messaging/dialog mechanism, etc. So, for a long run, you should either have you own framework or get used to a oepn one.

4.Re:如何设计GUI [Re: emarket] Copy to clipboard
Posted by: floater
Posted on: 2003-10-21 23:00

or both, Tounge.

5.Re:如何设计GUI [Re: emarket] Copy to clipboard
Posted by: helloworld
Posted on: 2003-10-22 00:38

emarket wrote:
3.裸写(偶喜欢)



Big SmileBig SmileBig Smile

6.Re:如何设计GUI [Re: emarket] Copy to clipboard
Posted by: jeez
Posted on: 2003-11-01 22:38

我个人认为你说的是GUI实现,我以为GUI Design是根据需求如何涉及界面的组成框架,layout等等。


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923