SortedIterator -> Collections.getSortedIterator().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3682 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -25,9 +25,9 @@ import javax.swing.event.PopupMenuListener;
|
||||
|
||||
import com.samskivert.swing.GroupLayout;
|
||||
import com.samskivert.swing.HGroupLayout;
|
||||
import com.samskivert.util.Collections;
|
||||
import com.samskivert.util.CollectionUtil;
|
||||
import com.samskivert.util.SortableArrayList;
|
||||
import com.samskivert.util.SortedIterator;
|
||||
|
||||
import com.threerings.miso.data.ObjectInfo;
|
||||
import com.threerings.miso.data.SparseMisoSceneModel.ObjectVisitor;
|
||||
@@ -186,7 +186,8 @@ public class SceneInfoPanel extends JPanel
|
||||
DefaultComboBoxModel model =
|
||||
(DefaultComboBoxModel) _colorClasses.getModel();
|
||||
model.removeAllElements();
|
||||
for (Iterator itr = new SortedIterator(set); itr.hasNext(); ) {
|
||||
for (Iterator itr = Collections.getSortedIterator(set);
|
||||
itr.hasNext(); ) {
|
||||
model.addElement(itr.next());
|
||||
}
|
||||
if (selected != null) {
|
||||
|
||||
Reference in New Issue
Block a user