remove tag list algorithm
2011-09-28 12:24:49
멤버십
if(removeTagWithItsContentList.isSelectionEmpty()){
return;
}
String[] newRemoveTagListModel = new String[removeTagWithItsContentList.getModel().getSize()-removeTagWithItsContentList.getSelectedIndices().length];
for(int i=0,j=0,k=0;j if(i i++; continue; } newRemoveTagListModel[j] = removeTagWithItsContentList.getModel().getElementAt(k).toString(); j++; } removeTagWithItsContentList.setModel(new DefaultComboBoxModel removeTagWithItsContentList.repaint();
▼ more