public PreviewPanel() {
super(new TableLayout(new double[][]{{-2, -1}, {3, 20, 3, 20, 3, -1}}));
setBorder(new TitledBorder("Preview"));
add(image = new JImage(), "0,5,1,5,FULL,FULL");
image.setPreferredSize(new Dimension(150, 113));
add(new JLabel("Width :"), "0,1,FULL,FULL");
add(new JSpinner(widthModel = new SpinnerNumberModel()), "1,1,FULL,FULL");
add(new JLabel("Height :"), "0,3,FULL,FULL");