Hi all,
I have this line of code:
RepaintManager manager = RepaintManager.currentManager(component);
Image myImg= manager.getOffscreenBuffer(component, compWidth, compHeight);
which captures a screen dump (as-it-were) of a swing component.
I want to save this image ideally to a microsoft word template file.
Is there any way of doing this??
If not, how would i go about saving a .jpg, etc
Any and all comments welcome.
Thanks all
Oxy
we are all of us living in the gutter.
But some of us are looking at the stars.
I have this line of code:
RepaintManager manager = RepaintManager.currentManager(component);
Image myImg= manager.getOffscreenBuffer(component, compWidth, compHeight);
which captures a screen dump (as-it-were) of a swing component.
I want to save this image ideally to a microsoft word template file.
Is there any way of doing this??
If not, how would i go about saving a .jpg, etc
Any and all comments welcome.
Thanks all
Oxy
we are all of us living in the gutter.
But some of us are looking at the stars.