venderCodeTB.setText(var.getVenderCode());
Textbox insideCodeTB = (Textbox) getFellow("insideCode");
Combobox priorityCB = (Combobox) getFellow("priority");
Doublebox latestPriceTB = (Doublebox) getFellow("latestPrice");
Intbox inventoryAmountTB = (Intbox) getFellow("inventoryAmount");
Combobox systemTypeCB = (Combobox) getFellow("system");
insideCodeTB.setText(var.getInsideCode());
Iterator priorityIt = priorityCB.getItems().iterator();
while (priorityIt.hasNext()) {
Comboitem item = (Comboitem) priorityIt.next();
String priorityStr = item.getValue().toString();
if (var.getPriority() != null && var.getPriority().equals(priorityStr)) {
priorityCB.setSelectedItem(item);
}
}
latestPriceTB.setValue(var.getLatestPrice());
inventoryAmountTB.setValue(var.getInventoryAmount());
Iterator stItr = systemTypeCB.getItems().iterator();
while (stItr.hasNext()) {
Comboitem item = (Comboitem) stItr.next();
String s = (String) item.getValue();