diff options
author | Ben Burwell <ben.burwell@trifecta.com> | 2016-11-20 01:34:08 -0500 |
---|---|---|
committer | Ben Burwell <ben.burwell@trifecta.com> | 2016-11-20 01:34:08 -0500 |
commit | f1e32ed443bafc03448f0f3b36c712b9293e71e7 (patch) | |
tree | bd4c5f6dd692bd3d1f16bdd00f57d996cecc5688 /src/main/java/com/benburwell/planes/gui/navigationaids/NavigationAidComponent.java | |
parent | be4974518d4e24f66c19ceffc1e633e3e306956b (diff) |
File cleanup
Diffstat (limited to 'src/main/java/com/benburwell/planes/gui/navigationaids/NavigationAidComponent.java')
-rw-r--r-- | src/main/java/com/benburwell/planes/gui/navigationaids/NavigationAidComponent.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/com/benburwell/planes/gui/navigationaids/NavigationAidComponent.java b/src/main/java/com/benburwell/planes/gui/navigationaids/NavigationAidComponent.java index 1238873..e33f0f8 100644 --- a/src/main/java/com/benburwell/planes/gui/navigationaids/NavigationAidComponent.java +++ b/src/main/java/com/benburwell/planes/gui/navigationaids/NavigationAidComponent.java @@ -5,20 +5,20 @@ import com.benburwell.planes.data.NavigationAid; import com.benburwell.planes.gui.Tabbable; import com.benburwell.planes.gui.airportstable.NavigationAidsTableModel; -import javax.swing.*; +import javax.swing.JComponent; +import javax.swing.JScrollPane; +import javax.swing.JTable; /** - * Created by ben on 11/19/16. + * @author ben */ public class NavigationAidComponent implements Tabbable { - private JTable table; - private NavigationAidsTableModel tableModel; private JScrollPane scrollPane; public NavigationAidComponent(CSVObjectStore<NavigationAid> store) { - this.tableModel = new NavigationAidsTableModel(store); - this.table = new JTable(this.tableModel); - this.table.setFillsViewportHeight(true); + NavigationAidsTableModel tableModel = new NavigationAidsTableModel(store); + JTable table = new JTable(tableModel); + table.setFillsViewportHeight(true); this.scrollPane = new JScrollPane(table); } |