package pdf; import java.io.File; import java.util.Enumeration; import javax.swing.JFrame; import javax.swing.JTree; import javax.swing.tree.DefaultMutableTreeNode; public class Main { public static void main(String[] args) { if( args.length==1 ){ File pdffile=new File(args[0]); BookmarkParser bp=new BookmarkParser(pdffile); IBookmarkNode rootNode=bp.createRoot(); // dump Enumeration enu=rootNode.