Skip to content

Commit 2f5995c

Browse files
committed
Beta 1.5.2
11/3/2014 - Fixed Refresh Class.
1 parent 2ce0eaa commit 2f5995c

6 files changed

Lines changed: 17 additions & 11 deletions

File tree

BytecodeViewer Beta 1.5.2.jar

38.3 MB
Binary file not shown.

README.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ FernFlower by Stiver
1414
Procyon by Mstrobel
1515
CFR by Lee Benfield
1616

17-
Video of Beta 1.0 (Outdated): https://mediacru.sh/RJUXfW9wd2Tu/direct
17+
Video of Beta 1.5.2: http://the.bytecode.club/pages.php?page=bytecode-viewer
1818

1919
Features:
2020
Java Decompiler - It uses a modified version of FernFlower, Procyon and CFR.
@@ -124,4 +124,6 @@ Changelog:
124124
11/2/2014 - Added search function to the Class Viewer.
125125
11/2/2014 - Updated Procyon to procyon-decompiler-0.5.27.
126126
--- Beta 1.5.1 ---:
127-
11/2/2014 - Fixed a CFR issue with packages.
127+
11/2/2014 - Fixed a CFR issue with packages.
128+
--- Beta 1.5.2 ---:
129+
11/3/2014 - Fixed Refresh Class.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Beta 1.5.1
1+
Beta 1.5.2

src/the/bytecode/club/bytecodeviewer/BytecodeViewer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,9 @@
5454
*
5555
* TODO:
5656
* Fix the fucking import jar method cause it's a bitch on memory (at the.bytecode.club.bytecodeviewer.JarUtils.getNode(JarUtils.java:83))
57-
* 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
5857
* Make the search results clickable
5958
* Add a tool to build a flowchart of all the classes, and what methods execute what classes, and those method, read chatlog
6059
* Middle mouse click should close tabs
61-
* Add more details on the search results.
6260
*
6361
*
6462
* ----Beta 1.0-----:
@@ -154,6 +152,8 @@
154152
* 11/2/2014 - Updated Procyon to procyon-decompiler-0.5.27.
155153
* ----Beta 1.5.1-----:
156154
* 11/2/2014 - Fixed a CFR issue with packages.
155+
* ----Beta 1.5.2-----:
156+
* 11/3/2014 - Fixed Refresh Class.
157157
*
158158
* @author Konloch
159159
*
@@ -172,7 +172,7 @@ public class BytecodeViewer {
172172
public static String fs = System.getProperty("file.separator");
173173
public static String nl = System.getProperty("line.separator");
174174
public static String tempDirectory = "bcv_temp";
175-
public static String version = "Beta 1.5.1";
175+
public static String version = "Beta 1.5.2";
176176

177177
public static void main(String[] args) {
178178
cleanup();

src/the/bytecode/club/bytecodeviewer/gui/ClassViewer.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,11 +286,17 @@ public void run() {
286286
RTextScrollPane sourcecodeSPane = new RTextScrollPane(sourcecodeArea);
287287
sourcecodeArea.setText(s);
288288

289-
if(BytecodeViewer.viewer.bytecodePane.isSelected())
289+
if(BytecodeViewer.viewer.bytecodePane.isSelected()) {
290+
if(bytePanel.getComponents().length == 2)
291+
bytePanel.remove(1);
290292
bytePanel.add(bytecodeSPane);
291-
if(BytecodeViewer.viewer.sourcePane.isSelected())
293+
}
294+
295+
if(BytecodeViewer.viewer.sourcePane.isSelected()) {
296+
if(decompPanel.getComponents().length == 2)
297+
decompPanel.remove(1);
292298
decompPanel.add(sourcecodeSPane);
293-
299+
}
294300
bytecodeArea.setCaretPosition(0);
295301
sourcecodeArea.setCaretPosition(0);
296302

src/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,8 +684,6 @@ public void actionPerformed(ActionEvent e) {
684684
setTitle("Bytecode Viewer " + BytecodeViewer.version + " - http://the.bytecode.club - @Konloch");
685685
getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.X_AXIS));
686686

687-
JScrollPane scrollPane = new JScrollPane();
688-
scrollPane.setMaximumSize(new Dimension(12000, 32767));
689687
//scrollPane.setViewportView(tree);
690688
FileNavigationPane cn = new FileNavigationPane(this);
691689
cn.setMinimumSize(new Dimension(200, 50));

0 commit comments

Comments
 (0)