mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-15 07:01:53 +00:00
classes list tree search fix
This commit is contained in:
@@ -71,7 +71,6 @@ import javax.swing.UIDefaults;
|
||||
import javax.swing.UIManager;
|
||||
import javax.swing.UnsupportedLookAndFeelException;
|
||||
import javax.swing.plaf.FontUIResource;
|
||||
import javax.swing.plaf.TreeUI;
|
||||
import javax.swing.plaf.basic.BasicColorChooserUI;
|
||||
import javax.swing.table.DefaultTableCellRenderer;
|
||||
import javax.swing.table.DefaultTableColumnModel;
|
||||
@@ -541,10 +540,7 @@ public class View {
|
||||
}
|
||||
|
||||
public static void expandTreeNodes(JTree tree, TreePath parent, boolean expand) {
|
||||
TreeUI ui = tree.getUI();
|
||||
tree.setUI(null);
|
||||
expandTreeNodesRecursive(tree, parent, expand);
|
||||
tree.setUI(ui);
|
||||
}
|
||||
|
||||
private static void expandTreeNodesRecursive(JTree tree, TreePath parent, boolean expand) {
|
||||
|
||||
Reference in New Issue
Block a user