hi everyone I'm trying to print all my swing components i find this code Could anyone explain me what does the gettoolkit()
do? this is the code
Toolkit tkp = jPanel9.getToolkit();
PrintJob pjp = tkp.getPrintJob(this, null, null);
Graphics g = pjp.getGraphics();
jPanel9.print(g);
I can print one swing component bay calling print()
method but not all component in the jpanel