(Firefox bug # 360276, Sun bug # 6494419)
Steps to Reproduce:
1.
Make sure Firefox has Java installed.
2. Set the display to 800 x 600 resolution. At this resolution, open Firefox.
3. In the applet displayed on this page, click the Choice
component and try to get to select "Item 100".
Actual Results: You can only scroll far enough to see "Item 96" and select "Item 97".
Expected Results: You should be able to get to "Item 100".
Additional information:
1. The cutting problem happens in all Firefox versions tested: 1.5.0.8, 2.0, 2.0.0.4,
and 3 beta 2.
2. The cutting problem happens with all Sun Java versions tested: 1.5 release 9,
1.6 release candidate, 1.7 build 02, 1.7 build 14 and 1.7 build 24.
3. There is no cutting using the same Java versions in Internet Explorer 7.
4. Using this particular applet the Choice component is not cut off at screen
resolutions higher than 800 x 600.
Notes: If you have any insights, workarounds or comments about
this test page please contact Mickey
Segal. A listing of many Java resources is at this link.
import java.applet.*;
import java.awt.*;
public class choice_cut extends Applet {
public void init()
{
setBackground(Color.gray);
Choice choice = new Choice();
choice.setFont(new Font("Serif", Font.BOLD, 19));
for (int i=0; i<101; i++) choice.addItem("Item " +
String.valueOf(i) + " ");
add(choice);
}
} // END OF Class choice_cut