Re: Mac OS X LookAndFeel on Windows



Michele Damian wrote:
Hi,

I'm programming on a Windows XP platform but I'm trying to use a
Mac LookAndFeel.

Exception first:
the Win "src.zip" doesn't contain the package
"com.sun.java.swing.plaf.mac.MacLookAndFeel". :-(

I know, that isn't possibile because of the copyright but, maybe, it
isn't a bad idea import the
"com.sun.java.swing.plaf.mac.MacLookAndFeel". After that I can try to
make a code like this:

Properties p = System.getProperties();
p.put("os.name", "Mac"); // I'm not sure, it's to clear some
restriction on copyright
System.setProperties(p);

try {

UIManager.setLookAndFeel("com.sun.java.swing.plaf.mac.MacLookAndFeel");
}
catch(Exception e) {
e.printStackTrace();
}


Exception second:
this hell of MacLookAndFeel isn't possible to find in the web. :-((

A way is to install the Mac JDK and get the MacLookAndFeel from its
"src.zip".


Exception third:
I can't install the Mac JDK on Windows Xp, can I? :-(((

I try to use the Aqua LookAndFeel from
http://www.l2fprod.com/rw/default/ but it isn't really like a
MacLookAndFeel, also I can enxtend the java class like I want.

Do you know what I have to do? Thank you very much.

P.S.: I'm sorry for my terrible english.

| | |-------- | |---------|
| | | | | |
|--------| |-------- | |---------|
| | | | |
| | |-------- |--------- |


You cannot use a Mac L&F com.sun.java.swing.plaf.mac.MacLookAndFeel There are licensing issues. You are not allowed according to the licensing.

You could go to http://www.javootoo.com and look for similar LAF's would be your best bet. I have found and use some cool ones from there.

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
.



Relevant Pages

  • Mac OS X LookAndFeel on Windows
    ... Mac LookAndFeel. ... Exception second: ... I can't install the Mac JDK on Windows Xp, ...
    (comp.lang.java.gui)
  • Mac OS X LookAndFeel on Windows
    ... Mac LookAndFeel. ... Exception second: ... I can't install the Mac JDK on Windows Xp, ...
    (comp.lang.java.programmer)
  • Re: Security firm suggests Windows users switch to Macs
    ... with the exception of Mac OS ... is available for the Windows PC market place. ...
    (comp.sys.mac.advocacy)
  • Re: OFFICE XP AND NT DOCUMENTS
    ... "Steve McKenna" wrote in message ... > Our organisation is soon due to receive Windows XP, ... the creating Application runs on (with the possible exception of Mac, ...
    (microsoft.public.office.misc)
  • 15 reasons Macs are still better than Windows PCs
    ... With Windows 7 coming up, it's time to yet again ponder on whether ... I long ago stopped actively seeking out Mac vs PC discussions (partly ... Apple uses good quality parts. ... problem lies from those three apps. ...
    (comp.sys.mac.advocacy)