diff --git a/client/src/org/compiere/apps/AApplet.java b/client/src/org/compiere/apps/AApplet.java index ed3f08bc32..185d2c1baf 100644 --- a/client/src/org/compiere/apps/AApplet.java +++ b/client/src/org/compiere/apps/AApplet.java @@ -16,10 +16,13 @@ *****************************************************************************/ package org.compiere.apps; -import java.applet.*; -import java.awt.*; -import org.compiere.*; -import org.compiere.util.*; +import java.applet.Applet; +import java.awt.HeadlessException; +import java.awt.TextArea; + +import org.compiere.Adempiere; +import org.compiere.util.Env; +import org.compiere.util.Splash; /** diff --git a/client/src/org/compiere/apps/AArchive.java b/client/src/org/compiere/apps/AArchive.java index 134003f670..f7a4462a6d 100644 --- a/client/src/org/compiere/apps/AArchive.java +++ b/client/src/org/compiere/apps/AArchive.java @@ -16,15 +16,23 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.event.*; -import java.sql.*; -import java.util.logging.*; -import javax.swing.*; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.util.logging.Level; -import org.compiere.apps.form.*; -import org.compiere.model.*; -import org.compiere.swing.*; -import org.compiere.util.*; +import javax.swing.JComponent; +import javax.swing.JPopupMenu; + +import org.compiere.apps.form.ArchiveViewer; +import org.compiere.apps.form.FormFrame; +import org.compiere.model.MBPartner; +import org.compiere.swing.CMenuItem; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.Env; +import org.compiere.util.Msg; /** diff --git a/client/src/org/compiere/apps/AChat.java b/client/src/org/compiere/apps/AChat.java index f367909721..bdaea39a27 100644 --- a/client/src/org/compiere/apps/AChat.java +++ b/client/src/org/compiere/apps/AChat.java @@ -16,13 +16,24 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import java.util.logging.*; -import javax.swing.*; -import org.compiere.model.*; -import org.compiere.swing.*; -import org.compiere.util.*; +import java.awt.BorderLayout; +import java.awt.Dimension; +import java.awt.Frame; +import java.awt.Insets; +import java.awt.event.ActionEvent; +import java.util.logging.Level; + +import javax.swing.JSplitPane; + +import org.compiere.model.MChat; +import org.compiere.model.MChatEntry; +import org.compiere.swing.CDialog; +import org.compiere.swing.CPanel; +import org.compiere.swing.CTextArea; +import org.compiere.swing.CTextPane; +import org.compiere.util.CLogger; +import org.compiere.util.Env; +import org.compiere.util.Msg; /** * Application Chat diff --git a/client/src/org/compiere/apps/ADialog.java b/client/src/org/compiere/apps/ADialog.java index 464b306e53..8eb8cf1675 100644 --- a/client/src/org/compiere/apps/ADialog.java +++ b/client/src/org/compiere/apps/ADialog.java @@ -16,13 +16,27 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.util.*; -import java.util.logging.*; -import javax.swing.*; -import org.compiere.*; -import org.compiere.model.*; -import org.compiere.util.*; +import java.awt.Container; +import java.awt.Dialog; +import java.awt.Frame; +import java.awt.Toolkit; +import java.awt.Window; +import java.util.Properties; +import java.util.logging.Level; + +import javax.swing.JDialog; +import javax.swing.JFrame; +import javax.swing.JOptionPane; + +import org.compiere.Adempiere; +import org.compiere.model.MUser; +import org.compiere.model.ModelValidationEngine; +import org.compiere.util.CLogMgt; +import org.compiere.util.CLogger; +import org.compiere.util.Env; +import org.compiere.util.Msg; +import org.compiere.util.Trace; +import org.compiere.util.Util; /** * Info Dialog Management diff --git a/client/src/org/compiere/apps/ADialogDialog.java b/client/src/org/compiere/apps/ADialogDialog.java index b11b2d2a81..85fdc11140 100644 --- a/client/src/org/compiere/apps/ADialogDialog.java +++ b/client/src/org/compiere/apps/ADialogDialog.java @@ -16,13 +16,36 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import org.compiere.model.*; -import org.compiere.swing.*; -import java.util.logging.*; -import org.compiere.util.*; +import java.awt.BorderLayout; +import java.awt.Dialog; +import java.awt.Dimension; +import java.awt.Event; +import java.awt.Frame; +import java.awt.GridBagConstraints; +import java.awt.GridBagLayout; +import java.awt.Insets; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.awt.event.KeyEvent; +import java.awt.event.WindowEvent; +import java.util.logging.Level; + +import javax.swing.Icon; +import javax.swing.JMenu; +import javax.swing.JMenuBar; +import javax.swing.JOptionPane; +import javax.swing.KeyStroke; + +import org.compiere.model.MRole; +import org.compiere.swing.CDialog; +import org.compiere.swing.CLabel; +import org.compiere.swing.CMenuItem; +import org.compiere.swing.CPanel; +import org.compiere.swing.CTextPane; +import org.compiere.util.CLogger; +import org.compiere.util.Env; +import org.compiere.util.Msg; +import org.compiere.util.Util; /** * Dialog Windows diff --git a/client/src/org/compiere/apps/AEnv.java b/client/src/org/compiere/apps/AEnv.java index 8474c56350..596379bb6f 100644 --- a/client/src/org/compiere/apps/AEnv.java +++ b/client/src/org/compiere/apps/AEnv.java @@ -26,10 +26,6 @@ import java.awt.Rectangle; import java.awt.Toolkit; import java.awt.Window; import java.awt.event.ActionListener; -import java.io.InvalidClassException; -import java.io.NotSerializableException; -import java.lang.reflect.UndeclaredThrowableException; -import java.rmi.RemoteException; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; diff --git a/client/src/org/compiere/apps/AFocusTraversalPolicy.java b/client/src/org/compiere/apps/AFocusTraversalPolicy.java index ce1206e122..a05c100468 100644 --- a/client/src/org/compiere/apps/AFocusTraversalPolicy.java +++ b/client/src/org/compiere/apps/AFocusTraversalPolicy.java @@ -16,9 +16,14 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import javax.swing.*; -import org.compiere.swing.*; +import java.awt.Component; +import java.awt.Container; + +import javax.swing.JTabbedPane; +import javax.swing.JToolBar; +import javax.swing.LayoutFocusTraversalPolicy; + +import org.compiere.swing.CEditor; /** diff --git a/client/src/org/compiere/apps/AGlassPane.java b/client/src/org/compiere/apps/AGlassPane.java index 19d7c38856..4cea686171 100644 --- a/client/src/org/compiere/apps/AGlassPane.java +++ b/client/src/org/compiere/apps/AGlassPane.java @@ -16,14 +16,25 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; +import java.awt.Color; +import java.awt.Dimension; +import java.awt.Font; +import java.awt.FontMetrics; +import java.awt.Graphics; +import java.awt.Image; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.awt.event.MouseEvent; +import java.awt.event.MouseListener; +import java.util.logging.Level; + +import javax.swing.JPanel; +import javax.swing.Timer; import org.adempiere.plaf.AdempierePLAF; -import org.compiere.db.*; -import java.util.logging.*; -import org.compiere.util.*; +import org.compiere.util.CLogger; +import org.compiere.util.Env; +import org.compiere.util.Msg; /** * Glass Pane to display "waiting" and capture events while processing. diff --git a/client/src/org/compiere/apps/AKeyboardFocusManager.java b/client/src/org/compiere/apps/AKeyboardFocusManager.java index 785c6cd505..e26d0943cd 100644 --- a/client/src/org/compiere/apps/AKeyboardFocusManager.java +++ b/client/src/org/compiere/apps/AKeyboardFocusManager.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; +import java.awt.DefaultKeyboardFocusManager; /** * Apps Keyboard Focus Manager diff --git a/client/src/org/compiere/apps/ALayout.java b/client/src/org/compiere/apps/ALayout.java index f98b9d107b..9d6f3be149 100644 --- a/client/src/org/compiere/apps/ALayout.java +++ b/client/src/org/compiere/apps/ALayout.java @@ -16,8 +16,14 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.util.*; +import java.awt.Component; +import java.awt.Container; +import java.awt.Dimension; +import java.awt.Insets; +import java.awt.LayoutManager; +import java.awt.LayoutManager2; +import java.util.Arrays; +import java.util.Iterator; /** * Application Layout Manager. diff --git a/client/src/org/compiere/apps/ALayoutCollection.java b/client/src/org/compiere/apps/ALayoutCollection.java index b48c766312..0d0470a1fa 100644 --- a/client/src/org/compiere/apps/ALayoutCollection.java +++ b/client/src/org/compiere/apps/ALayoutCollection.java @@ -16,8 +16,9 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; -import java.awt.*; +import java.awt.Component; +import java.util.HashMap; +import java.util.Iterator; /** * Collection of Components ordered based on ALayoutConstraint diff --git a/client/src/org/compiere/apps/ALogin.java b/client/src/org/compiere/apps/ALogin.java index 829f4550e8..943a34f479 100644 --- a/client/src/org/compiere/apps/ALogin.java +++ b/client/src/org/compiere/apps/ALogin.java @@ -16,22 +16,52 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; +import java.awt.BorderLayout; +import java.awt.Color; +import java.awt.Cursor; +import java.awt.Frame; +import java.awt.GridBagConstraints; +import java.awt.GridBagLayout; +import java.awt.Insets; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.awt.event.WindowEvent; import java.rmi.AccessException; -import java.sql.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; +import java.sql.Timestamp; +import java.util.Locale; +import java.util.Properties; +import java.util.ResourceBundle; + +import javax.swing.JOptionPane; +import javax.swing.JPasswordField; +import javax.swing.JScrollPane; +import javax.swing.SwingConstants; +import javax.swing.event.ChangeEvent; +import javax.swing.event.ChangeListener; import org.adempiere.plaf.AdempierePLAF; -import org.compiere.*; -import org.compiere.db.*; -import org.compiere.grid.ed.*; -import org.compiere.model.*; -import org.compiere.print.*; -import org.compiere.swing.*; -import org.compiere.util.*; +import org.compiere.Adempiere; +import org.compiere.db.CConnection; +import org.compiere.db.CConnectionEditor; +import org.compiere.grid.ed.VComboBox; +import org.compiere.grid.ed.VDate; +import org.compiere.model.MSystem; +import org.compiere.print.CPrinter; +import org.compiere.swing.CButton; +import org.compiere.swing.CDialog; +import org.compiere.swing.CLabel; +import org.compiere.swing.CPanel; +import org.compiere.swing.CTabbedPane; +import org.compiere.swing.CTextField; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.DisplayType; +import org.compiere.util.Env; +import org.compiere.util.Ini; +import org.compiere.util.KeyNamePair; +import org.compiere.util.Language; +import org.compiere.util.Login; +import org.compiere.util.Msg; /** * Application Login Window diff --git a/client/src/org/compiere/apps/ALoginRes.java b/client/src/org/compiere/apps/ALoginRes.java index 7fb8d194d4..46e4dec767 100644 --- a/client/src/org/compiere/apps/ALoginRes.java +++ b/client/src/org/compiere/apps/ALoginRes.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle. diff --git a/client/src/org/compiere/apps/ALoginRes_ar.java b/client/src/org/compiere/apps/ALoginRes_ar.java index 9967adb277..a2b07f465b 100644 --- a/client/src/org/compiere/apps/ALoginRes_ar.java +++ b/client/src/org/compiere/apps/ALoginRes_ar.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Login Resource Strings (Arab) diff --git a/client/src/org/compiere/apps/ALoginRes_bg.java b/client/src/org/compiere/apps/ALoginRes_bg.java index 4a5f44fa0e..d6aaf0e027 100644 --- a/client/src/org/compiere/apps/ALoginRes_bg.java +++ b/client/src/org/compiere/apps/ALoginRes_bg.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Login Resource Bundle (Bulgarian). diff --git a/client/src/org/compiere/apps/ALoginRes_ca.java b/client/src/org/compiere/apps/ALoginRes_ca.java index cf4dee22df..a492c9153f 100644 --- a/client/src/org/compiere/apps/ALoginRes_ca.java +++ b/client/src/org/compiere/apps/ALoginRes_ca.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_da.java b/client/src/org/compiere/apps/ALoginRes_da.java index 152c974465..95aaab541f 100644 --- a/client/src/org/compiere/apps/ALoginRes_da.java +++ b/client/src/org/compiere/apps/ALoginRes_da.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_de.java b/client/src/org/compiere/apps/ALoginRes_de.java index 97d489ab59..7dba05e62b 100644 --- a/client/src/org/compiere/apps/ALoginRes_de.java +++ b/client/src/org/compiere/apps/ALoginRes_de.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * German Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_es.java b/client/src/org/compiere/apps/ALoginRes_es.java index 9ad0a8c24e..12700bcdb2 100644 --- a/client/src/org/compiere/apps/ALoginRes_es.java +++ b/client/src/org/compiere/apps/ALoginRes_es.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_fa.java b/client/src/org/compiere/apps/ALoginRes_fa.java index ae9f5085d6..84cccbe94a 100644 --- a/client/src/org/compiere/apps/ALoginRes_fa.java +++ b/client/src/org/compiere/apps/ALoginRes_fa.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_fr.java b/client/src/org/compiere/apps/ALoginRes_fr.java index 7fac8a1ce5..f64cb2102b 100644 --- a/client/src/org/compiere/apps/ALoginRes_fr.java +++ b/client/src/org/compiere/apps/ALoginRes_fr.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Login Resource Strings (French) diff --git a/client/src/org/compiere/apps/ALoginRes_hr.java b/client/src/org/compiere/apps/ALoginRes_hr.java index 195cfa82d4..0b1d75c8a9 100644 --- a/client/src/org/compiere/apps/ALoginRes_hr.java +++ b/client/src/org/compiere/apps/ALoginRes_hr.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_hu.java b/client/src/org/compiere/apps/ALoginRes_hu.java index 42ec099ebb..81a33e2c4c 100644 --- a/client/src/org/compiere/apps/ALoginRes_hu.java +++ b/client/src/org/compiere/apps/ALoginRes_hu.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle. diff --git a/client/src/org/compiere/apps/ALoginRes_in.java b/client/src/org/compiere/apps/ALoginRes_in.java index 3d10febcf4..29ff717637 100644 --- a/client/src/org/compiere/apps/ALoginRes_in.java +++ b/client/src/org/compiere/apps/ALoginRes_in.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_it.java b/client/src/org/compiere/apps/ALoginRes_it.java index b1b3cdcd24..e0b7e84a70 100644 --- a/client/src/org/compiere/apps/ALoginRes_it.java +++ b/client/src/org/compiere/apps/ALoginRes_it.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_ja.java b/client/src/org/compiere/apps/ALoginRes_ja.java index 4ddd1fab51..e004304f42 100644 --- a/client/src/org/compiere/apps/ALoginRes_ja.java +++ b/client/src/org/compiere/apps/ALoginRes_ja.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_ml.java b/client/src/org/compiere/apps/ALoginRes_ml.java index 7e02f1bceb..229f1c11dc 100644 --- a/client/src/org/compiere/apps/ALoginRes_ml.java +++ b/client/src/org/compiere/apps/ALoginRes_ml.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_ms.java b/client/src/org/compiere/apps/ALoginRes_ms.java index fa067ab6c8..b280217daf 100644 --- a/client/src/org/compiere/apps/ALoginRes_ms.java +++ b/client/src/org/compiere/apps/ALoginRes_ms.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_nl.java b/client/src/org/compiere/apps/ALoginRes_nl.java index 970854eb7b..5b19dd7c9d 100644 --- a/client/src/org/compiere/apps/ALoginRes_nl.java +++ b/client/src/org/compiere/apps/ALoginRes_nl.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_no.java b/client/src/org/compiere/apps/ALoginRes_no.java index 8f121ee971..bdcd0b7637 100644 --- a/client/src/org/compiere/apps/ALoginRes_no.java +++ b/client/src/org/compiere/apps/ALoginRes_no.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Norwegian Base Resource Bundle Translation diff --git a/client/src/org/compiere/apps/ALoginRes_pl.java b/client/src/org/compiere/apps/ALoginRes_pl.java index 528b2ae7ae..58d6b452bd 100644 --- a/client/src/org/compiere/apps/ALoginRes_pl.java +++ b/client/src/org/compiere/apps/ALoginRes_pl.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_pt.java b/client/src/org/compiere/apps/ALoginRes_pt.java index 3208594ee2..1f4d19566a 100644 --- a/client/src/org/compiere/apps/ALoginRes_pt.java +++ b/client/src/org/compiere/apps/ALoginRes_pt.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle @@ -63,7 +63,7 @@ public final class ALoginRes_pt extends ListResourceBundle { "Cancel", "Cancelar" }, { "VersionConflict", "Conflito de Vers\u00f5es:" }, { "VersionInfo", "Servidor <> Cliente" }, - { "PleaseUpgrade", "Favor executar o programa de atualizao" } + { "PleaseUpgrade", "Favor executar o programa de atualiza��o" } }; /** diff --git a/client/src/org/compiere/apps/ALoginRes_ro.java b/client/src/org/compiere/apps/ALoginRes_ro.java index 076f85d907..4ceaf22880 100644 --- a/client/src/org/compiere/apps/ALoginRes_ro.java +++ b/client/src/org/compiere/apps/ALoginRes_ro.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_ru.java b/client/src/org/compiere/apps/ALoginRes_ru.java index c46fc2f139..c79908e1c0 100644 --- a/client/src/org/compiere/apps/ALoginRes_ru.java +++ b/client/src/org/compiere/apps/ALoginRes_ru.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_sl.java b/client/src/org/compiere/apps/ALoginRes_sl.java index 687154961b..34e024f9b8 100644 --- a/client/src/org/compiere/apps/ALoginRes_sl.java +++ b/client/src/org/compiere/apps/ALoginRes_sl.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_sr.java b/client/src/org/compiere/apps/ALoginRes_sr.java index 354c23019d..75c148da36 100644 --- a/client/src/org/compiere/apps/ALoginRes_sr.java +++ b/client/src/org/compiere/apps/ALoginRes_sr.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_sv.java b/client/src/org/compiere/apps/ALoginRes_sv.java index f1ba6b2afa..2f34f3ad6a 100644 --- a/client/src/org/compiere/apps/ALoginRes_sv.java +++ b/client/src/org/compiere/apps/ALoginRes_sv.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Swedish Base Resource Bundle Translation diff --git a/client/src/org/compiere/apps/ALoginRes_th.java b/client/src/org/compiere/apps/ALoginRes_th.java index d7537b3c20..125de466df 100644 --- a/client/src/org/compiere/apps/ALoginRes_th.java +++ b/client/src/org/compiere/apps/ALoginRes_th.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Login Resource Bundle (Thai). diff --git a/client/src/org/compiere/apps/ALoginRes_vi.java b/client/src/org/compiere/apps/ALoginRes_vi.java index 11a520c5df..4ab122f8bc 100644 --- a/client/src/org/compiere/apps/ALoginRes_vi.java +++ b/client/src/org/compiere/apps/ALoginRes_vi.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Vietnamese Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_zh.java b/client/src/org/compiere/apps/ALoginRes_zh.java index 8494e193a2..ed395009f6 100644 --- a/client/src/org/compiere/apps/ALoginRes_zh.java +++ b/client/src/org/compiere/apps/ALoginRes_zh.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginRes_zh_CN.java b/client/src/org/compiere/apps/ALoginRes_zh_CN.java index f9e250b0b1..737817ce43 100644 --- a/client/src/org/compiere/apps/ALoginRes_zh_CN.java +++ b/client/src/org/compiere/apps/ALoginRes_zh_CN.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import java.util.*; +import java.util.ListResourceBundle; /** * Base Resource Bundle diff --git a/client/src/org/compiere/apps/ALoginTest.java b/client/src/org/compiere/apps/ALoginTest.java index 756f44a334..9c1eb1dd92 100644 --- a/client/src/org/compiere/apps/ALoginTest.java +++ b/client/src/org/compiere/apps/ALoginTest.java @@ -16,15 +16,31 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import java.io.*; -import java.net.*; -import java.sql.*; -import javax.swing.*; +import java.awt.BorderLayout; +import java.awt.Dialog; +import java.awt.Dimension; +import java.awt.FlowLayout; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.io.IOException; +import java.net.InetAddress; +import java.net.Socket; +import java.net.UnknownHostException; +import java.sql.Connection; +import java.sql.DatabaseMetaData; +import java.sql.DriverManager; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Statement; + +import javax.swing.JButton; +import javax.swing.JDialog; +import javax.swing.JScrollPane; +import javax.swing.JTextArea; import org.adempiere.plaf.AdempierePLAF; -import org.compiere.swing.*; +import org.compiere.swing.CDialog; +import org.compiere.swing.CPanel; /** * Connection Test diff --git a/client/src/org/compiere/apps/AStart.java b/client/src/org/compiere/apps/AStart.java index 4bb16df8d9..ca4ad1c8c0 100644 --- a/client/src/org/compiere/apps/AStart.java +++ b/client/src/org/compiere/apps/AStart.java @@ -16,8 +16,13 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import javax.swing.*; +import java.awt.BorderLayout; +import java.awt.Dimension; +import java.awt.Toolkit; + +import javax.swing.JApplet; +import javax.swing.JFrame; +import javax.swing.UIManager; /** * Applet Start diff --git a/client/src/org/compiere/apps/ASyncProcessBase.java b/client/src/org/compiere/apps/ASyncProcessBase.java index 8ce53f37d7..b23ff1c098 100644 --- a/client/src/org/compiere/apps/ASyncProcessBase.java +++ b/client/src/org/compiere/apps/ASyncProcessBase.java @@ -16,8 +16,12 @@ *****************************************************************************/ package org.compiere.apps; -import org.compiere.process.*; -import org.compiere.util.*; +import org.compiere.process.ProcessInfo; +import org.compiere.util.ASyncProcess; +import org.compiere.util.ASyncWorker; +import org.compiere.util.Env; +import org.compiere.util.Msg; +import org.compiere.util.Splash; /** * ASync Process Base Class diff --git a/client/src/org/compiere/apps/ATask.java b/client/src/org/compiere/apps/ATask.java index 7531cecd22..5f47bc030a 100644 --- a/client/src/org/compiere/apps/ATask.java +++ b/client/src/org/compiere/apps/ATask.java @@ -16,16 +16,21 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import java.util.logging.*; -import javax.swing.*; +import java.awt.BorderLayout; +import java.awt.Dimension; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.util.logging.Level; + +import javax.swing.JScrollPane; +import javax.swing.JTextArea; import org.adempiere.plaf.AdempierePLAF; -import org.compiere.*; -import org.compiere.util.*; -import org.compiere.model.*; -import org.compiere.swing.*; +import org.compiere.Adempiere; +import org.compiere.model.MTask; +import org.compiere.swing.CFrame; +import org.compiere.util.CLogger; +import org.compiere.util.Task; /** diff --git a/client/src/org/compiere/apps/AWindowListener.java b/client/src/org/compiere/apps/AWindowListener.java index a9370bb98d..5c4e81e119 100644 --- a/client/src/org/compiere/apps/AWindowListener.java +++ b/client/src/org/compiere/apps/AWindowListener.java @@ -16,8 +16,10 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; +import java.awt.Window; +import java.awt.event.WindowAdapter; +import java.awt.event.WindowEvent; +import java.awt.event.WindowStateListener; /** * Convenience Class to tunnel Events. diff --git a/client/src/org/compiere/apps/AZoomAcross.java b/client/src/org/compiere/apps/AZoomAcross.java index f1e300c67a..0a647607b7 100644 --- a/client/src/org/compiere/apps/AZoomAcross.java +++ b/client/src/org/compiere/apps/AZoomAcross.java @@ -16,14 +16,26 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import java.sql.*; -import java.util.*; -import java.util.logging.*; -import javax.swing.*; -import org.compiere.model.*; -import org.compiere.util.*; +import java.awt.Cursor; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.util.ArrayList; +import java.util.logging.Level; + +import javax.swing.JComponent; +import javax.swing.JPopupMenu; + +import org.compiere.model.MQuery; +import org.compiere.model.MRMA; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.Env; +import org.compiere.util.Ini; +import org.compiere.util.KeyNamePair; +import org.compiere.util.Msg; /** * Application Zoom Across Launcher. diff --git a/client/src/org/compiere/apps/AboutBox.java b/client/src/org/compiere/apps/AboutBox.java index 6088178b7c..3f7d6bc61d 100644 --- a/client/src/org/compiere/apps/AboutBox.java +++ b/client/src/org/compiere/apps/AboutBox.java @@ -16,12 +16,24 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import org.compiere.*; -import org.compiere.swing.*; -import org.compiere.util.*; +import java.awt.BorderLayout; +import java.awt.Color; +import java.awt.Dimension; +import java.awt.GridLayout; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; + +import javax.swing.JFrame; +import javax.swing.JLabel; +import javax.swing.SwingConstants; + +import org.compiere.Adempiere; +import org.compiere.swing.CDialog; +import org.compiere.swing.CPanel; +import org.compiere.swing.CTextArea; +import org.compiere.util.CLogMgt; +import org.compiere.util.Env; +import org.compiere.util.Msg; /** * About Dialog diff --git a/client/src/org/compiere/apps/AppsAction.java b/client/src/org/compiere/apps/AppsAction.java index 0480a38775..0df6db9e1d 100644 --- a/client/src/org/compiere/apps/AppsAction.java +++ b/client/src/org/compiere/apps/AppsAction.java @@ -16,11 +16,26 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import org.compiere.swing.*; -import org.compiere.util.*; +import java.awt.Dimension; +import java.awt.Insets; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; + +import javax.swing.AbstractAction; +import javax.swing.AbstractButton; +import javax.swing.Action; +import javax.swing.Icon; +import javax.swing.ImageIcon; +import javax.swing.JComponent; +import javax.swing.JMenuItem; +import javax.swing.KeyStroke; + +import org.compiere.swing.CButton; +import org.compiere.swing.CCheckBoxMenuItem; +import org.compiere.swing.CMenuItem; +import org.compiere.swing.CToggleButton; +import org.compiere.util.Env; +import org.compiere.util.Msg; /** * Application Action. diff --git a/client/src/org/compiere/apps/Attachment.java b/client/src/org/compiere/apps/Attachment.java index 249ab73b07..5c1ff222b7 100644 --- a/client/src/org/compiere/apps/Attachment.java +++ b/client/src/org/compiere/apps/Attachment.java @@ -16,19 +16,38 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import java.io.*; -import java.util.logging.*; -import javax.swing.*; +import java.awt.BorderLayout; +import java.awt.Dimension; +import java.awt.FlowLayout; +import java.awt.Frame; +import java.awt.Graphics; +import java.awt.Image; +import java.awt.Insets; +import java.awt.MediaTracker; +import java.awt.Toolkit; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.io.File; +import java.util.logging.Level; +import javax.swing.JFileChooser; +import javax.swing.JPanel; +import javax.swing.JScrollPane; +import javax.swing.JSplitPane; + +import org.adempiere.pdf.Document; +import org.adempiere.pdf.viewer.PDFViewerBean; import org.adempiere.plaf.AdempierePLAF; -import org.compiere.model.*; -import org.compiere.swing.*; -import org.compiere.util.*; - -import org.adempiere.pdf.*; -import org.adempiere.pdf.viewer.*; +import org.compiere.model.MAttachment; +import org.compiere.model.MAttachmentEntry; +import org.compiere.swing.CButton; +import org.compiere.swing.CComboBox; +import org.compiere.swing.CDialog; +import org.compiere.swing.CPanel; +import org.compiere.swing.CTextArea; +import org.compiere.util.CLogger; +import org.compiere.util.Env; +import org.compiere.util.Msg; /** * Attachment Viewer diff --git a/client/src/org/compiere/apps/BeanShellEditor.java b/client/src/org/compiere/apps/BeanShellEditor.java index e824b52779..8d2b19056b 100644 --- a/client/src/org/compiere/apps/BeanShellEditor.java +++ b/client/src/org/compiere/apps/BeanShellEditor.java @@ -16,17 +16,39 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import java.sql.*; -import java.util.*; -import java.util.logging.*; -import javax.swing.*; -import javax.swing.border.*; +import java.awt.BorderLayout; +import java.awt.Color; +import java.awt.Dimension; +import java.awt.FlowLayout; +import java.awt.Frame; +import java.awt.GridBagConstraints; +import java.awt.GridBagLayout; +import java.awt.Insets; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.sql.Timestamp; +import java.util.Arrays; +import java.util.HashMap; +import java.util.logging.Level; -import org.compiere.model.*; -import org.compiere.swing.*; -import org.compiere.util.*; +import javax.swing.BorderFactory; +import javax.swing.JButton; +import javax.swing.JFrame; +import javax.swing.JLabel; +import javax.swing.JScrollPane; +import javax.swing.JSplitPane; +import javax.swing.JTextArea; +import javax.swing.JTextField; +import javax.swing.JTextPane; +import javax.swing.border.TitledBorder; + +import org.compiere.model.MUser; +import org.compiere.model.Scriptlet; +import org.compiere.swing.CDialog; +import org.compiere.swing.CPanel; +import org.compiere.util.CLogger; +import org.compiere.util.Env; +import org.compiere.util.Msg; import bsh.ParseException; diff --git a/client/src/org/compiere/apps/ConfirmPanel.java b/client/src/org/compiere/apps/ConfirmPanel.java index 95e2c534d9..ee0fb5c951 100644 --- a/client/src/org/compiere/apps/ConfirmPanel.java +++ b/client/src/org/compiere/apps/ConfirmPanel.java @@ -16,11 +16,24 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; -import org.compiere.swing.*; -import org.compiere.util.*; +import java.awt.BorderLayout; +import java.awt.Component; +import java.awt.FlowLayout; +import java.awt.Insets; +import java.awt.event.ActionListener; +import java.awt.event.KeyEvent; + +import javax.swing.Icon; +import javax.swing.JButton; +import javax.swing.JDialog; +import javax.swing.JFrame; +import javax.swing.JRootPane; +import javax.swing.KeyStroke; + +import org.compiere.swing.CButton; +import org.compiere.swing.CPanel; +import org.compiere.util.Env; +import org.compiere.util.Msg; /** * Application Confirm Panel. diff --git a/client/src/org/compiere/apps/EMailDialog.java b/client/src/org/compiere/apps/EMailDialog.java index 36325f786c..bfd8abc95c 100644 --- a/client/src/org/compiere/apps/EMailDialog.java +++ b/client/src/org/compiere/apps/EMailDialog.java @@ -17,16 +17,39 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import java.beans.*; -import java.io.*; -import org.compiere.grid.ed.*; -import org.compiere.model.*; -import org.compiere.swing.*; -import java.util.*; -import java.util.logging.*; -import org.compiere.util.*; +import java.awt.BorderLayout; +import java.awt.Cursor; +import java.awt.Dialog; +import java.awt.Dimension; +import java.awt.Frame; +import java.awt.GridBagConstraints; +import java.awt.GridBagLayout; +import java.awt.Insets; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.beans.PropertyChangeEvent; +import java.beans.PropertyVetoException; +import java.beans.VetoableChangeListener; +import java.io.File; +import java.util.StringTokenizer; +import java.util.logging.Level; + +import org.compiere.grid.ed.VLookup; +import org.compiere.model.Lookup; +import org.compiere.model.MClient; +import org.compiere.model.MLookupFactory; +import org.compiere.model.MUser; +import org.compiere.model.MUserMail; +import org.compiere.swing.CDialog; +import org.compiere.swing.CLabel; +import org.compiere.swing.CPanel; +import org.compiere.swing.CTextArea; +import org.compiere.swing.CTextField; +import org.compiere.util.CLogger; +import org.compiere.util.DisplayType; +import org.compiere.util.EMail; +import org.compiere.util.Env; +import org.compiere.util.Msg; /** * EMail Dialog diff --git a/client/src/org/compiere/apps/GroovyEditor.java b/client/src/org/compiere/apps/GroovyEditor.java index e9519a92cc..0b1f6c0f8e 100644 --- a/client/src/org/compiere/apps/GroovyEditor.java +++ b/client/src/org/compiere/apps/GroovyEditor.java @@ -16,15 +16,32 @@ package org.compiere.apps; import groovy.lang.GroovyShell; import groovy.ui.ConsoleTextEditor; -import java.awt.*; -import java.awt.event.*; -import java.util.logging.*; -import javax.swing.*; -import javax.swing.border.*; +import java.awt.BorderLayout; +import java.awt.Color; +import java.awt.Dimension; +import java.awt.FlowLayout; +import java.awt.Frame; +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.logging.Level; -import org.compiere.model.*; -import org.compiere.swing.*; -import org.compiere.util.*; +import javax.swing.BorderFactory; +import javax.swing.JButton; +import javax.swing.JFrame; +import javax.swing.JLabel; +import javax.swing.JScrollPane; +import javax.swing.JTextField; +import javax.swing.border.TitledBorder; + +import org.compiere.model.MUser; +import org.compiere.swing.CDialog; +import org.compiere.swing.CPanel; +import org.compiere.util.CLogger; +import org.compiere.util.Env; +import org.compiere.util.Msg; /** * Groovy script Editor diff --git a/client/src/org/compiere/apps/Help.java b/client/src/org/compiere/apps/Help.java index 92b3d7ad2d..3bbeae3b75 100644 --- a/client/src/org/compiere/apps/Help.java +++ b/client/src/org/compiere/apps/Help.java @@ -16,19 +16,25 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import java.net.*; +import java.awt.BorderLayout; +import java.awt.Dimension; +import java.awt.Frame; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.net.URL; +import java.util.logging.Level; -import javax.swing.*; +import javax.swing.BorderFactory; +import javax.swing.JDialog; +import javax.swing.JScrollPane; import javax.swing.text.html.HTMLDocument; -import java.util.logging.*; - import org.adempiere.plaf.AdempierePLAF; -import org.compiere.model.*; -import org.compiere.swing.*; -import org.compiere.util.*; +import org.compiere.model.GridWindow; +import org.compiere.swing.CDialog; +import org.compiere.swing.CPanel; +import org.compiere.util.CLogger; +import org.compiere.util.WebDoc; /** * Help and HTML Window diff --git a/client/src/org/compiere/apps/OnlineHelp.java b/client/src/org/compiere/apps/OnlineHelp.java index 43a509fc1e..7a780813a2 100644 --- a/client/src/org/compiere/apps/OnlineHelp.java +++ b/client/src/org/compiere/apps/OnlineHelp.java @@ -17,14 +17,25 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.io.*; -import java.net.*; -import java.util.*; -import javax.swing.*; -import javax.swing.event.*; -import javax.swing.text.*; -import javax.swing.text.html.*; +import java.awt.Color; +import java.awt.Cursor; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.net.ConnectException; +import java.net.URL; +import java.net.URLConnection; +import java.net.UnknownHostException; +import java.util.Enumeration; +import java.util.HashMap; + +import javax.swing.JEditorPane; +import javax.swing.event.HyperlinkEvent; +import javax.swing.event.HyperlinkListener; +import javax.swing.text.AttributeSet; +import javax.swing.text.html.HTML; +import javax.swing.text.html.HTMLDocument; +import javax.swing.text.html.HTMLEditorKit; +import javax.swing.text.html.HTMLFrameHyperlinkEvent; import org.adempiere.plaf.AdempierePLAF; import org.compiere.util.Env; diff --git a/client/src/org/compiere/apps/Preference.java b/client/src/org/compiere/apps/Preference.java index 2dde4686d2..d4d6b8a3dd 100644 --- a/client/src/org/compiere/apps/Preference.java +++ b/client/src/org/compiere/apps/Preference.java @@ -16,27 +16,61 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import java.io.*; +import java.awt.BorderLayout; +import java.awt.Dimension; +import java.awt.FlowLayout; +import java.awt.Frame; +import java.awt.GridBagConstraints; +import java.awt.GridBagLayout; +import java.awt.GridLayout; +import java.awt.Insets; +import java.awt.SystemColor; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.io.File; +import java.io.FileWriter; import java.nio.charset.Charset; -import java.util.*; -import java.util.logging.*; -import javax.swing.*; +import java.util.Arrays; +import java.util.Vector; +import java.util.logging.Level; + +import javax.swing.BorderFactory; +import javax.swing.JFileChooser; +import javax.swing.JList; +import javax.swing.JScrollPane; +import javax.swing.ListSelectionModel; +import javax.swing.UIManager; import javax.swing.border.Border; -import javax.swing.event.*; +import javax.swing.event.ListSelectionEvent; +import javax.swing.event.ListSelectionListener; import javax.swing.plaf.metal.MetalLookAndFeel; import javax.swing.plaf.metal.MetalTheme; -import javax.swing.table.*; -import org.adempiere.plaf.PLAFEditorPanel; +import javax.swing.table.DefaultTableModel; + import org.adempiere.plaf.AdempierePLAF; -import org.compiere.db.*; -import org.compiere.grid.ed.*; -import org.compiere.minigrid.*; -import org.compiere.model.*; -import org.compiere.print.*; -import org.compiere.swing.*; -import org.compiere.util.*; +import org.adempiere.plaf.PLAFEditorPanel; +import org.compiere.db.CConnection; +import org.compiere.grid.ed.VDate; +import org.compiere.minigrid.MiniTable; +import org.compiere.model.MRole; +import org.compiere.model.MUser; +import org.compiere.print.CPrinter; +import org.compiere.swing.CButton; +import org.compiere.swing.CCheckBox; +import org.compiere.swing.CComboBox; +import org.compiere.swing.CDialog; +import org.compiere.swing.CLabel; +import org.compiere.swing.CPanel; +import org.compiere.swing.CTabbedPane; +import org.compiere.swing.CTextArea; +import org.compiere.swing.CToggleButton; +import org.compiere.util.CLogErrorBuffer; +import org.compiere.util.CLogMgt; +import org.compiere.util.CLogger; +import org.compiere.util.Env; +import org.compiere.util.Ini; +import org.compiere.util.Msg; +import org.compiere.util.ValueNamePair; /** * Customize settings like L&F, AutoCommit, etc. & Diagnostics diff --git a/client/src/org/compiere/apps/PrintScreenPainter.java b/client/src/org/compiere/apps/PrintScreenPainter.java index 338a682899..0779a6a737 100644 --- a/client/src/org/compiere/apps/PrintScreenPainter.java +++ b/client/src/org/compiere/apps/PrintScreenPainter.java @@ -16,11 +16,20 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.print.*; -import java.util.*; -import org.compiere.print.*; -import org.compiere.util.*; +import java.awt.Graphics; +import java.awt.Graphics2D; +import java.awt.Window; +import java.awt.print.PageFormat; +import java.awt.print.Pageable; +import java.awt.print.Printable; +import java.awt.print.PrinterException; +import java.util.Date; + +import org.compiere.print.CPaper; +import org.compiere.print.PrintUtil; +import org.compiere.util.DisplayType; +import org.compiere.util.Env; +import org.compiere.util.Msg; /** * PrintScreen Painter diff --git a/client/src/org/compiere/apps/ProcessCtl.java b/client/src/org/compiere/apps/ProcessCtl.java index 1e82e66f2b..f0a13d4596 100644 --- a/client/src/org/compiere/apps/ProcessCtl.java +++ b/client/src/org/compiere/apps/ProcessCtl.java @@ -19,10 +19,8 @@ package org.compiere.apps; import java.awt.Container; import java.io.InvalidClassException; import java.lang.reflect.UndeclaredThrowableException; -import java.rmi.RemoteException; import java.sql.PreparedStatement; import java.sql.ResultSet; -import java.util.Properties; import java.util.logging.Level; import javax.swing.JFrame; diff --git a/client/src/org/compiere/apps/ProcessDialog.java b/client/src/org/compiere/apps/ProcessDialog.java index 1bd99b0a10..91f46c1ba3 100644 --- a/client/src/org/compiere/apps/ProcessDialog.java +++ b/client/src/org/compiere/apps/ProcessDialog.java @@ -16,17 +16,36 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import java.sql.*; -import java.util.logging.*; -import javax.swing.*; +import java.awt.AWTEvent; +import java.awt.BorderLayout; +import java.awt.Color; +import java.awt.Dimension; +import java.awt.FlowLayout; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.util.logging.Level; + +import javax.swing.JEditorPane; +import javax.swing.JOptionPane; +import javax.swing.JScrollPane; +import javax.swing.JSeparator; import org.adempiere.exceptions.AdempiereException; -import org.compiere.print.*; -import org.compiere.process.*; -import org.compiere.swing.*; -import org.compiere.util.*; +import org.compiere.print.ReportCtl; +import org.compiere.print.ReportEngine; +import org.compiere.process.ProcessInfo; +import org.compiere.process.ProcessInfoUtil; +import org.compiere.swing.CButton; +import org.compiere.swing.CFrame; +import org.compiere.swing.CPanel; +import org.compiere.util.ASyncProcess; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.Env; +import org.compiere.util.Msg; /** * Dialog to Start process. diff --git a/client/src/org/compiere/apps/ProcessModalDialog.java b/client/src/org/compiere/apps/ProcessModalDialog.java index b7c0bc00bc..6d667142e6 100644 --- a/client/src/org/compiere/apps/ProcessModalDialog.java +++ b/client/src/org/compiere/apps/ProcessModalDialog.java @@ -14,16 +14,32 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import java.sql.*; +import java.awt.BorderLayout; +import java.awt.Color; +import java.awt.Dimension; +import java.awt.Frame; +import java.awt.Insets; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; import java.util.Properties; -import java.util.logging.*; -import javax.swing.*; +import java.util.logging.Level; -import org.compiere.process.*; -import org.compiere.swing.*; -import org.compiere.util.*; +import javax.swing.JEditorPane; +import javax.swing.JScrollPane; +import javax.swing.JSeparator; + +import org.compiere.process.ProcessInfo; +import org.compiere.swing.CButton; +import org.compiere.swing.CDialog; +import org.compiere.swing.CPanel; +import org.compiere.util.ASyncProcess; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.Env; +import org.compiere.util.Msg; /** * [ 1639242 ] Inconsistent appearance of Process/Report Dialog diff --git a/client/src/org/compiere/apps/ProcessParameter.java b/client/src/org/compiere/apps/ProcessParameter.java index a7cc3d805b..0449c801c8 100644 --- a/client/src/org/compiere/apps/ProcessParameter.java +++ b/client/src/org/compiere/apps/ProcessParameter.java @@ -16,19 +16,41 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import java.beans.*; -import java.math.*; -import java.sql.*; -import java.util.*; -import java.util.logging.*; -import javax.swing.*; -import org.compiere.grid.ed.*; -import org.compiere.model.*; -import org.compiere.process.*; -import org.compiere.swing.*; -import org.compiere.util.*; +import java.awt.BorderLayout; +import java.awt.Component; +import java.awt.Frame; +import java.awt.GridBagConstraints; +import java.awt.GridBagLayout; +import java.awt.Insets; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.beans.PropertyChangeEvent; +import java.beans.PropertyVetoException; +import java.beans.VetoableChangeListener; +import java.math.BigDecimal; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Timestamp; +import java.util.ArrayList; +import java.util.logging.Level; + +import javax.swing.Box; +import javax.swing.JLabel; + +import org.compiere.grid.ed.VEditor; +import org.compiere.grid.ed.VEditorFactory; +import org.compiere.model.GridField; +import org.compiere.model.GridFieldVO; +import org.compiere.model.MClient; +import org.compiere.model.MPInstancePara; +import org.compiere.model.MProcess; +import org.compiere.process.ProcessInfo; +import org.compiere.swing.CDialog; +import org.compiere.swing.CPanel; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.Env; /** * Parameter Dialog. diff --git a/client/src/org/compiere/apps/RecordInfo.java b/client/src/org/compiere/apps/RecordInfo.java index c839e99068..33c366f30f 100644 --- a/client/src/org/compiere/apps/RecordInfo.java +++ b/client/src/org/compiere/apps/RecordInfo.java @@ -16,18 +16,41 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import java.math.*; -import java.sql.*; -import java.text.*; -import java.util.*; -import java.util.logging.*; -import javax.swing.table.*; -import org.compiere.grid.*; -import org.compiere.model.*; -import org.compiere.swing.*; -import org.compiere.util.*; +import java.awt.BorderLayout; +import java.awt.Color; +import java.awt.Dimension; +import java.awt.Frame; +import java.awt.event.ActionEvent; +import java.math.BigDecimal; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.Timestamp; +import java.text.DecimalFormat; +import java.text.SimpleDateFormat; +import java.util.Vector; +import java.util.logging.Level; + +import javax.swing.table.DefaultTableModel; + +import org.compiere.grid.VTable; +import org.compiere.model.DataStatusEvent; +import org.compiere.model.MChangeLog; +import org.compiere.model.MColumn; +import org.compiere.model.MLookup; +import org.compiere.model.MLookupFactory; +import org.compiere.model.MRole; +import org.compiere.model.MTable; +import org.compiere.model.MUser; +import org.compiere.swing.CDialog; +import org.compiere.swing.CPanel; +import org.compiere.swing.CScrollPane; +import org.compiere.swing.CTextArea; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.DisplayType; +import org.compiere.util.Env; +import org.compiere.util.Msg; +import org.compiere.util.NamePair; /** * Record Info (Who) With Change History diff --git a/client/src/org/compiere/apps/ScreenShot.java b/client/src/org/compiere/apps/ScreenShot.java index 85a416ef6f..2307b91392 100644 --- a/client/src/org/compiere/apps/ScreenShot.java +++ b/client/src/org/compiere/apps/ScreenShot.java @@ -16,15 +16,23 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.image.*; -import java.io.*; -import java.util.*; -import java.util.logging.*; -import javax.imageio.*; -import javax.imageio.stream.*; -import javax.swing.*; -import org.compiere.util.*; +import java.awt.Component; +import java.awt.Window; +import java.awt.image.BufferedImage; +import java.io.File; +import java.io.IOException; +import java.util.Iterator; +import java.util.logging.Level; + +import javax.imageio.ImageIO; +import javax.imageio.ImageWriter; +import javax.imageio.stream.ImageOutputStream; +import javax.swing.JFileChooser; + +import org.compiere.util.CLogger; +import org.compiere.util.Env; +import org.compiere.util.ExtensionFileFilter; +import org.compiere.util.Msg; /** * JPEG File Utility diff --git a/client/src/org/compiere/apps/ScriptEditor.java b/client/src/org/compiere/apps/ScriptEditor.java index 7881857130..89b1d7c7d8 100644 --- a/client/src/org/compiere/apps/ScriptEditor.java +++ b/client/src/org/compiere/apps/ScriptEditor.java @@ -16,10 +16,10 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; +import java.awt.Frame; -import org.compiere.model.*; -import org.compiere.util.*; +import org.compiere.model.Scriptlet; +import org.compiere.util.Env; /** * ScriptEditor diff --git a/client/src/org/compiere/apps/StatusBar.java b/client/src/org/compiere/apps/StatusBar.java index e0257b467f..e36c05b994 100644 --- a/client/src/org/compiere/apps/StatusBar.java +++ b/client/src/org/compiere/apps/StatusBar.java @@ -16,14 +16,21 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import javax.swing.*; +import java.awt.BorderLayout; +import java.awt.Color; +import java.awt.event.MouseEvent; + +import javax.swing.BorderFactory; +import javax.swing.JComponent; +import javax.swing.JLabel; +import javax.swing.SwingConstants; import org.adempiere.plaf.AdempierePLAF; -import org.compiere.model.*; -import org.compiere.swing.*; -import org.compiere.util.*; +import org.compiere.model.DataStatusEvent; +import org.compiere.model.MRole; +import org.compiere.swing.CPanel; +import org.compiere.util.Env; +import org.compiere.util.Msg; /** * Status Bar diff --git a/client/src/org/compiere/apps/SwingWorker.java b/client/src/org/compiere/apps/SwingWorker.java index b592bce324..0eb245e2df 100644 --- a/client/src/org/compiere/apps/SwingWorker.java +++ b/client/src/org/compiere/apps/SwingWorker.java @@ -16,7 +16,7 @@ *****************************************************************************/ package org.compiere.apps; -import javax.swing.*; +import javax.swing.SwingUtilities; /** * SwingWorker (based on SwingWorker 3). diff --git a/client/src/org/compiere/apps/TabSwitcher.java b/client/src/org/compiere/apps/TabSwitcher.java index 61b05ccced..5462befb9a 100644 --- a/client/src/org/compiere/apps/TabSwitcher.java +++ b/client/src/org/compiere/apps/TabSwitcher.java @@ -17,31 +17,21 @@ package org.compiere.apps; -import java.awt.Component; -import java.awt.ItemSelectable; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.FocusAdapter; import java.awt.event.FocusEvent; -import java.awt.event.*; +import java.awt.event.KeyAdapter; +import java.awt.event.KeyEvent; import javax.swing.AbstractButton; -import javax.swing.JTable; -import javax.swing.JTabbedPane; import javax.swing.JComponent; -import javax.swing.JComboBox; -import javax.swing.event.ChangeEvent; - - -import javax.swing.event.ChangeListener; +import javax.swing.JTable; import javax.swing.event.ListSelectionEvent; import javax.swing.event.ListSelectionListener; import javax.swing.text.JTextComponent; import org.compiere.grid.GridController; -import org.compiere.grid.ed.VEditor; -import org.compiere.model.MField; -import org.compiere.swing.CPanel; /** * diff --git a/client/src/org/compiere/apps/Waiting.java b/client/src/org/compiere/apps/Waiting.java index 893cb4fc26..f7dd6b75c8 100644 --- a/client/src/org/compiere/apps/Waiting.java +++ b/client/src/org/compiere/apps/Waiting.java @@ -16,12 +16,28 @@ *****************************************************************************/ package org.compiere.apps; -import java.awt.*; -import java.awt.event.*; -import java.util.logging.*; -import javax.swing.*; -import org.compiere.swing.*; -import org.compiere.util.*; +import java.awt.BorderLayout; +import java.awt.Cursor; +import java.awt.Dialog; +import java.awt.FlowLayout; +import java.awt.Frame; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.util.logging.Level; + +import javax.swing.Box; +import javax.swing.JProgressBar; +import javax.swing.SwingConstants; +import javax.swing.Timer; +import javax.swing.WindowConstants; + +import org.compiere.swing.CButton; +import org.compiere.swing.CDialog; +import org.compiere.swing.CLabel; +import org.compiere.swing.CPanel; +import org.compiere.util.CLogger; +import org.compiere.util.Env; +import org.compiere.util.Msg; /** * Waiting Dialog