I just get this from PDFDebugger.java:
DocumentEntry documentEntry = new DocumentEntry(document, file.getName());
ZoomMenu.getInstance().resetZoom();
RotationMenu.getInstance().setRotationSelection(RotationMenu.ROTATE_0_DEGREES);
tree.setModel(new PDFTreeModel(documentEntry));
I do setModel for my tree and its works.

пт, 1 мар. 2019 г. в 00:50, Tilman Hausherr <thaush...@t-online.de>:

> Am 28.02.2019 um 12:12 schrieb Евгений Король:
> > Hello. How can i get Tree from "pdfbox pdfdebugger" to my application. I
> > have a project in Netbeans with constructed JPanel. In Jpanel i have
> JTree.
> > I can run "pdfbox pdfdebugger" for file on JMenu button. But i need to
> get
> > Tree from debugger to my JTree.Where to start?
> >
>
> The best would be to get the source code and start with the main class,
> which is PDFDebugger. The tree is "tree" but it is private. Try creating
> a modified version and when done, please tell what getters / setters you
> need. PDFDebugger isn't really part of the API, it's just a tool.
>
> Tilman
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
> For additional commands, e-mail: users-h...@pdfbox.apache.org
>
>

Reply via email to