3 ms·
It was a swing application (the company's deployment tooling). I ran through the configuration definitions and for each element created a BufferedImage the pre
by yarg 4y ago
It was a swing application (the company's deployment tooling).
I ran through the configuration definitions and for each element created a BufferedImage the preferred size of the associated component.
Then I rendered the component to the BufferedImage using BufferedImage::getGraphics, and Component::paint.
Then I saved the image as <definition>.PNG.
Nothing magical.