Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java GUI 设计  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 那位开发过类似 ........产品
jameszhang



CJSDN高级会员


发贴: 1594
积分: 111
于 2004-05-11 10:04 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
赐教涉猎技术,不胜感激


jameszhang edited on 2004-05-11 10:17

"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"

作者 Re:那位开发过类似 ........产品 [Re:jameszhang]
wes109

以梦为马

CJSDN高级会员


发贴: 857
积分: 60
于 2004-05-11 11:22 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
楼主详细描述一下,看不懂你要做甚呀 Stupid



作者 Re:那位开发过类似 ........产品 [Re:jameszhang]
jameszhang



CJSDN高级会员


发贴: 1594
积分: 111
于 2004-05-11 11:32 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
不是实现EJB,是做个类似图形工具,能达到这样的效果


"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"

作者 Re:那位开发过类似 ........产品 [Re:jameszhang]
wes109

以梦为马

CJSDN高级会员


发贴: 857
积分: 60
于 2004-05-11 11:36 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
什么效果?
没什么特别的吧?
不是很了解!

是指的中间那条线吗?




作者 Re:那位开发过类似 ........产品 [Re:wes109]
jameszhang



CJSDN高级会员


发贴: 1594
积分: 111
于 2004-05-11 11:46 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
wes109 wrote:
什么效果?
没什么特别的吧?
不是很了解!

是指的中间那条线吗?

对!那就先说说中间的线条是怎样实现的吧!



"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"

作者 Re:那位开发过类似 ........产品 [Re:jameszhang]
wes109

以梦为马

CJSDN高级会员


发贴: 857
积分: 60
于 2004-05-11 11:58 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
现在全局变量好像真的不行了Smile

Mediator

用一个中介对象来封装一系列的对象交互。中介者使各对象不需要显式地相互引用,从而使其耦合松散,而且可以独立地改变它们之间的交互。

--------------------------------
定义一个中介对象,监听两个长方形对象的事件(拖动、大小改变等),再由中介对象(或者是调用另一个专门划线的对象)画出线条,拖动时就获取两个长方形的位置信息,repaint
如果线条也可以拖动,会更麻烦一些,但思路是一样地

我记得《设计模式》讲过这个例子,记不清了




作者 Re:那位开发过类似 ........产品 [Re:jameszhang]
jameszhang



CJSDN高级会员


发贴: 1594
积分: 111
于 2004-05-11 13:29 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
ejb 图框怎样实现呢?


"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"

作者 Re:那位开发过类似 ........产品 [Re:jameszhang]
wes109

以梦为马

CJSDN高级会员


发贴: 857
积分: 60
于 2004-05-11 13:41 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
你指的是有代码生成框图吗?

-------
ArgoUML是一个uml tool,opensource




作者 Re:那位开发过类似 ........产品 [Re:wes109]
jameszhang



CJSDN高级会员


发贴: 1594
积分: 111
于 2004-05-11 13:47 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
wes109 wrote:
你指的是有代码生成框图吗?

-------
ArgoUML是一个uml tool,opensource

研究中.........3q


jameszhang edited on 2004-05-11 13:55

"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"

作者 Re:那位开发过类似 ........产品 [Re:wes109]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2004-05-11 22:20 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Hehe... they should use Mediator at the first place. I am with you.
wes109 wrote:
现在全局变量好像真的不行了Smile

Mediator

用一个中介对象来封装一系列的对象交互。中介者使各对象不需要显式地相互引用,从而使其耦合松散,而且可以独立地改变它们之间的交互。

--------------------------------
定义一个中介对象,监听两个长方形对象的事件(拖动、大小改变等),再由中介对象(或者是调用另一个专门划线的对象)画出线条,拖动时就获取两个长方形的位置信息,repaint
如果线条也可以拖动,会更麻烦一些,但思路是一样地

我记得《设计模式》讲过这个例子,记不清了



"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler, Refactoring - Improving the Design of Existing Code
作者 Re:那位开发过类似 ........产品 [Re:wes109]
jameszhang



CJSDN高级会员


发贴: 1594
积分: 111
于 2004-05-12 15:36 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
原来已经有这么方便的东东了,自己写个例程...........呵呵



"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"

作者 Re:那位开发过类似 ........产品 [Re:jameszhang]
wes109

以梦为马

CJSDN高级会员


发贴: 857
积分: 60
于 2004-05-12 15:53 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
gef? 赫赫



作者 Re:那位开发过类似 ........产品 [Re:wes109]
jameszhang



CJSDN高级会员


发贴: 1594
积分: 111
于 2004-05-12 18:28 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
wes109 wrote:
gef? 赫赫

y



"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"

作者 Re:那位开发过类似 ........产品 [Re:jameszhang]
coloumn





发贴: 16
积分: 0
于 2004-05-18 15:05 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
呵呵。这没什么,我开发过工作流可视化定制工具。其中的可视化效果比这个还复杂。
不过后来发现有很多开源开发包,可以直接这种支持图形元素。



作者 Re:那位开发过类似 ........产品 [Re:jameszhang]
ysmcrpp



发贴: 0
积分: 0
于 2004-05-18 21:07 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
这么好啊?coloumn 能不能把那些开源的网站列出来,让大家分享分享呢?


作者 Re:那位开发过类似 ........产品 [Re:jameszhang]
fnhufoz



发贴: 0
积分: 0
于 2004-05-22 00:03 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
http://sourceforge.net/projects/visual/


作者 Re:那位开发过类似 ........产品 [Re:jameszhang]
九佰



版主


发贴: 983
积分: 126
于 2004-05-23 11:02 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
http://www.jgraph.com



http://www.teamlet.org

海纳百川,有容乃大
壁立千仞,无欲则刚
智者不惑,勇者无惧
止戈为武,仁者无敌
作者 Re:那位开发过类似 ........产品 [Re:jameszhang]
coloumn





发贴: 16
积分: 0
于 2004-05-24 10:34 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
呵呵。很多人都知道,我知道的也就这么一点点:)



flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   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