swing - How to print content of a label in java? -


i have created label , added image using seticon property. want print image unable so.

i tried .print(graphics g) method dont know graphics??

if can me in printing label, grateful you.

thanks

you should implenent printable interface see example here


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -