JComboBox an VE ??? [message #608080] |
Mon, 27 June 2005 03:57 |
Eclipse User |
|
|
|
The VE doesn't show the combobox when it is initialized with items?
Does anybody now how to deal with this
private JComboBox getJCBR113() {
String[] ChoicesStrings = { "Yes", "No", "N/A" };
if (jCBR113 == null) {
jCBR113 = new JComboBox(ChicesStrings);
jCBR113.setBounds(182, 29, 64, 19);
jCBR113.setSelectedIndex(0);
}
return jCBR113;
When using
jCBR113 = new JComboBox(); it is ok and shows up in the VE
but using the code above returns 'ChicesStrings too complicated'
and Index out of bounds (as a result of the first error ?)
Thanks for any help
|
|
|
Powered by
FUDForum. Page generated in 0.03341 seconds