Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Windows Look-and-Feel

 
aman arora
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I use Windows Look-and-Feel in a
Unix (Linux/Solaris/HP-UX) platform?
it throws UnsupportedLookAndFeelException ?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18272
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know at what level the plaf modules start using native windowing services, but there's the possibility that the reason that you get an unsuppported look-and-feel exception is that the low-level native windowing services are simply not available because they are part of Windows, and you're not running Windows.
I can say, however, that while Linux users might be more tolerant, if you were ever to force the MS-WINDOWS look-and-feel on MACINTOSH users, they'd be coming after you with the ropes and knives and sharpened farm implements!
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim is right. The services just aren't there. Also I read somewhere that it was actually a copywrite infringement for the Windows Look and Feel to be ported to other platforms. So MS would be coming after you with knives and pitchforks, etc.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic