Java - How to make JTextField and JComboBox roundcorner borderless and background image?
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.

![http://image.shutterstock.com/display_pic_with_logo/85630/85630,1234358857,2/stock-vector-website-design-set-on-a-black-consist-of-menu-bar-buttons-checkbox-input-text-fields-drop-24795286.jpg][1]

    // 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);


  [1]: http://i.stack.imgur.com/Vgmoy.jpg
Java - How to make JTextField and JComboBox roundcorner borderless and background image?
===

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.

![http://image.shutterstock.com/display_pic_with_logo/85630/85630,1234358857,2/stock-vector-website-design-set-on-a-black-consist-of-menu-bar-buttons-checkbox-input-text-fields-drop-24795286.jpg][1]

    // 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);


  [1]: http://i.stack.imgur.com/Vgmoy.jpg