Unfortunately, the Mac does not support version 1.6 of Java, just 1.5. Java hides many of the peculiarities of the Mac from you. For example to account of the different ways to request a menu popup, MouseEvent.isPopoupTrigger() will occur when somebody right clicks on a PC mouse or presses the single Mac mouse button with the control key down, Macs have no set environment. Java uses the System Properties which don’t rely on it. You deal with Mac’s peculiar habit of using \r instead of \n or \r\n for separating lines in text files you have:
static String fileSeparatorChar = File.separatorChar; static String lineSeparator = System.getProperty ( "line.separator" ); static String nameSeparator = File.separator; /* always 1 long */ static String nameSeparatorChar = File.separatorChar; static char pathSeparatorChar = File.pathSeparatorChar;
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.16] | The information on this page is for non-military use only. | ||
| You are visitor number 4,108. | Military use includes use by defence contractors. | ||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/Mindprod website mirror) | ||
| http://mindprod.com/bgloss/macintosh.html | J:\mindprod\bgloss\macintosh.html | ||