Please provide more details:
1. Exactly which Forms version are you currently using?
2. Exactly which Java plugin version are you using to run your application on the client?
3. Exactly which Forms version were you using previously?
4. If the previous version was deployed via a browser and not client/server, exactly which Java plugin version was used to run the application on the client?
5. When you say "width", are you referring to the visual representation of the characters or the visual size of the associated field or the max number of characters allowed in the field?
Any additional details would be helpful.
1. Exactly which Forms version are you currently using? 11gR2
2. Exactly which Java plugin version are you using to run your application on the client? Java 7
3. Exactly which Forms version were you using previously? 6i
4. If the previous version was deployed via a browser and not client/server, exactly which Java plugin version was used to run the application on the client? Previous version is client/server mode
5. When you say "width", are you referring to the visual representation of the characters or the visual size of the associated field or the max number of characters allowed in the field? visual representation of the characters
I don't want to come across as "picky", but for future reference, 11gR2, Java 7, and 6i are not "exact versions". These are part of product marketing names and could potentially represent dozens of actual versions. This can be very important because if for example I knew of a bug in Java 7U21 and you said you were using Java 7U21, I would have been able to quickly tell you that there is a known bug in that version and you could just update your Java version and be done. But without those details, helping becomes more difficult and time consuming. This is common problem when working with Support. In order to have the best possible experience when working with any Support organization or technical forum, always provide precise details about the problem and the products you are using. It will help you get to a solution much faster.
So, given what you have provided, I can tell you that the representation you see in an old client/server application likely will appear somewhat different when deployed as a Java applet, regardless of the Forms version. In your client/server environment, the application is running as a native C application on the client. It can take advantage of the underlying OS and its features, including its fonts. When you moved your application to a java environment, significant changes occurred under the hood. The java environment uses "java fonts" and not necessarily the fonts found on the machine. This is partially what allow the application to be compatible with almost any client. Local fonts can be used but additional configuration would be required.
My point is, what you are seeing is mostly expected. Some adjustments likely will be necessary when moving from client/server to web. Exactly how you make these changes will depend on exactly how the application was developed. Here are your options as I see them, but again, which will work best for you will depend on the design of the app:
1. Decrease the font size in the fmb
2. Use a different font in the fmb
3. Adjust the font size or name in Registry.dat. Changing the default size likely will not help if you have hard coded a font size in your application
4. Using the clientDPI parameter might help, but will also alter the appearance of other components. It might be worth testing since it's easy to do. Refer to the Forms Deployment Guide for details. I will assume you are using 22.214.171.124. Here is the link for its Deployment Guide:
My customer is going to do a migration project, which is from Forms 6i to 11gR2. There are over 1000 forms and that's why they are not going to the adjustment manually. So option (1), (2) and probably (3) won't help.
I will try option (4). Thanks for your advice.