518519520521522523524525526527528
if (idx > 0) { IFileListBoxModel model = _extraClassPathList.getTypedModel(); File file = model.removeFile(idx); --idx; model.insertFileAt(file, idx); _extraClassPathList.setSelectedIndex(idx); } } } });
539540541542543544545546547548549
IFileListBoxModel model = _extraClassPathList.getTypedModel(); if (idx > -1 && idx < (model.getSize() - 1)) { File file = model.removeFile(idx); ++idx; model.insertFileAt(file, idx); _extraClassPathList.setSelectedIndex(idx); } } } });