allow selecting byte in dumpview hex table

This commit is contained in:
honfika@gmail.com
2014-08-30 11:05:40 +02:00
parent 0a1e132596
commit 8de30b8072
9 changed files with 433 additions and 205 deletions

View File

@@ -358,7 +358,7 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec
private JPanel createDumpPreviewCard() {
JPanel dumpViewCard = new JPanel(new BorderLayout());
dumpViewPanel = new DumpViewPanel();
dumpViewPanel = new DumpViewPanel(dumpTree);
dumpViewCard.add(new JScrollPane(dumpViewPanel), BorderLayout.CENTER);
return dumpViewCard;
@@ -2172,7 +2172,7 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec
return;
}
dumpViewPanel.setData(DumpInfoSwfNode.getSwfNode(dumpInfo).getSwf().originalUncompressedData, dumpInfo);
dumpViewPanel.setSelectedNode(dumpInfo);
dumpViewPanel.revalidate();
showCard(CARDDUMPVIEW);
}