diff --git a/BytecodeViewer Beta 1.5.2.jar b/BytecodeViewer Beta 1.5.2.jar new file mode 100644 index 000000000..2eaac60b8 Binary files /dev/null and b/BytecodeViewer Beta 1.5.2.jar differ diff --git a/README.txt b/README.txt index f2316d282..2a1580385 100644 --- a/README.txt +++ b/README.txt @@ -14,7 +14,7 @@ FernFlower by Stiver Procyon by Mstrobel CFR by Lee Benfield -Video of Beta 1.0 (Outdated): https://mediacru.sh/RJUXfW9wd2Tu/direct +Video of Beta 1.5.2: http://the.bytecode.club/pages.php?page=bytecode-viewer Features: Java Decompiler - It uses a modified version of FernFlower, Procyon and CFR. @@ -124,4 +124,6 @@ Changelog: 11/2/2014 - Added search function to the Class Viewer. 11/2/2014 - Updated Procyon to procyon-decompiler-0.5.27. --- Beta 1.5.1 ---: -11/2/2014 - Fixed a CFR issue with packages. \ No newline at end of file +11/2/2014 - Fixed a CFR issue with packages. +--- Beta 1.5.2 ---: +11/3/2014 - Fixed Refresh Class. \ No newline at end of file diff --git a/VERSION b/VERSION index a56d32721..ea09b833b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Beta 1.5.1 \ No newline at end of file +Beta 1.5.2 \ No newline at end of file diff --git a/src/the/bytecode/club/bytecodeviewer/BytecodeViewer.java b/src/the/bytecode/club/bytecodeviewer/BytecodeViewer.java index 3f2430535..a0b78319b 100644 --- a/src/the/bytecode/club/bytecodeviewer/BytecodeViewer.java +++ b/src/the/bytecode/club/bytecodeviewer/BytecodeViewer.java @@ -54,11 +54,9 @@ * * TODO: * Fix the fucking import jar method cause it's a bitch on memory (at the.bytecode.club.bytecodeviewer.JarUtils.getNode(JarUtils.java:83)) - * JSyntaxPane can be horribly slow for really big classfiles, might need to find a work around to this (create the syntaxpane object in the thread, then pass it to the GUI)s * Make the search results clickable * Add a tool to build a flowchart of all the classes, and what methods execute what classes, and those method, read chatlog * Middle mouse click should close tabs - * Add more details on the search results. * * * ----Beta 1.0-----: @@ -154,6 +152,8 @@ * 11/2/2014 - Updated Procyon to procyon-decompiler-0.5.27. * ----Beta 1.5.1-----: * 11/2/2014 - Fixed a CFR issue with packages. + * ----Beta 1.5.2-----: + * 11/3/2014 - Fixed Refresh Class. * * @author Konloch * @@ -172,7 +172,7 @@ public class BytecodeViewer { public static String fs = System.getProperty("file.separator"); public static String nl = System.getProperty("line.separator"); public static String tempDirectory = "bcv_temp"; - public static String version = "Beta 1.5.1"; + public static String version = "Beta 1.5.2"; public static void main(String[] args) { cleanup(); diff --git a/src/the/bytecode/club/bytecodeviewer/gui/ClassViewer.java b/src/the/bytecode/club/bytecodeviewer/gui/ClassViewer.java index 78a778d85..dd5844935 100644 --- a/src/the/bytecode/club/bytecodeviewer/gui/ClassViewer.java +++ b/src/the/bytecode/club/bytecodeviewer/gui/ClassViewer.java @@ -286,11 +286,17 @@ public void run() { RTextScrollPane sourcecodeSPane = new RTextScrollPane(sourcecodeArea); sourcecodeArea.setText(s); - if(BytecodeViewer.viewer.bytecodePane.isSelected()) + if(BytecodeViewer.viewer.bytecodePane.isSelected()) { + if(bytePanel.getComponents().length == 2) + bytePanel.remove(1); bytePanel.add(bytecodeSPane); - if(BytecodeViewer.viewer.sourcePane.isSelected()) + } + + if(BytecodeViewer.viewer.sourcePane.isSelected()) { + if(decompPanel.getComponents().length == 2) + decompPanel.remove(1); decompPanel.add(sourcecodeSPane); - + } bytecodeArea.setCaretPosition(0); sourcecodeArea.setCaretPosition(0); diff --git a/src/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java b/src/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java index 0bf9f0879..119b21385 100644 --- a/src/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java +++ b/src/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java @@ -684,8 +684,6 @@ public void actionPerformed(ActionEvent e) { setTitle("Bytecode Viewer " + BytecodeViewer.version + " - http://the.bytecode.club - @Konloch"); getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.X_AXIS)); - JScrollPane scrollPane = new JScrollPane(); - scrollPane.setMaximumSize(new Dimension(12000, 32767)); //scrollPane.setViewportView(tree); FileNavigationPane cn = new FileNavigationPane(this); cn.setMinimumSize(new Dimension(200, 50));