• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

look and feel

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
just want to know how elaboration you had on the look and feel, for example, font, color, and the button size, did you elaborate them to look fancy?
my problem is if I use default, the text color is always different with other text, and the OK button is not equal size with CANCEL button.
don't know why I am always entangled with such trivial details, how do you guys keep go ahead with such kind of things in one project?
 
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here's a link to Sun's wordy recommendation for look and feel:
http://java.sun.com/products/jlf/ed1/dg/index.htm
I'd be afraid that Sun would take it as an insult if you didn't stick with the Java look and feel.
 
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


my problem is if I use default, the text color is always different with other text, and the OK button is not equal size with CANCEL button.


The size of the Cancel button should be different from the size of the OK button, and the text color of the label should be different form the text color of the text box. Incidentally, if you use defaults when creating your GUI controls, your basic control attributes (such as size, font color, borders, etc) will be set to Java Look & Feel Guidelines.
Eugene.
 
Gosling Gong
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
that means I have to set them for all the component I used? I readed the Java Look and Feel Guideline, but didn't find there is description on size, color etc.
by the way, how did you do it? did you set every component when create it?
thanks!
 
Onion rings are vegetable donuts. Taste this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic