-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b131
-
windows_8
Please run the following simple test code:
import java.awt.*;
import java.util.stream.Stream;
public class ChoiceTest {
private static void UI() {
Frame frame = new Frame("Test frame");
Choice choice = new Choice();
Stream.of(new String[] {"item 1", "item 2", "item 3"}).forEach(choice::add);
frame.add(choice);
frame.setBounds(100, 100, 400, 200);
frame.setVisible(true);
}
public static void main(String[] args) throws Exception { EventQueue.invokeAndWait(ChoiceTest::UI); }
}
Please compare screenshots:
JDK9 b94 - ok.png
current (3 Dec.) state of client repo build - nok.png (cannot see item text fully)
please note also that the frame sizes differ.
Windows 8 + HiDPI monitor
import java.awt.*;
import java.util.stream.Stream;
public class ChoiceTest {
private static void UI() {
Frame frame = new Frame("Test frame");
Choice choice = new Choice();
Stream.of(new String[] {"item 1", "item 2", "item 3"}).forEach(choice::add);
frame.add(choice);
frame.setBounds(100, 100, 400, 200);
frame.setVisible(true);
}
public static void main(String[] args) throws Exception { EventQueue.invokeAndWait(ChoiceTest::UI); }
}
Please compare screenshots:
JDK9 b94 - ok.png
current (3 Dec.) state of client repo build - nok.png (cannot see item text fully)
please note also that the frame sizes differ.
Windows 8 + HiDPI monitor