Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / September 2005

Tip: Looking for answers? Try searching our database.

standalone app eye candy

Thread view: 
antoine - 24 Aug 2005 03:56 GMT
Hello,

I'm developping & supporting a standalone application that my users
stare at for 6 hours in a row. now that all functionnalities are
working properly, we've been thinking of making it a little nicer on
the eyes, by adjusting colors and the like.

however it still has the raw and dull look of the basic java components
(panel, tables, buttons) arranged one next to the others.

I'm then looking for a way to make things nicer, using nicer buttons,
nicer colors, nicer finitions, without the help of prepackaged "themes"
(I've used one that gives the Mac Aqua feel, but I'm not happy with the
loss of control I have on the elements - and I'm concerned about the
performances as well)

has anyone any interesting insight on how to turn a plain GUI into a
jewel without compromising control & performances ?

any trick or link welcome !!

thanks
Karsten Lentzsch - 24 Aug 2005 07:50 GMT
> Hello,
>
[quoted text clipped - 14 lines]
> has anyone any interesting insight on how to turn a plain GUI into a
> jewel without compromising control & performances ?

I suggest that before you make things "nicer"
you try to improve the readability and legibility
as well as the consistency of your visual design.
That pays back and often it actually is perceived
as "nicer" by users, because the design seems
to be cleaner.

You can find a couple of Don'ts and Do's for that
in my presentation "First Aid for Swing" at
http://www.jgoodies.com/articles/ The slides refer
to an example application that shall demonstrate
the effect of different visual changes, see
http://www.jgoodies.com/freeware/metamorphosis/index.html

I suggest that once you've cleaned up your design,
you can add eye candy in a second step: carefully add
color, great typography, animations, visual effects.
See for exampel the effects mentioned by Romain Guy:
http://www.jroller.com/page/gfx
I provide a free animation library for Swing:
https://animation.dev.java.net/ It's used in several
of my tools and demos that you can download from:
http://www.jgoodies.com/freeware/index.html

Hope this helps. Kind regards,
Karsten Lentzsch
Thomas Weidenfeller - 24 Aug 2005 08:48 GMT
> I'm developping & supporting a standalone application that my users
> stare at for 6 hours in a row. now that all functionnalities are
> working properly, we've been thinking of making it a little nicer on
> the eyes, by adjusting colors and the like.

Form follows function. If people have to work with the application for
six hours in a row you effort is better spend in making it easy to work
with the application. Eye candy is probably a sales argument, but people
will get used to your eye candy soon and don't recognize it any more.

Remove as much confirmation dialogs as you can. E.g. the dreaded "Do you
really want to do this?" questions. Or the "I have finished something,
press Ok to continue" dialogs. Instead provide a properly working
unlimited undo feature.

Simplify your menu structure. Deep structured menus are difficult to
navigate.

Run tasks in the background instead of letting the users having to wait
for something to be finished before they can continue.

Polish keyboard navigation, especially if people have to fill in forms.

Make forms customizable. Many forms contain entry fields for things
which are used just once every thousand entries. You see this when
people enter data and hit the tab key like crazy.

Provide (calculate) as much meaningful defaults as possible.

Provide single-click fire-and forget buttons for common tasks. If that
isn't possible, consider "intelligent" wizards

Spend much time to improve the on-line help. Spare people typical help
nonsense like "The <Strange Name> Button does the <Strange Thingy>."
without explaining the <Strange Thingy> at all. Spend even more time to
make things so obvious that no one has to look into the help (no
<Strange Name> Button).

Talk in your user's language. If they call something grublydo, but the
technical term is ADRIBRI, name it grublydo in the GUI.

Make the application robust. Nothing is more "fun" than having an
application crash three times during a six hour shift.

Sit yourself in front of the application and work with it for six hours,
just like your users would do. Get rid of anything which annoys you.

/Thomas

Signature

The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/

Monique Y. Mudama - 24 Aug 2005 17:02 GMT
> has anyone any interesting insight on how to turn a plain GUI into a
> jewel without compromising control & performances ?

We're doing this right now with a customized LookAndFeel.  You can put
all sorts of stuff in there, and once you've gone to the effort of
making everything respond to LookAndFeel changes, skinning is a snap.
I actually found that in doing this, some of my code cleaned itself up
pretty nicely.

I agree with other posters that ease of use must come first, but that
doesn't mean you have to use ugly colors.

Signature

monique

Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html

Pete Barrett - 24 Aug 2005 18:29 GMT
>has anyone any interesting insight on how to turn a plain GUI into a
>jewel without compromising control & performances ?

Put the users in control of things like fonts and colours, ideally by
using the same colours as they use on their desktop. They won't thank
you for it (probably they won't even notice it), but if they're forced
to work with something you like but they don't, they'll notice that!

Pete Barrett
Roedy Green - 29 Aug 2005 08:48 GMT
>has anyone any interesting insight on how to turn a plain GUI into a
>jewel without compromising control & performances ?

see http://mindprod.com/jgloss/laf.html

Then scour the net for pre-done LAFs that appeal to you.

You might then write your own LAF or modify someone else's. Then you
can beautify ANY app, not just one.

I suggest a visit to  http://jgoodies.com

Karsten Lensch has some interesting thoughts on making apps look good.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.

Chris Smith - 29 Aug 2005 16:50 GMT
> >has anyone any interesting insight on how to turn a plain GUI into a
> >jewel without compromising control & performances ?
>
> see http://mindprod.com/jgloss/laf.html
>
> Then scour the net for pre-done LAFs that appeal to you.

It's worth mentioning that if you require Swing's metal l&f, then you
can very easily write and set your own "theme", which can specify a
bunch of different colors and other low-level UI details.  You don't get
to change the fundamental look, but this is good enough for everything
that's been asked about so far.

Signature

www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation

antoine - 06 Sep 2005 07:01 GMT
thanks for all the useful advice.
Karsten website & slides are goldmines !
I could get enough ideas to do something much more appealing. my
buttons are still ugly gray boxes, but well... that will change when I
get into the L&F.

last question though:

it looks like Sun introduced a "configurable" L&F in j2se 1.5, to be
used through XML config files. anyone has ever used / tested that ?
what is the verdict ?


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.