-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
6
-
x86
-
windows
Consider the following simple applet:
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);
}
}
Running the applet in appletviewer or Internet Explorer doesn't show any errors, while in Mozilla and Firefox the opened choice size is too large: about 30 items or even more. If the screen resolution is 800x600 or less this may lead to some last choice items (98, 99, 100) to be inaccessible with mouse.
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);
}
}
Running the applet in appletviewer or Internet Explorer doesn't show any errors, while in Mozilla and Firefox the opened choice size is too large: about 30 items or even more. If the screen resolution is 800x600 or less this may lead to some last choice items (98, 99, 100) to be inaccessible with mouse.
- relates to
-
JDK-6516404 regression: Choice vertical scrollbar is not seen when the item in the choice is increased more than
- Closed