|Oracle Forms Developer and OracleAS Forms Services Migrating Forms Applications from Forms 6
Part Number B10469-01
This chapter describes migration steps to take if your Forms applications use Java-related components.
Pluggable Java Components (PJCs) and JavaBeans use classes that are part of the oracle.ewt framework. When upgrading to Oracle Forms, there are steps you must take to ensure equivalent functionality.
When migrating Forms applications from JDK 1.1 to JDK 1.3 or higher, you may encounter font height changes. This is because the code that renders fonts underwent significant changes from JDK 1.1 to JDK 1.3. As a result of these changes, the font height for logical fonts of the same size increased in JDK 1.3. For example, a dialog font of size 12 points has a height of 15 points in JDK 1.1 and a height of 17 points in JDK 1.3.
In Forms applications, the font size changes may affect labels, which can overlap text fields. One possible workaround is to set the following applet parameter to "yes":
After making this change, check the appearance of the font size to be sure it is acceptable. You may still need to modify the form if this workaround does not provide acceptable font sizes. See the Oracle Application Server Forms Services Deployment Guide for details.
Another workaround is that when the font is unspecified, the default font name and size in Registry.dat will be used. The default font in registry.dat is Dialog with a default size of 900. The size of this font can be modified to a smaller value in the registry.dat file. In cases where the font is not specified, you can work around the problem without modifying the form. However, use caution because it will modify the font size for the entire application.