GUI Help
I am trying to add a JLabel in the north and JComboBox to the south in my GUI layout however the JLabel is not showing up. For some reason the combobox does show up. Here is my code, any assistance will be greatly appreciated:
privatevoid layoutGUIComponents(Container contents){
contents.setLayout(new BorderLayout());
// YOUR CODE HERE
status =new JLabel();
updateStatus();
contents.add(status);
JComboBox choices =new JComboBox(THRESHOLDS);//Thresholds selection box
choices.setSelectedIndex(6);
choices.addActionListener(new ActionListener(){
publicvoid actionPerformed(ActionEvent e){
doThresholdChanged((JComboBox)e.getSource());
}
});
contents.add(choices);
}

