是否有通用的 Java 绘图小程序库?
我正在开发一个系统,用于以图形方式查询寄生虫样本数据库中的数据,在本例中,这些类似蠕虫的样本称为 吸虫。
具体来说,我正在研究如何做前端。它需要基于网络,所以我正在考虑使用 Java。
我设想它的工作方式很像 Mr.土豆头。用户会选择身体的轮廓,然后拖放各个部分,例如睾丸、吸盘等。
有谁知道这有一个好的起点吗?有没有我可以构建的通用小程序,而不必从头开始编写?谢谢。
**PS——我并没有与 Java 结婚。如果类似的东西以另一种形式存在,我可能也可以使用它。但我应该指出,我无法访问任何 Flash 开发工具。*
编辑 - 根据所提供的建议和我目前实际拥有的技能,我决定采用 Javascript/Ajax 类型的解决方案。 Google 的 Web Toolkit 看起来很酷,但我认为 jQuery 可能更适合我的需求,特别是在拖放功能方面。再次感谢。
I'm working on a system for graphically querying data from a database of parasite specimens, in this case, these worm-like ones called Trematodes.
Specifically, I'm looking at how to do the front end. It needs to be web based, so I'm looking at using Java.
The way I envision it working is much like Mr. Potato Head. Users would select an outline of the body, and then drag and drop various pieces in, like testes, suckers, etc.
Does anyone know of a good starting point for this? Are there any general purpose applets out there I could build onto, rather than having to write this from scratch? Thanks.
**PS -- I'm not married to Java. If something like this exists in another form, I can probably work with that too. But I should point out I don't have access to any Flash dev tools.*
EDIT -- Based on the advice presented and skills I actually have at the moment, I've decided to go with a Javascript/Ajax type solution. Google's Web Toolkit looks cool, but I think jQuery probably suits my needs a little better, particularly regarding Drag And Drop functionality. Thanks again.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议尝试 Google Web Toolkit (GWT)。您可以创建非常复杂的 Java 程序,无需插件即可在浏览器中运行。
http://code.google.com/webtoolkit/
您可以在此处看到一些令人惊奇的示例:
< a href="http://code.google.com/webtoolkit/examples/" rel="nofollow noreferrer">http://code.google.com/webtoolkit/examples/
http://www.smartclient.com/smartgwt/showcase/
I would suggest trying Google Web Toolkit (GWT). You can create very sophisticated Java programs that run in the browser without a plugin.
http://code.google.com/webtoolkit/
You can see some amazing examples here:
http://code.google.com/webtoolkit/examples/
http://www.smartclient.com/smartgwt/showcase/