That method is to print JTree multiple page, I dont know to use it, so i create a main method and call that method, but it error.
Here is full class:
Here is error, how to correct the code, thanks you very much.
I am needing it.
Exception in thread "main" java.lang.NullPointerException
at print.PrintHelper.print(PrintHelper.java:23)
at print.PrintHelper.main(PrintHelper.java:48)