organize imports

This commit is contained in:
Redhuan D. Oon 2008-12-22 10:01:35 +00:00
parent 50addf346c
commit 97b965e42d
18 changed files with 199 additions and 74 deletions

View File

@ -16,7 +16,9 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.swing; package org.compiere.swing;
import javax.swing.*; import javax.swing.Action;
import javax.swing.Icon;
import javax.swing.JCheckBoxMenuItem;
/** /**
* Adempiere Check Box Menu Item * Adempiere Check Box Menu Item

View File

@ -13,19 +13,10 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.swing; package org.compiere.swing;
import org.jdesktop.swingx.VerticalLayout; import java.awt.BorderLayout;
import org.jdesktop.swingx.action.AbstractActionExt; import java.awt.ComponentOrientation;
import org.jdesktop.swingx.action.ActionContainerFactory; import java.awt.Dimension;
import org.jdesktop.swingx.table.ColumnControlPopup; import java.awt.Insets;
import javax.swing.*;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.TableColumnModelEvent;
import javax.swing.event.TableColumnModelListener;
import javax.swing.table.TableColumn;
import javax.swing.table.TableColumnModel;
import java.awt.*;
import java.awt.event.ActionEvent; import java.awt.event.ActionEvent;
import java.awt.event.ItemEvent; import java.awt.event.ItemEvent;
import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeEvent;
@ -35,6 +26,35 @@ import java.util.Collections;
import java.util.Enumeration; import java.util.Enumeration;
import java.util.List; import java.util.List;
import javax.swing.AbstractAction;
import javax.swing.AbstractButton;
import javax.swing.Action;
import javax.swing.BorderFactory;
import javax.swing.Box;
import javax.swing.Icon;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JComponent;
import javax.swing.JPanel;
import javax.swing.JPopupMenu;
import javax.swing.JScrollPane;
import javax.swing.JSeparator;
import javax.swing.ScrollPaneConstants;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.TableColumnModelEvent;
import javax.swing.event.TableColumnModelListener;
import javax.swing.table.TableColumn;
import javax.swing.table.TableColumnModel;
import org.jdesktop.swingx.VerticalLayout;
import org.jdesktop.swingx.action.AbstractActionExt;
import org.jdesktop.swingx.action.ActionContainerFactory;
import org.jdesktop.swingx.table.ColumnControlPopup;
/** /**
* Code and description adapted from SwingX ColumnControlButton class. * Code and description adapted from SwingX ColumnControlButton class.
* *

View File

@ -16,15 +16,22 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.swing; package org.compiere.swing;
import java.awt.*; import java.awt.Color;
import java.awt.event.*; import java.awt.event.MouseListener;
import java.util.*; import java.util.Vector;
import javax.swing.*;
import javax.swing.plaf.*; import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.Icon;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JComponent;
import javax.swing.plaf.ComboBoxUI;
import org.adempiere.plaf.AdempierePLAF; import org.adempiere.plaf.AdempierePLAF;
import org.compiere.plaf.*; import org.compiere.plaf.CompiereComboBoxUI;
import org.compiere.util.*; import org.compiere.util.NamePair;
import org.compiere.util.Trace;
/** /**
* Adempiere Colored Combo Box. * Adempiere Colored Combo Box.

View File

@ -16,9 +16,23 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.swing; package org.compiere.swing;
import javax.swing.*; import java.awt.Container;
import java.awt.*; import java.awt.Dialog;
import java.awt.event.*; import java.awt.Frame;
import java.awt.GraphicsConfiguration;
import java.awt.HeadlessException;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.InputEvent;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.AbstractAction;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.KeyStroke;
/** /**
* Conveniance Dialog Class. * Conveniance Dialog Class.

View File

@ -16,8 +16,12 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.swing; package org.compiere.swing;
import java.awt.*; import java.awt.Container;
import javax.swing.*; import java.awt.GraphicsConfiguration;
import java.awt.HeadlessException;
import javax.swing.JFrame;
import javax.swing.JPanel;
/** /**
* Adempiere Frame * Adempiere Frame

View File

@ -16,9 +16,12 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.swing; package org.compiere.swing;
import java.awt.*; import java.awt.Color;
import java.awt.Component;
import java.awt.Font;
import javax.swing.*; import javax.swing.Icon;
import javax.swing.JLabel;
import javax.swing.text.JTextComponent; import javax.swing.text.JTextComponent;
/** /**

View File

@ -16,7 +16,9 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.swing; package org.compiere.swing;
import javax.swing.*; import javax.swing.Action;
import javax.swing.Icon;
import javax.swing.JMenuItem;
/** /**
* Adempiere Menu Item * Adempiere Menu Item

View File

@ -16,12 +16,15 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.swing; package org.compiere.swing;
import java.awt.*; import java.awt.Color;
import javax.swing.*; import java.awt.LayoutManager;
import javax.swing.JPanel;
import org.adempiere.plaf.AdempiereLookAndFeel; import org.adempiere.plaf.AdempiereLookAndFeel;
import org.adempiere.plaf.AdempierePLAF; import org.adempiere.plaf.AdempierePLAF;
import org.compiere.plaf.*; import org.compiere.plaf.CompiereColor;
import org.compiere.plaf.CompiereLookAndFeel;
/** /**
* Adempiere Panel supporting colored Backgrounds * Adempiere Panel supporting colored Backgrounds

View File

@ -16,12 +16,13 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.swing; package org.compiere.swing;
import java.awt.*; import java.awt.Component;
import javax.swing.*; import javax.swing.JScrollPane;
import org.adempiere.plaf.AdempierePLAF; import org.adempiere.plaf.AdempierePLAF;
import org.compiere.plaf.*; import org.compiere.plaf.CompiereColor;
import org.compiere.plaf.CompiereLookAndFeel;
/** /**
* Adempiere Srcoll Pane. * Adempiere Srcoll Pane.

View File

@ -16,16 +16,23 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.swing; package org.compiere.swing;
import java.awt.*; import java.awt.Color;
import java.awt.event.*; import java.awt.Component;
import java.util.*; import java.awt.Event;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.util.ArrayList;
import javax.swing.*; import javax.swing.Icon;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.KeyStroke;
import org.adempiere.plaf.AdempierePLAF; import org.adempiere.plaf.AdempierePLAF;
import org.compiere.plaf.CompiereColor; import org.compiere.plaf.CompiereColor;
import org.compiere.plaf.CompiereLookAndFeel; import org.compiere.plaf.CompiereLookAndFeel;
import sun.swing.*;
import sun.swing.UIAction;
/** /**
* Adempiere Color Tabbed Pane * Adempiere Color Tabbed Pane

View File

@ -16,16 +16,39 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.swing; package org.compiere.swing;
import java.awt.*; import java.awt.Component;
import java.awt.event.*; import java.awt.Container;
import java.util.*; import java.awt.Font;
import java.awt.event.HierarchyEvent;
import java.awt.event.HierarchyListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.logging.*; import java.util.Map;
import javax.swing.*; import java.util.Vector;
import javax.swing.event.*; import java.util.logging.Level;
import javax.swing.table.*; import java.util.logging.Logger;
import org.compiere.util.*; import javax.swing.JComponent;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.JViewport;
import javax.swing.ListSelectionModel;
import javax.swing.ScrollPaneConstants;
import javax.swing.event.ChangeEvent;
import javax.swing.event.TableModelEvent;
import javax.swing.table.DefaultTableCellRenderer;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableCellEditor;
import javax.swing.table.TableCellRenderer;
import javax.swing.table.TableColumn;
import javax.swing.table.TableModel;
import org.compiere.util.MSort;
import org.jdesktop.swingx.icon.ColumnControlIcon; import org.jdesktop.swingx.icon.ColumnControlIcon;
/** /**

View File

@ -16,12 +16,18 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.swing; package org.compiere.swing;
import java.awt.*; import java.awt.Color;
import java.awt.event.*; import java.awt.Insets;
import java.awt.im.*; import java.awt.event.FocusListener;
import java.awt.event.InputMethodListener;
import java.awt.event.KeyListener;
import java.awt.event.MouseListener;
import java.awt.im.InputMethodRequests;
import javax.swing.*; import javax.swing.InputVerifier;
import javax.swing.text.*; import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.text.Document;
import org.adempiere.plaf.AdempierePLAF; import org.adempiere.plaf.AdempierePLAF;

View File

@ -16,11 +16,12 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.swing; package org.compiere.swing;
import java.awt.*; import java.awt.Color;
import java.awt.event.*; import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import javax.swing.*; import javax.swing.JTextField;
import javax.swing.text.*; import javax.swing.text.Document;
import org.adempiere.plaf.AdempierePLAF; import org.adempiere.plaf.AdempierePLAF;

View File

@ -16,12 +16,18 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.swing; package org.compiere.swing;
import java.awt.*; import java.awt.Color;
import java.awt.event.*; import java.awt.Insets;
import java.awt.im.*; import java.awt.event.FocusListener;
import java.awt.event.InputMethodListener;
import java.awt.event.KeyListener;
import java.awt.event.MouseListener;
import java.awt.im.InputMethodRequests;
import javax.swing.*; import javax.swing.InputVerifier;
import javax.swing.text.*; import javax.swing.JScrollPane;
import javax.swing.JTextPane;
import javax.swing.text.StyledDocument;
import org.adempiere.plaf.AdempierePLAF; import org.adempiere.plaf.AdempierePLAF;

View File

@ -15,7 +15,6 @@ package org.compiere.swing;
import java.awt.Color; import java.awt.Color;
import java.awt.Component; import java.awt.Component;
import java.awt.Font;
import java.awt.Graphics; import java.awt.Graphics;
import java.awt.Insets; import java.awt.Insets;

View File

@ -17,7 +17,7 @@
package org.compiere.swing; package org.compiere.swing;
import java.awt.Color; import java.awt.Color;
import java.util.logging.*; import java.util.logging.Logger;
import javax.swing.plaf.ColorUIResource; import javax.swing.plaf.ColorUIResource;

View File

@ -16,15 +16,30 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.swing; package org.compiere.swing;
import java.awt.*; import java.awt.BorderLayout;
import java.awt.event.*; import java.awt.Component;
import java.beans.*; import java.awt.Dialog;
import java.util.*; import java.awt.Dimension;
import javax.swing.*; import java.awt.FlowLayout;
import java.awt.Frame;
import java.awt.Graphics;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.beans.PropertyChangeListener;
import java.beans.PropertyEditor;
import java.util.ResourceBundle;
import javax.swing.BorderFactory;
import javax.swing.JColorChooser;
import org.adempiere.plaf.AdempierePLAF; import org.adempiere.plaf.AdempierePLAF;
import org.compiere.plaf.CompiereColor; import org.compiere.plaf.CompiereColor;
import org.compiere.util.*; import org.compiere.util.KeyNamePair;
import org.compiere.util.ValueNamePair;
/** /**
* Adempiere Color Editor * Adempiere Color Editor

View File

@ -16,10 +16,22 @@
*****************************************************************************/ *****************************************************************************/
package org.compiere.swing; package org.compiere.swing;
import java.awt.*; import java.awt.BorderLayout;
import java.awt.event.*; import java.awt.Dialog;
import java.util.*; import java.awt.Dimension;
import javax.swing.*; import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.GraphicsEnvironment;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Arrays;
import java.util.ResourceBundle;
import javax.swing.BorderFactory;
import javax.swing.JTextArea;
import org.adempiere.plaf.AdempierePLAF; import org.adempiere.plaf.AdempierePLAF;