• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LookAndFeel help.

 
Yucca Nel
Ranch Hand
Posts: 147
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not a tricky one but want to know if I should fo ahead with this. I wanted to set my look and feel to the system of the client. I know java is platform independant but are there
other complications when create a pogram for all sytems? for eg. keystrokes? Also how would one set the lookAndFeel for x number of prefered platforms? Would you handle the UnsupportedLookAndFeel by trying a different lookAndFeel?
 
K. Tsang
Bartender
Posts: 3583
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Yucca, I don't think you need to worry about the look and feel. The default java look and feel is "metal".

If you run your app on Unix you would get the metal L&F. If you run your app on Windows, you get the "windows" L&F. However, if you want to use the metal L&F on windows.... then you need to set the L&F accordingly. But not a requirement.

Hope this helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic