Java 用户界面规范 [英] Java User Interface Specification

查看:34
本文介绍了Java 用户界面规范的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Java 为使用 Java Swing 构建的应用程序提供了标准的用户界面指南.基本指南很好,但我真的觉得外观和感觉真的很无聊和过时.

Java supplies standard User Interface guidelines for applications built using Java Swing. The basic guidelines are good, but I really feel the look and feel is really boring and outdated.

有没有人知道有更好看的公开可用的 Java 用户界面指南?感觉指南比 Sun 提供的指南好?

Is anyone aware of a publicly available Java User Interface Guide that has better look & feel guidelines than the Sun provided guidelines?

推荐答案

根据 Chii 的回答,我建议您查看 Windows Vista 用户体验指南,了解有关制作用户界面的一般提示.

Along the line of Chii's answer, I would recommend taking a look at the Windows Vista User Experience Guidelines for general tips on making user interfaces.

尽管名称(Windows Vista 用户体验指南")和来源(Microsoft)可能暗示它仅包含以 Windows 为中心的提示和建议,但它确实提供了很好的通用提示和指导,可在为非用户设计界面时使用.-Windows 应用程序也是如此.

Although the name ("Windows Vista User Experience Guidelines") and source (Microsoft) may suggest that it only contains Windows-centric tips and advice, it does offer good general tips and directions that can be used when designing interfaces for non-Windows applications as well.

设计原则 部分解决了一些需要牢记的要点在设计有效的用户界面时.例如,如何设计出色的用户体验的第三条说明:

The Design Principles sections address some points to keep in mind when designing an effective user interface. For example, bullet three of How to Design a Great User Experience says:

不要对所有人都无所作为计划会更成功通过取悦目标用户而不是努力让大家满意.

Don't be all things to all people Your program is going to be more successful by delighting its target users than attempting to satisfy everyone.

这些技巧适用于在任何平台上设计用户界面.当然,也有特定于 Windows 的指南.

These are the kinds of tips that apply to designing user interfaces on any platform. Of course, there are also Windows-specific guidelines as well.

我认为 Swing 应用程序的外观和感觉看起来乏味"和过时"的最大原因之一是 Java 的平台无关性.为了使图形用户界面能够在多个不同的平台上运行,Java 需要具备使用户界面适应不同主机操作系统的工具.

I believe one of the biggest reasons why look and feel of Swing applications seems "boring" and "outdated" is due to the platform-independent nature of Java. In order for the graphical user interfaces to work on several different platforms, Java needs to have facilities to adapt the user interface to the different host operating systems.

例如,各种平台的窗口、按钮和其他可视化组件的大小各不相同,因此绝对定位效果不佳.为了解决这个问题,Swing 使用了 布局管理器(通常)使用相对定位将视觉组件放置在屏幕上.

For example, various platforms have various sizes for windows, buttons, and other visual components, so absolute positioning does not work too well. To combat that problem, Swing uses Layout Managers which (generally) use relative positioning to place the visual components on the screen.

尽管为 Java 构建图形用户界面有这些限制",但我认为使用非 Sun 来源和非 Java 特定来源提供的指南中的提示仍然可以作为设计和实现的良好信息来源一个有效的用户界面.毕竟,设计用户界面与其说是编程语言,不如说是人机交互.

Despite these "limitations" of building graphical user interfaces for Java, I think that using tips from guidelines that are provided by non-Sun sources and non-Java-specific sources can still be a good source of information in designing and implementing an user interface that is effective. After all, designing an user interface is less about programming languages and more about human-machine interaction.

这篇关于Java 用户界面规范的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆