Ashish C
Ashish C

Reputation: 83

Java User Interface Specification

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.

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

Upvotes: 3

Views: 2053

Answers (4)

VonC
VonC

Reputation: 1324148

You have many LNF (Look And Feel) displayed here but they have not exactly a 'Java User Guide' Provided.

However MigLayout does follow closely the main User Interface standards that exist out there (including some obcure points of button order):

For instance the OK and Cancel buttons have different order on Windows and Mac OS X.
While other layout managers use factories and button builders for this, it is inherently supported by MigLayout by just tagging the buttons.
One just tags the OK button with "ok" and the Cancel button with "cancel" and they will end up in the correct order for the platform the application is running on, if they are put in the same grid cell.

Example on Mac:


(source: miglayout.com)

Upvotes: 3

coobird
coobird

Reputation: 160954

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.

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.

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.

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.

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.

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.

Upvotes: 3

Chii
Chii

Reputation: 14738

the apple developer guide has a human computer interface guide - http://developer.apple.com/documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGIntro/chapter_1_section_1.html#//apple_ref/doc/uid/TP30000894-TP6 .

Even though its targeted at the mac platform, you could learn something from it - its the reason why so many mac apps are pleasant to use, as well as aesthetically pleasing!

Upvotes: 3

jiriki
jiriki

Reputation: 1674

I don't think there are any other complete guidelines. But if you are not talking about the spacing/positioning of components (I don't think that part of Look And Feel Design Guidelines is outdated), but only about the look and feel good starting points are singlabx / swingx:

http://swinglabs.org

http://swinglabs.org/docs/presentations/2007/DesktopMatters/FilthyRichClients.pdf

http://parleys.com/display/PARLEYS/Home#slide=1;talk=7643;title=Filthy%20Rich%20Clients

and JGoodies:

http://www.jgoodies.com/articles/index.html

http://www.jgoodies.com/articles/efficient%20swing%20design.pdf

Upvotes: 1

Related Questions