JComboBox value check

Hello every body how to check the Comobox seletcted item value is null or not. any code help or any help materila.
[128 byte] By [zerocooola] at [2007-11-26 15:39:51]
# 1
Read the API.
es5f2000a at 2007-7-8 21:58:17 > top of Java-index,Desktop,Core GUI APIs...
# 2

if (comboBox.getSelectedItem() == null) {

//selected item is null

}

else {

//selected item is not null

}

the12huntersa at 2007-7-8 21:58:17 > top of Java-index,Desktop,Core GUI APIs...
# 3
thanx hunter its really works
zerocooola at 2007-7-8 21:58:17 > top of Java-index,Desktop,Core GUI APIs...