Last change
on this file since 345 was 1, checked in by Wouter Pasman, 6 years ago |
Initial import : Genius 9.0.0
|
File size:
660 bytes
|
Line | |
---|
1 | package genius.gui.boaparties;
|
---|
2 |
|
---|
3 | import java.awt.BorderLayout;
|
---|
4 | import java.awt.Dimension;
|
---|
5 |
|
---|
6 | import javax.swing.JPanel;
|
---|
7 | import javax.swing.JScrollPane;
|
---|
8 | import javax.swing.JTable;
|
---|
9 |
|
---|
10 | /**
|
---|
11 | * Editor for BOA parameters
|
---|
12 | */
|
---|
13 | @SuppressWarnings("serial")
|
---|
14 | public 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.