🏡 index : ~doyle/blockbuster.git

author Jordan Doyle <jordan.doyle@outlook.com> 2015-04-13 17:24:06.0 +00:00:00
committer Jordan Doyle <jordan.doyle@outlook.com> 2015-04-13 17:24:06.0 +00:00:00
commit
2878db1ab701af84a83af713519eb0cf83370310 [patch]
tree
13c8ccb74ded4a445382ee99752e5e5d5d85e26c
parent
d183c1937c972b298fad9b6d2c9b24f645cbe42d
download
2878db1ab701af84a83af713519eb0cf83370310.tar.gz

Remove unneeded imports



Diff

 .classpath                                           |  5 +++++
 .settings/org.eclipse.core.resources.prefs           |  1 +
 src/main/java/wf/doyle/blockbuster/gui/GUI.java      | 17 ++++++++---------
 src/main/java/wf/doyle/blockbuster/util/Library.java |  1 -
 4 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/.classpath b/.classpath
index af1430b..1a8c6f1 100644
--- a/.classpath
+++ b/.classpath
@@ -22,5 +22,10 @@
			<attribute name="maven.pomderived" value="true"/>
		</attributes>
	</classpathentry>
	<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
		<attributes>
			<attribute name="maven.pomderived" value="true"/>
		</attributes>
	</classpathentry>
	<classpathentry kind="output" path="target/classes"/>
</classpath>
diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs
index f9fe345..839d647 100644
--- a/.settings/org.eclipse.core.resources.prefs
+++ b/.settings/org.eclipse.core.resources.prefs
@@ -1,4 +1,5 @@
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/main/resources=UTF-8
encoding//src/test/java=UTF-8
encoding/<project>=UTF-8
diff --git a/src/main/java/wf/doyle/blockbuster/gui/GUI.java b/src/main/java/wf/doyle/blockbuster/gui/GUI.java
index e030e83..2af5482 100644
--- a/src/main/java/wf/doyle/blockbuster/gui/GUI.java
+++ b/src/main/java/wf/doyle/blockbuster/gui/GUI.java
@@ -1,27 +1,21 @@
package wf.doyle.blockbuster.gui;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;

import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.lang.reflect.Field;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;

import javax.swing.JTabbedPane;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.SwingConstants;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

import wf.doyle.blockbuster.App;
import wf.doyle.blockbuster.file.FileReader;
import wf.doyle.blockbuster.item.LibraryItem;
import wf.doyle.blockbuster.item.items.printed.Book;
import wf.doyle.blockbuster.item.items.printed.Periodical;
@@ -35,13 +29,19 @@ import wf.doyle.blockbuster.util.EnumLineType;
public class GUI extends JFrame {

	/**
	 * Serial Version UID
	 */
    private static final long serialVersionUID = 1L;

	/**
	 * Content Pane
	 */
	private JPanel contentPane;
	
	/**
	 * Tabbed Pane
	 */
	private final JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
	private final JTabbedPane tabbedPane = new JTabbedPane(SwingConstants.TOP);

	/**
	 * Create the frame.
@@ -57,7 +57,6 @@ public class GUI extends JFrame {
		}
		catch(ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException e)
		{
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
diff --git a/src/main/java/wf/doyle/blockbuster/util/Library.java b/src/main/java/wf/doyle/blockbuster/util/Library.java
index 995f9cf..253d503 100644
--- a/src/main/java/wf/doyle/blockbuster/util/Library.java
+++ b/src/main/java/wf/doyle/blockbuster/util/Library.java
@@ -5,7 +5,6 @@ import java.net.URISyntaxException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;

import wf.doyle.blockbuster.App;