是否存在美观、用户友好的 Java 小程序?

发布于 2024-07-26 21:57:10 字数 344 浏览 3 评论 0原文

当我使用 Java 小程序时,它们往往很慢,不能与浏览器环境很好地集成,并且通常需要几次点击(“不,我不想让这个未签名的应用程序自由支配我的硬盘” )。

所以,我很好奇。

这些问题是不是无法克服? 是否存在能够与浏览器体验很好地集成的 Java 小程序(例如,像精心设计的 Flash 应用程序那样?) 您能指出任何真正“不错”的 Java 小程序的示例吗?

我问这个问题是因为我想知道我是否应该更认真地研究浏览器中的 Java,或者 Flash 在可预见的未来是否仍将占据主导地位。

编辑:无意的火焰诱饵已被删除。 对于造成的任何冒犯,我们深表歉意。

When I use Java applets, they tend to be slow, don't integrate very well with the browser environment and often require a few click throughs ("No, I don't want to give this unsigned application free reign of my hard disk").

So, I'm curious.

Are these problems insurmountable? Are there Java applets out there which integrate well with the browser experience (in, for example, the way a well-designed Flash application does?) Can you point out any examples of really "nice" Java applets?

I'm asking this because I want to know if I should be taking a more serious look at Java-in-the-browser, or if Flash will remain dominant for the foreseeable future.

Edit: Unintentional flame bait has been removed. Sorry for any offence caused.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(13

独自←快乐 2024-08-02 21:57:11

一些事情...

一些游戏网站,如 popcap.com,在他们的游戏中使用 Java 小程序,它们看起来相当不错并且非常有用。

至于“为什么那个按钮被裁剪?” - 这可能是布局管理器的问题。 请参阅我关于布局管理器的文章,特别是:

http:// java.sun.com/developer/onlineTraining/GUI/AWTLayoutMgr/shortcourse.html#whyNeed

A few things...

Some game sites, like popcap.com, use Java applets for their games, and they look pretty good and are very usable.

As far as "why is that button cropped?" - that's probably a layout manager issue. See my article on layout managers, in particular:

http://java.sun.com/developer/onlineTraining/GUI/AWTLayoutMgr/shortcourse.html#whyNeed

尐籹人 2024-08-02 21:57:11

有许多使用 Processing 创建的漂亮小程序(基本上是 Java,其中包含一些精美的图形库)。

只需看一下此可视化即可。

电信图像4b
(来源:zumkuckuck.com

There are many nice looking applets created with Processing (which is basically Java with some fancy graphics libraries included).

Just take a look at this visualization.

Telekom image 4b
(source: zumkuckuck.com)

撩起发的微风 2024-08-02 21:57:11

在高中时,我曾经玩过很多雅虎游戏,我很确定这些都是 Java 小程序。 自从我上次去雅虎以来,看起来雅虎已经更新了他们的网站,但你仍然可以在这里<找到所有旧游戏< /a>.

In high school I used to play a ton of Yahoo Games and I'm pretty sure those are all java applets. It looks like Yahoo have updated their site since I went there last but you can still find all of the old games here.

瑶笙 2024-08-02 21:57:11

MMORPG Runescape 使用 Java 小程序作为客户端,并且工作得非常好,尽管图形不太像和我见过的其他类型的游戏一样好。 发行商 Jagex 也有一个名为 Funorb 的游戏网站。

The MMORPG Runescape uses a Java applet as a client, and works very nicely, although the graphics aren't nearly as good as other games of the type I've seen. Jagex, the publishers, also have a game site called Funorb.

靑春怀旧 2024-08-02 21:57:11

另一种 Java 游戏(虽然不是小程序)是 Puzzle Pirates。 它并不完全漂亮,但很可爱,而且很容易上瘾。 而且,它非常快速和流畅(这对 Java 小程序来说是一个打击)。

Another game which is in Java (though not an applet) is Puzzle Pirates. It's not exactly beautiful but it's cute and it's very addictive. Also, it's very speedy and smooth (which has been a knock against Java applets).

征棹 2024-08-02 21:57:11

Java 小程序就像 Flash 脚本 - 它们可以用于做好事,但也经常用于作恶(例如,烦人的横幅)。 恕我直言,他们没有流行起来的主要原因是他们需要太多的技能,并且使用 AWT/Swing 产生的 UI 比缺乏编程技能的设计师使用 Flash 所能实现的更糟糕。

我想说的是,它们仍然存在,但更多的是为了不需要漂亮用户界面的业务目标。 例如,许多基于网络的统计计算工具都是基于漂亮的小程序。

Java applets are like flash scripts - They can be used for good, but are often used for evil (e.g., annoying banners). IMHO the main reason that they didn't catch on is that they require tended to require too much skill and used AWT/Swing which produces worse UIs than what a designer with little programming skills could achieve with flash.

I would say that yes, they still exist, but more for business goals that don't require pretty UIs. For example, A lot of web-based statistics calculation tools are based on nice applets.

久光 2024-08-02 21:57:11

这当然是可能的。 Java2D(Java 中的标准图形组件)能够呈现漂亮的东西。 一个大问题是默认的 Swing 外观和感觉很丑陋。 我相信 Java 7 会有更好的,但也有非常漂亮的第三方的,例如 Substance 。 我亲自开发了一个小型 Java 小程序游戏,除了介绍屏幕中的锯齿状文本之外(它是位图,而不是渲染的文本)在视觉上与 Flash 游戏没有什么区别。

It's certainly possible. Java2D (the standard graphics component in Java) is capable of rendering beautiful stuff. A big problem is that the default Swing Look and Feel is ugly. I believe Java 7 will have a better one, but there are also very beautiful third party ones such as Substance. I've personally developed a small Java applet game which, apart from the jagged text in the intro screen (which is a bitmap, not rendered text) is visually indistinguishable from a Flash game.

み青杉依旧 2024-08-02 21:57:11

我妈妈沉迷于 pogo.com 上的休闲游戏,我不得不说,他们已经做到了这是一项令人惊叹的工作,有趣、易于学习、看起来很完美的非传统游戏。 老实说,我很想看看他们的代码。

My mom is addicted to the casual gaming at pogo.com, and I've gotta say, they've done an amazing job at fun, easy to learn, nontraditional games that look perfect. I'd love to see their code, honestly.

风吹过旳痕迹 2024-08-02 21:57:10

Facebook 异步图像上传器是一个Java 小程序。

更新:显然不是 Facebook 内部开发的。 这似乎是产品

修正
现在问题已经更新得更加简洁了,我想我应该在这个答案中添加更多内容。

此类问题,即海量图像上传器(在本例中),是由 Java 小程序完美解决的类型。 为什么?

  1. 它使用原生 UI 元素,因此用户不会感到困惑,或者必须学习新的界面。
  2. 它可以节省大量的带宽和开销,因为图像转换(例如调整大小和裁剪)可以在客户端而不是服务器上进行。
  3. 编写一次,随处部署(几乎是这样)。

The Facebook asynchronous image uploader is a Java applet.

Update: Apparently not developed in house at Facebook. This seems to be the product.

Amendment:
Now that the question has been updated to be a bit more concise, I thought I'd add more to this answer.

This kind of problem, a mass image uploader (in this case), is the kind perfectly solved by a Java applet. Why?

  1. It uses native UI elements, so users are not confused, or have to learn a new interface.
  2. It can save massive amounts of bandwidth and overhead, because image transformations, such as resizing and cropping, can take place on the client side, rather than the server.
  3. Write once, deploy everywhere (almost, sorta).
〆凄凉。 2024-08-02 21:57:10

Visual Thesaurus 是我所知道的最酷/最好的小程序。

Visual Thesaurus is the coolest / best applet I know of.

白日梦 2024-08-02 21:57:10

查看 PulpCore。 一个非常棒的 Java applet 框架:
http://www.interactivepulp.com/

如果您在以下网站上查看,它的性能似乎也相当惊人bubblemark.com

Check out PulpCore. A really awesome Java applet framework:
http://www.interactivepulp.com/

Performance for it seems pretty amazing too if you check it out on bubblemark.com

亽野灬性zι浪 2024-08-02 21:57:10

使用 Java 小程序进行简单的平面图设计此处。 运行速度比 Dragonfly.autodesk.com 或 Floorplanner.com(两者都是 Flash 应用程序)快得多。

Simple floor plan designing with java applet here. Works much faster than dragonfly.autodesk.com or floorplanner.com (both are flash applications).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文