source: src/main/java/genius/gui/boaparties/BoaParametersPanel.java@ 209

Last change on this file since 209 was 1, checked in by Wouter Pasman, 6 years ago

Initial import : Genius 9.0.0

File size: 660 bytes
Line 
1package genius.gui.boaparties;
2
3import java.awt.BorderLayout;
4import java.awt.Dimension;
5
6import javax.swing.JPanel;
7import javax.swing.JScrollPane;
8import javax.swing.JTable;
9
10/**
11 * Editor for BOA parameters
12 */
13@SuppressWarnings("serial")
14public class BoaParametersPanel extends JPanel {
15 private BoaParametersModel model;
16
17 public BoaParametersPanel(BoaParametersModel model) {
18 this.model = model;
19 setLayout(new BorderLayout());
20 JScrollPane scrollpane = new JScrollPane();
21 JTable table = new JTable(model);
22 scrollpane.setPreferredSize(new Dimension(600, 200));
23 scrollpane.getViewport().add(table);
24 add(scrollpane, BorderLayout.CENTER);
25 }
26
27}
Note: See TracBrowser for help on using the repository browser.