I made a combo box, in netbeans per command, and I can not change it's location (in the frame), the Bounts values change, but it does not move. I've used all kinds of commands (setBounds, setPoint, setLocation, etc.).
public JComboBox<String> combo_1 = new JComboBox<String>();
public JComboBox<String> combo_2 = new JComboBox<String>();
public Tela(){
setTitle("Agreste Tour");
setSize(900,720);
setLocationRelativeTo(null);
setDefaultCloseOperation(EXIT_ON_CLOSE);
setVisible(true);
setLayout(new BorderLayout());
setContentPane(new JLabel(new ImageIcon(ClassLoader.getSystemResource("Imagem/Mapa.png"))));
setLayout(new FlowLayout());
setSize(900,720);
setLayout(null);
setResizable(false);
setLayout(new FlowLayout());
add(combo_1);
add(combo_2);
combo_1.setName("Origem");
combo_1.setName("Destino");
combo_1.setBounds(100, 500, 800, 100);
System.out.println(""+combo_1.getBounds());
JButton Okay = new JButton("Mostrar");
getContentPane().add(Okay);
Okay.addActionListener(this);
}