I am making an application using NetBeans in Java for the first time and I am encountering behavior I don't understand. When dragging a JComboBox into my app, it looks like this
https://i.stack.imgur.com/HySK3.jpg
Which I really do like the look of this. But when compiling and running my application it changes the look to this:
https://i.stack.imgur.com/4r0cL.jpg
I believe the solution is to override methods in BasicComboBoxUI as suggested in this stackoverflow question How can I change the arrow style in a JComboBox but my question is why does this happen? And is that the solution I am looking for? Thanks in advance!