“气泡簇”项目(可拖动性、分组、绘图、合并组)
我有兴趣在 Java 中创建一个类似气泡簇的项目(请参阅 http://www-ui.is.su-tokyo.ac.jp/~takeo/research/bubble/index.html 作为一个工作示例)。
我的目标是允许用户创建一堆便利贴,这些便利贴可以像示例一样分组和移动。 (还会有其他功能,但我最难启动这个功能)。我将使用 Java 和 Swing。
以下是我正在阅读的一些内容:
-draggability(第一优先级,使用 JTextAreas?)
-grouping
-merging
-drawing(现在不会太担心)
我在创建 Java GUI 和 swing 方面没有太多经验,所以我不不知道会有多困难。有什么想法或阅读/教程吗?
提前致谢。
I am interested in creating a bubble-clusters-like project in Java (see http://www-ui.is.s.u-tokyo.ac.jp/~takeo/research/bubble/index.html for a working example).
My goal is to allow the user create a bunch of post-it notes that can be grouped and moved around like the example. (There will be other features, but I am having the most difficulty starting this feature). I will be using Java and Swing.
Here are some things I am reading up on:
-draggability (first priority, using JTextAreas?)
-grouping
-merging
-drawing (wont worry too much about that now)
I am not too experienced with creating Java GUI and swing, so I don't know how difficult it would be. Any thoughts or readings/tutorials?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看 Christopher Collins 的 Bubble Sets 实现 (http://faculty.uoit。 ca/collins/research/bubblesets/index.html)。他的源代码是免费且易于使用的。
此外,Prefuse 可视化工具包 (prefuse.org) 将是 (i) 让项目快速运行和 ( ii) 看看如何编写一个好的可视化工具包。该工具包提供了可拖动性、渲染、布局、交互和许多其他功能。
Check out the implementation of Bubble Sets by Christopher Collins (http://faculty.uoit.ca/collins/research/bubblesets/index.html). His source code is free and easy to use.
Also, the Prefuse visual toolkit (prefuse.org) would be a great way to (i) get a project running quickly and (ii) see how a good visual toolkit is written. Draggability, rendering, layouts, interaction, and many other features are given in this toolkit.
这可能与您的兴趣相关:http://www.oldamascus.com/~lio/ vis/graphlix/。请注意集群:)它是Processing,但代码可以轻松移植到Swing(Processing 基本上只是一种编程“环境”,其中大量有用的函数被转储到一个文件中)。
This might be relevant to your interests: http://www.oldamascus.com/~lio/vis/graphlix/. Note the clustering :) It's Processing, but the code can be easily ported over to Swing (Processing is basically just a programming 'environment' where loads of useful functions are dumped into one file).