mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-03 18:44:46 +00:00
Fixed: #1622 Slow scrolling (search results, advanced settings and others)
This commit is contained in:
@@ -476,14 +476,14 @@ public class DebugPanel extends JPanel {
|
||||
if (debugRegistersTable.getRowCount() > 0) {
|
||||
tabTypes.add(SelectedTab.REGISTERS);
|
||||
pa = new JPanel(new BorderLayout());
|
||||
pa.add(new JScrollPane(debugRegistersTable), BorderLayout.CENTER);
|
||||
pa.add(new FasterScrollPane(debugRegistersTable), BorderLayout.CENTER);
|
||||
varTabs.addTab(AppStrings.translate("variables.header.registers"), pa);
|
||||
}
|
||||
if (debugLocalsTable.getRowCount() > 0) {
|
||||
tabTypes.add(SelectedTab.LOCALS);
|
||||
|
||||
pa = new JPanel(new BorderLayout());
|
||||
pa.add(new JScrollPane(debugLocalsTable), BorderLayout.CENTER);
|
||||
pa.add(new FasterScrollPane(debugLocalsTable), BorderLayout.CENTER);
|
||||
varTabs.addTab(AppStrings.translate("variables.header.locals"), pa);
|
||||
}
|
||||
|
||||
@@ -491,7 +491,7 @@ public class DebugPanel extends JPanel {
|
||||
tabTypes.add(SelectedTab.SCOPECHAIN);
|
||||
|
||||
pa = new JPanel(new BorderLayout());
|
||||
pa.add(new JScrollPane(debugScopeTable), BorderLayout.CENTER);
|
||||
pa.add(new FasterScrollPane(debugScopeTable), BorderLayout.CENTER);
|
||||
varTabs.addTab(AppStrings.translate("variables.header.scopeChain"), pa);
|
||||
}
|
||||
|
||||
@@ -499,7 +499,7 @@ public class DebugPanel extends JPanel {
|
||||
tabTypes.add(SelectedTab.CONSTANTPOOL);
|
||||
|
||||
pa = new JPanel(new BorderLayout());
|
||||
pa.add(new JScrollPane(constantPoolTable), BorderLayout.CENTER);
|
||||
pa.add(new FasterScrollPane(constantPoolTable), BorderLayout.CENTER);
|
||||
varTabs.addTab(AppStrings.translate("constantpool.header"), pa);
|
||||
}
|
||||
|
||||
@@ -507,21 +507,21 @@ public class DebugPanel extends JPanel {
|
||||
tabTypes.add(SelectedTab.CALLSTACK);
|
||||
|
||||
pa = new JPanel(new BorderLayout());
|
||||
pa.add(new JScrollPane(callStackTable), BorderLayout.CENTER);
|
||||
pa.add(new FasterScrollPane(callStackTable), BorderLayout.CENTER);
|
||||
varTabs.addTab(AppStrings.translate("callStack.header"), pa);
|
||||
}
|
||||
if (stackTable.getRowCount() > 0) {
|
||||
tabTypes.add(SelectedTab.STACK);
|
||||
|
||||
pa = new JPanel(new BorderLayout());
|
||||
pa.add(new JScrollPane(stackTable), BorderLayout.CENTER);
|
||||
pa.add(new FasterScrollPane(stackTable), BorderLayout.CENTER);
|
||||
varTabs.addTab(AppStrings.translate("stack.header"), pa);
|
||||
}
|
||||
if (logLength > 0) {
|
||||
tabTypes.add(SelectedTab.LOG);
|
||||
|
||||
pa = new JPanel(new BorderLayout());
|
||||
pa.add(new JScrollPane(traceLogTextarea), BorderLayout.CENTER);
|
||||
pa.add(new FasterScrollPane(traceLogTextarea), BorderLayout.CENTER);
|
||||
JButton clearButton = new JButton(AppStrings.translate("debuglog.button.clear"));
|
||||
clearButton.addActionListener(new ActionListener() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user