int x = maxBounds.x;
for (int i = 0; i < 4; i++) {
int y = maxBounds.y;
for (int j = 0; j < 3; j++) {
SampleFrame skinFrame = new SampleFrame(false);
skinFrame.getRootPane().putClientProperty(
SubstanceLookAndFeel.SKIN_PROPERTY,
skinGrid[i][j]);
SwingUtilities.updateComponentTreeUI(skinFrame);
skinFrame.setBounds(x, y, maxBounds.width / 4,
maxBounds.height / 3);
skinFrame.setVisible(true);
skinFrame
.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
y += maxBounds.height / 3;
}
x += maxBounds.width / 4;
}