mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-27 12:46:22 +01:00
[Creator] Make feature table searchable.
This commit is contained in:
parent
812cd5fcca
commit
a31e07d1d7
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user