Organized imports in Eclipse.

This commit is contained in:
dchandler 2005-02-28 01:37:54 +00:00
parent f8bd7e83cb
commit ff130e6fb1
23 changed files with 220 additions and 114 deletions

View file

@ -24,25 +24,20 @@ import java.awt.Dimension;
import java.awt.GridLayout; import java.awt.GridLayout;
import java.awt.event.MouseAdapter; import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent; import java.awt.event.MouseEvent;
//import java.awt.event.WindowAdapter;
//import java.awt.event.WindowEvent;
import java.io.File;
import java.io.FileReader;
import java.io.BufferedReader; import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException; import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URL; import java.net.URL;
import javax.swing.SwingConstants;
import javax.swing.BorderFactory;
import javax.swing.JFrame;
import javax.swing.JLabel; import javax.swing.JLabel;
import javax.swing.JPanel; import javax.swing.JPanel;
import javax.swing.JFrame; import javax.swing.SwingConstants;
import javax.swing.JScrollPane;
import javax.swing.ScrollPaneConstants;
import javax.swing.BorderFactory;
import javax.swing.border.CompoundBorder; import javax.swing.border.CompoundBorder;
import javax.swing.border.EmptyBorder;
import javax.swing.border.LineBorder; import javax.swing.border.LineBorder;
import javax.swing.text.*; import javax.swing.text.BadLocationException;
import javax.swing.text.JTextComponent;
/** /**
* <p>This class creates a panel that displays all the relevant * <p>This class creates a panel that displays all the relevant

View file

@ -18,15 +18,54 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import javax.swing.*; import java.awt.Color;
import javax.swing.event.*; import java.awt.Component;
import javax.swing.border.*; import java.awt.Dimension;
import javax.swing.text.*; import java.awt.Event;
import javax.swing.text.StyleContext.*; import java.awt.Font;
import java.awt.*; import java.awt.event.ActionEvent;
import java.awt.event.*; import java.awt.event.ActionListener;
import java.util.*; import java.awt.event.KeyAdapter;
import org.jdom.*; import java.awt.event.KeyEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Vector;
import javax.swing.Action;
import javax.swing.BorderFactory;
import javax.swing.BoxLayout;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JMenuBar;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JSplitPane;
import javax.swing.JTextPane;
import javax.swing.JToolBar;
import javax.swing.KeyStroke;
import javax.swing.ListCellRenderer;
import javax.swing.SwingConstants;
import javax.swing.WindowConstants;
import javax.swing.border.CompoundBorder;
import javax.swing.border.EmptyBorder;
import javax.swing.border.LineBorder;
import javax.swing.text.AttributeSet;
import javax.swing.text.BadLocationException;
import javax.swing.text.JTextComponent;
import javax.swing.text.Keymap;
import javax.swing.text.Style;
import javax.swing.text.StyleConstants;
import javax.swing.text.StyledDocument;
import javax.swing.text.StyledEditorKit;
import javax.swing.text.StyleContext.NamedStyle;
/** /**
* This extension of JDialog is used for entering in discussion concerning a specific title in a Tibbibl document. * This extension of JDialog is used for entering in discussion concerning a specific title in a Tibbibl document.

View file

@ -18,12 +18,28 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import javax.swing.*; import java.awt.BorderLayout;
import javax.swing.border.*; import java.awt.Dimension;
import java.awt.*; import java.awt.Font;
import java.awt.event.*; import java.awt.GridLayout;
import java.util.StringTokenizer; import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.NoSuchElementException; import java.util.NoSuchElementException;
import java.util.StringTokenizer;
import javax.swing.ButtonGroup;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.UIManager;
import javax.swing.WindowConstants;
import javax.swing.border.EmptyBorder;
/** /**
* This class displays a separate window with information concerning a texts doxographical category and it * This class displays a separate window with information concerning a texts doxographical category and it

View file

@ -18,8 +18,8 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import java.util.*; import java.util.Iterator;
import org.jdom.*; import java.util.Vector;
/** /**
* <p> * <p>

View file

@ -18,7 +18,6 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import org.jdom.*;
/** /**
* This wrapper class associates a String of text with a Style (as defined in {@link TibConstants} [MAYBE]) and a particular * This wrapper class associates a String of text with a Style (as defined in {@link TibConstants} [MAYBE]) and a particular

View file

@ -18,9 +18,8 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import java.util.*; import java.util.Iterator;
import org.jdom.*; import java.util.Vector;
import org.jdom.output.*;
/** /**
* This abstract class is extended by both {@link IDFactory} and {@link TitleFactory}, and provides general functionality * This abstract class is extended by both {@link IDFactory} and {@link TitleFactory}, and provides general functionality

View file

@ -18,9 +18,10 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import java.util.*; import java.util.Hashtable;
import org.jdom.*; import java.util.Iterator;
import org.jdom.output.*; import java.util.StringTokenizer;
import java.util.Vector;
/** /**
* Like its sister class, {@link TitleFactory}, this class is used to access and display the information * Like its sister class, {@link TitleFactory}, this class is used to access and display the information

View file

@ -24,13 +24,14 @@ import java.awt.Dimension;
import java.awt.Font; import java.awt.Font;
import java.awt.GridLayout; import java.awt.GridLayout;
import java.awt.Toolkit; import java.awt.Toolkit;
import javax.swing.BorderFactory; import javax.swing.BorderFactory;
import javax.swing.ImageIcon; import javax.swing.ImageIcon;
import javax.swing.JFrame; import javax.swing.JFrame;
import javax.swing.JLabel; import javax.swing.JLabel;
import javax.swing.JPanel; import javax.swing.JPanel;
import javax.swing.border.Border;
import javax.swing.border.BevelBorder; import javax.swing.border.BevelBorder;
import javax.swing.border.Border;
/** /**
* This class displays the initial splash screen upon opening the program. * This class displays the initial splash screen upon opening the program.

View file

@ -18,13 +18,10 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import java.io.*; import java.io.File;
import java.util.*; import java.util.Hashtable;
import javax.swing.*;
import javax.swing.filechooser.*; import javax.swing.filechooser.FileView;
import org.jdom.*;
import org.jdom.input.*;
import org.jdom.output.*;
//import org.thdl.tib.bibl.shared.*; //import org.thdl.tib.bibl.shared.*;
/** /**

View file

@ -18,14 +18,18 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import java.util.*;
import java.awt.Color; import java.awt.Color;
import java.awt.Insets; import java.awt.Insets;
import javax.swing.*; import java.util.Iterator;
import javax.swing.event.*; import java.util.Vector;
import javax.swing.text.*;
import org.jdom.*; import javax.swing.JScrollPane;
import org.jdom.output.*; import javax.swing.JTextPane;
import javax.swing.text.BadLocationException;
import javax.swing.text.DefaultStyledDocument;
import javax.swing.text.Style;
import javax.swing.text.StyleConstants;
import javax.swing.text.StyleContext;
//import org.thdl.tib.bibl.shared.*; //import org.thdl.tib.bibl.shared.*;

View file

@ -19,7 +19,6 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import javax.swing.AbstractAction; import javax.swing.AbstractAction;
import java.io.File;
/** /**
* This extension of javax.swing.AbstractAction is used for the various menus in {@link TibFrame}. It assigns two * This extension of javax.swing.AbstractAction is used for the various menus in {@link TibFrame}. It assigns two

View file

@ -18,10 +18,12 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import java.io.*; import java.awt.Color;
import java.awt.*; import java.awt.Dimension;
import javax.swing.*; import java.awt.Font;
import java.util.Hashtable; import java.awt.Insets;
import javax.swing.JOptionPane;
/** /**
* This interface contains all the constants used throughout the TiblEdit program. They are roughly organized * This interface contains all the constants used throughout the TiblEdit program. They are roughly organized

View file

@ -18,11 +18,17 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import java.awt.*; import java.awt.GridLayout;
import java.awt.event.*; import java.awt.event.ActionEvent;
import java.util.*; import java.awt.event.ActionListener;
import javax.swing.*; import java.util.Hashtable;
import javax.swing.event.*; import java.util.Vector;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
/** /**

View file

@ -18,14 +18,12 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import java.util.*; import java.util.Iterator;
import javax.swing.text.StyledDocument; import java.util.StringTokenizer;
import javax.swing.text.Style; import java.util.Vector;
import javax.swing.text.AttributeSet;
import javax.swing.text.BadLocationException; import org.jdom.DocType;
import org.jdom.*; import org.jdom.Element;
import org.jdom.input.*;
import org.jdom.output.*;
/** /**
* <p> * <p>

View file

@ -18,17 +18,38 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import java.awt.Event;
import java.awt.event.*;
import java.awt.Color;
import java.awt.Dimension; import java.awt.Dimension;
import java.awt.Event;
import java.awt.Toolkit; import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.File; import java.io.File;
import java.util.Vector;
import java.util.Iterator; import java.util.Iterator;
import javax.swing.*; import java.util.Vector;
import javax.swing.text.*;
import javax.swing.event.*; import javax.swing.Action;
import javax.swing.JCheckBoxMenuItem;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JSplitPane;
import javax.swing.JTable;
import javax.swing.KeyStroke;
import javax.swing.event.CaretEvent;
import javax.swing.event.CaretListener;
import javax.swing.text.EditorKit;
import javax.swing.text.Style;
/** /**
* <p> * <p>

View file

@ -18,17 +18,26 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import java.awt.*; import java.awt.Color;
import java.awt.event.*; import java.awt.Component;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Hashtable; import java.util.Hashtable;
import java.util.Vector;
import java.util.Iterator; import java.util.Iterator;
import java.util.Observable; import java.util.Observable;
import java.util.Observer; import java.util.Vector;
import javax.swing.*;
import javax.swing.text.*; import javax.swing.JButton;
import javax.swing.table.*; import javax.swing.JOptionPane;
import org.jdom.*; import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JSplitPane;
import javax.swing.JTable;
import javax.swing.table.AbstractTableModel;
import javax.swing.table.DefaultTableCellRenderer;
/** /**
* This element is a wrapper element for a JTable that sets up two kinds of tables for editing a Tibbibl--one for * This element is a wrapper element for a JTable that sets up two kinds of tables for editing a Tibbibl--one for

View file

@ -20,16 +20,38 @@ package org.thdl.tib.bibl;
import java.awt.Dimension; import java.awt.Dimension;
import java.awt.HeadlessException; import java.awt.HeadlessException;
import java.beans.*; import java.awt.event.KeyEvent;
import java.io.*; import java.awt.event.KeyListener;
import java.util.*; import java.awt.event.MouseEvent;
import java.awt.event.*; import java.awt.event.MouseListener;
import javax.swing.*; import java.io.BufferedReader;
import javax.swing.event.*; import java.io.BufferedWriter;
import javax.swing.text.*; import java.io.DataOutputStream;
import org.jdom.*; import java.io.File;
import org.jdom.input.*; import java.io.FileNotFoundException;
import org.jdom.output.*; import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintStream;
import java.io.PrintWriter;
import java.util.Calendar;
import java.util.Enumeration;
import java.util.GregorianCalendar;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.List;
import java.util.Observable;
import java.util.Observer;
import java.util.StringTokenizer;
import java.util.Vector;
import javax.swing.JFileChooser;
import javax.swing.JOptionPane;
import javax.swing.UIManager;
import javax.swing.text.BadLocationException;
import org.jdom.output.XMLOutputter;
/** /**
* <p> * <p>

View file

@ -18,9 +18,10 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import java.util.*; import java.util.Hashtable;
import org.jdom.*; import java.util.Iterator;
import org.jdom.output.*; import java.util.List;
import java.util.Vector;
/** /**
* The TitleFactory class extends the GenericTibFactory to provide means for locating and manipulating title elements * The TitleFactory class extends the GenericTibFactory to provide means for locating and manipulating title elements

View file

@ -18,10 +18,10 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import java.util.*; import java.util.Iterator;
import org.jdom.*; import java.util.NoSuchElementException;
import org.jdom.input.*; import java.util.StringTokenizer;
import org.jdom.output.*; import java.util.Vector;
/** /**
* *

View file

@ -18,10 +18,10 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import java.util.*; import java.util.Iterator;
import org.jdom.*; import java.util.Vector;
import org.jdom.input.*;
import org.jdom.output.*; import org.jdom.Element;
/** /**
* This class extends org.jdom.Document to provide added XML functionality, such as locating specific elements. * This class extends org.jdom.Document to provide added XML functionality, such as locating specific elements.

View file

@ -19,8 +19,8 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import java.io.File; import java.io.File;
import javax.swing.*;
import javax.swing.filechooser.*; import javax.swing.filechooser.FileFilter;
//import org.thdl.tib.bibl.shared.*; //import org.thdl.tib.bibl.shared.*;
/** /**

View file

@ -18,14 +18,11 @@ Contributor(s): ______________________________________.
package org.thdl.tib.bibl; package org.thdl.tib.bibl;
import java.io.*; import java.io.File;
import java.util.*; import java.util.Observable;
import javax.swing.*;
import javax.swing.filechooser.*; import org.jdom.JDOMException;
import org.jdom.*; import org.jdom.input.SAXBuilder;
import org.jdom.input.*;
import org.jdom.output.*;
import org.xml.sax.*;
//import org.thdl.tib.bibl.shared.*; //import org.thdl.tib.bibl.shared.*;
/** /**