This issue only applies to unstyled input fields that draw with the normal system backgrounds. If you are in complete control of the content you are displaying, you can work around it by adding a style to your field. For example, changing the background color or adding a border.
Since some applications are not in control of all of the content they display with HTMLViewer, there exists a more drastic workaround. Real Studio 2011r4 contains a hidden preference that controls what version of the system your application will appear to be linked against. The flag can be changed by executing this Terminal command while the IDE is quit:
defaults write com.realsoftware.realstudio "Mac SDK Version" -string "10.6"It an be undone by executing the following while the IDE is quit:
defaults delete com.realsoftware.realstudio "Mac SDK Version"
We do not support the use of this flag and recommend against using it unless you absolutely must. It is a global setting that applies to all projects compiled in the IDE while it is set. If you do use this, test your applications intensively.