Symphony-DAS / symphony-matlab

Symphony Data Acquisition System
http://symphony-das.github.io
MIT License
19 stars 5 forks source link

Add ability to search protocol list #7

Closed cafarm closed 8 years ago

cafarm commented 8 years ago

JIDE offers a pretty cool searchable JComboBox that would make finding a protocol in a long list of protocols easier. You just click on the ComboBox and start typing:

search

Here's some sample code:

import com.jidesoft.combobox.*;
import com.jidesoft.plaf.LookAndFeelFactory;
import com.jidesoft.swing.*;

JComboBox comboBox = new JComboBox(names);
comboBox.setEditable(false); // combobox searchable only works when combobox is not editable.
SearchableUtils.installSearchable(comboBox);
cafarm commented 8 years ago

In addition, it would be nice if protocols were sorted by name.