File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Windows Look-and-Feel

 
aman arora
Greenhorn
Posts: 4
  • 0
  • 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: 17621
39
Android Eclipse IDE Linux
  • 0
  • 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
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic