1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-30 13:13:58 +01:00

[Creator] Make feature table searchable.

This commit is contained in:
sk89q 2015-07-26 21:32:22 -07:00
parent 812cd5fcca
commit a31e07d1d7

View File

@ -7,6 +7,8 @@
package com.skcraft.launcher.creator.dialog;
import com.google.common.base.Strings;
import com.jidesoft.swing.SearchableUtils;
import com.jidesoft.swing.TableSearchable;
import com.skcraft.launcher.builder.BuilderConfig;
import com.skcraft.launcher.builder.FeaturePattern;
import com.skcraft.launcher.builder.FnPatternList;
@ -101,6 +103,9 @@ public class BuilderConfigDialog extends JDialog {
});
cancelButton.addActionListener(e -> dispose());
TableSearchable tableSearchable = SearchableUtils.installSearchable(featuresTable);
tableSearchable.setMainIndex(-1);
}
private JPanel createMainPanel() {