I'm on Win7 64bit and using jdk1.7.0_10 and WebLAF 1.25 Preview. When opening a WebComboBox and the dropdown element is bigger then the frame, then the dropdown element will be displayed with a border.
See screenshot: http://postimg.org/image/n01f4zwnx/
public class ComboTest {
public static void main(String args[]) {
WebLookAndFeel.install();
boolean decorateFrames = WebLookAndFeel.isDecorateFrames();
WebLookAndFeel.setDecorateFrames(true);
WebLookAndFeel.setDecorateDialogs(true);
WebFrame frame = new WebFrame();
frame.setLayout(new FlowLayout());
frame.setPreferredSize(new Dimension(500,100));
frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
final WebComboBox webComboBox = new WebComboBox();
webComboBox.setEditable(true);
frame.add(webComboBox);
WebButton button = new WebButton("Add new item");
button.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
webComboBox.addItem("test");
}
});
frame.add(button);
frame.pack();
frame.setLocationRelativeTo(null);
WebLookAndFeel.setDecorateFrames(decorateFrames);
frame.setVisible(true);
}
}
I'm on Win7 64bit and using jdk1.7.0_10 and WebLAF 1.25 Preview. When opening a WebComboBox and the dropdown element is bigger then the frame, then the dropdown element will be displayed with a border.
See screenshot: http://postimg.org/image/n01f4zwnx/