This chapter provides a listing of bugs that you may need to work around in your Java code for Mac OS X. Where possible, workarounds are provided.
Java AWT
Java Developer
Java Security
Java Text
Java Web Start
Focus Issues
Focus issues with this release include:
Switching focus away from an AWT TextArea to a non-focusable component (such as Canvas) and back to the TextArea causes focus to be permanently lost
Switching focus away from a Swing JTextArea to an AWT heavyweight component (such as a Panel) and back again causes focus to be permanently lost
None.
J2SE 5.0 Symbols in Xcode Documentation Window
The pbhelpindexer command indexes the Java Reference Documentation and provides symbols for use with the Xcode Documentation window. The version included with Xcode 2.0 and 2.1 didn't support some of the new constructs available in J2SE 5.0.
Upgrade to Xcode 2.2 and use the version of phhelpindexer that's included with it.
Keys in the KeychainStore
The KeychainStore cannot create a Key object from private keys stored in the user's Keychain. Keys can be enumerated and you can view the certificate chain associated with the key, but you can't retrieve a Key object.
None.
JTextField in Metal or Synth Look and Feel
Text in a JTextField may have slight graphical problems when using the Metal or Synth look and feel. It is particularly noticeable when selecting text.
Use the AlwaysUseCoreText runtime value:
-Dapple.awt.AlwaysUseCoreText=true |
JNLP Memory Settings and Property Values
A JNLP file can specify a custom memory setting or a property that would normally be set from the command line, like apple.laf.useScreenMenuBar. That setting, however, is not copied into the Java dictionary of the Info.plist when a user creates a local application.
None.
© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-01-10)