1
2 package org.freehep.graphicsio.exportchooser;
3
4 import java.util.Properties;
5
6 import javax.swing.JLabel;
7
8 import org.freehep.swing.layout.TableLayout;
9
10
11
12
13
14
15 public class InfoPanel extends OptionPanel {
16 public InfoPanel(Properties options, String rootKey, String[] keys) {
17 super("Info");
18
19 for (int i = 0; i < keys.length; i++) {
20 add(TableLayout.LEFT, new JLabel(keys[i]));
21 add(TableLayout.RIGHT, new OptionTextField(options, rootKey + "."
22 + keys[i], 40));
23 }
24 }
25 }