| 1 |
// Copyright 2003, FreeHEP. |
| 2 |
package org.freehep.graphicsio.exportchooser; |
| 3 |
|
| 4 |
import java.util.Properties; |
| 5 |
|
| 6 |
import javax.swing.JLabel; |
| 7 |
|
| 8 |
import org.freehep.graphicsbase.swing.layout.TableLayout; |
| 9 |
|
| 10 |
/** |
| 11 |
* |
| 12 |
* @author Mark Donszelmann |
| 13 |
* @version $Id: freehep-graphicsio/src/main/java/org/freehep/graphicsio/exportchooser/InfoPanel.java 5641ca92a537 2005/11/26 00:15:35 duns $ |
| 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 |
} |