Skip to main content



      Home
Home » Archived » Visual Editor (VE) » JComboBox an VE ???
JComboBox an VE ??? [message #608080] Mon, 27 June 2005 03:57
Eclipse UserFriend
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
Previous Topic:tablelayout
Next Topic:using j2me componenets
Goto Forum:
  


Current Time: Thu Jun 19 12:50:13 EDT 2025

Powered by FUDForum. Page generated in 0.03341 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top