The following code creates a choice menu with 100 items. On Solaris, when I pop up the menu, it just shows the first N entries that fit on the screen. On NT I get a menu with a scroll bar so all choices are accessible.
Here is an example piece of code:
public class TestChoice extends Frame
{
Label label = new Label ("Try to select Choice 89:");
Choice bigChoice = new Choice();
public TestChoice() {
super("Show Unusable Choice");
for (int i=0; i<100; i++)
bigChoice.add("Choice " + i);
setLayout(new GridBagLayout());
add(label);
add(bigChoice);
pack();
setVisible(true);
}
public static void main(String[] args) {
new TestChoice();
}
}