Two Laptop Bag*
The moose likes Linux / UNIX and the fly likes Windows Look-and-Feel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Windows Look-and-Feel " Watch "Windows Look-and-Feel " New topic
Author

Windows Look-and-Feel

aman arora
Greenhorn

Joined: Apr 25, 2002
Posts: 4
How can I use Windows Look-and-Feel in a
Unix (Linux/Solaris/HP-UX) platform?
it throws UnsupportedLookAndFeelException ?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16020
    
  20

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!


Customer surveys are for companies who didn't pay proper attention to begin with.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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.


GenRocket - Experts at Building Test Data
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Windows Look-and-Feel