|
|
@ -18,6 +18,7 @@ |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
package jode.swingui; |
|
|
|
package jode.swingui; |
|
|
|
|
|
|
|
import jode.Decompiler; |
|
|
|
import jode.bytecode.ClassInfo; |
|
|
|
import jode.bytecode.ClassInfo; |
|
|
|
///#ifndef OLDSWING
|
|
|
|
///#ifndef OLDSWING
|
|
|
|
import javax.swing.tree.TreeModel; |
|
|
|
import javax.swing.tree.TreeModel; |
|
|
@ -106,6 +107,9 @@ public class PackagesTreeModel implements TreeModel { |
|
|
|
while (enum.hasMoreElements()) { |
|
|
|
while (enum.hasMoreElements()) { |
|
|
|
//insert sorted and remove double elements;
|
|
|
|
//insert sorted and remove double elements;
|
|
|
|
String name = (String)enum.nextElement(); |
|
|
|
String name = (String)enum.nextElement(); |
|
|
|
|
|
|
|
if (Decompiler.skipClass(ClassInfo.forName(prefix+name))) |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
TreeElement newElem = new TreeElement(prefix, name); |
|
|
|
TreeElement newElem = new TreeElement(prefix, name); |
|
|
|
for (int i=0; ; i++) { |
|
|
|
for (int i=0; ; i++) { |
|
|
|
if (i == v.size()) { |
|
|
|
if (i == v.size()) { |
|
|
|