From f1e32ed443bafc03448f0f3b36c712b9293e71e7 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Sun, 20 Nov 2016 01:34:08 -0500 Subject: File cleanup --- .../planes/gui/navigationaids/NavigationAidComponent.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/main/java/com/benburwell/planes/gui/navigationaids/NavigationAidComponent.java') 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 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); } -- cgit v1.2.3