FileNameModel filename = new FileNameModel("", "filename");
LimitIntModel limit = new LimitIntModel(10, 0, 100, "progress");
panel.add(factory.createDefaultEditor(filename).getJComponent());
panel.add(factory.createViewer(new ProgressViewerCreator(), limit).getJComponent());
ImageViewerCreator creator = new ImageViewerCreator();
ImageViewer viewer = (ImageViewer) factory.createViewer(creator, filename);
viewer.setAutoFit(true);
panel.add(viewer.getJComponent());