This commit is contained in:
Jindra Petk
2012-12-28 16:02:07 +01:00
parent dbe3dc2905
commit a40db28465
13 changed files with 120 additions and 60 deletions

View File

@@ -17,6 +17,7 @@
package com.jpexs.asdec.abc.gui;
import com.jpexs.asdec.tags.DoABCTag;
import java.util.Collections;
import java.util.List;
import javax.swing.ComboBoxModel;
import javax.swing.event.ListDataListener;
@@ -28,6 +29,7 @@ public class ABCComboBoxModel implements ComboBoxModel {
public ABCComboBoxModel(List<DoABCTag> list) {
this.list = list;
Collections.sort(this.list);
}
public int getSize() {