I am trying to set background image width 100, height 100 and making the border to null. So that i can design the input field looking similar to following, but border is not applying and round corner does not exit + there is no background image apply way around.
// Current
String[] petStringsa = { "eth0: ", "eth1: " };
JPanel namePanela = new JPanel(new BorderLayout());
JLabel nameLabela = new JLabel("View Inerfaces: ");
nameLabela.setDisplayedMnemonic(KeyEvent.VK_N);
final JComboBox nameTextFielda = new JComboBox(petStringsa);
nameTextFielda.setBorder(null);
nameTextFielda.setBackground(Color.white);
nameLabela.setLabelFor(nameTextFielda);
namePanela.add(nameLabela, BorderLayout.WEST);
namePanela.add(nameTextFielda, BorderLayout.CENTER);