From 8912bd83e85918350d38c37e9fdd42963ae230f9 Mon Sep 17 00:00:00 2001 From: "Redhuan D. Oon" Date: Mon, 22 Dec 2008 00:44:40 +0000 Subject: [PATCH] organize imports --- .../compiere/install/LanguageMaintenance.java | 8 ++-- .../src/org/compiere/install/Translation.java | 43 +++++++++++++------ .../compiere/install/TranslationDialog.java | 40 ++++++++++++----- .../compiere/install/TranslationHandler.java | 13 ++++-- 4 files changed, 75 insertions(+), 29 deletions(-) diff --git a/client/src/org/compiere/install/LanguageMaintenance.java b/client/src/org/compiere/install/LanguageMaintenance.java index 05eed17868..a7b3f3c539 100644 --- a/client/src/org/compiere/install/LanguageMaintenance.java +++ b/client/src/org/compiere/install/LanguageMaintenance.java @@ -16,9 +16,11 @@ *****************************************************************************/ package org.compiere.install; -import java.util.logging.*; -import org.compiere.model.*; -import org.compiere.process.*; +import java.util.logging.Level; + +import org.compiere.model.MLanguage; +import org.compiere.process.ProcessInfoParameter; +import org.compiere.process.SvrProcess; /** diff --git a/client/src/org/compiere/install/Translation.java b/client/src/org/compiere/install/Translation.java index 739827b0f8..64b313122b 100644 --- a/client/src/org/compiere/install/Translation.java +++ b/client/src/org/compiere/install/Translation.java @@ -16,18 +16,37 @@ *****************************************************************************/ package org.compiere.install; -import java.io.*; -import java.sql.*; -import java.util.*; -import java.util.logging.*; -import javax.xml.parsers.*; -import javax.xml.transform.*; -import javax.xml.transform.dom.*; -import javax.xml.transform.stream.*; -import org.compiere.*; -import org.compiere.model.*; -import org.compiere.util.*; -import org.w3c.dom.*; +import java.io.File; +import java.io.FileOutputStream; +import java.io.OutputStreamWriter; +import java.io.Writer; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.util.ArrayList; +import java.util.Properties; +import java.util.logging.Level; + +import javax.xml.parsers.DocumentBuilder; +import javax.xml.parsers.DocumentBuilderFactory; +import javax.xml.parsers.SAXParser; +import javax.xml.parsers.SAXParserFactory; +import javax.xml.transform.OutputKeys; +import javax.xml.transform.Transformer; +import javax.xml.transform.TransformerFactory; +import javax.xml.transform.dom.DOMSource; +import javax.xml.transform.stream.StreamResult; + +import org.compiere.Adempiere; +import org.compiere.model.MLanguage; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.Env; +import org.compiere.util.Language; +import org.compiere.util.Login; +import org.compiere.util.Msg; +import org.w3c.dom.Document; +import org.w3c.dom.Element; /** diff --git a/client/src/org/compiere/install/TranslationDialog.java b/client/src/org/compiere/install/TranslationDialog.java index cefcdacb83..06310d0423 100644 --- a/client/src/org/compiere/install/TranslationDialog.java +++ b/client/src/org/compiere/install/TranslationDialog.java @@ -16,16 +16,36 @@ *****************************************************************************/ package org.compiere.install; -import java.awt.*; -import java.awt.event.*; -import java.io.*; -import java.sql.*; -import javax.swing.*; -import org.compiere.apps.*; -import org.compiere.apps.form.*; -import org.compiere.swing.*; -import java.util.logging.*; -import org.compiere.util.*; +import java.awt.BorderLayout; +import java.awt.Cursor; +import java.awt.GridBagConstraints; +import java.awt.GridBagLayout; +import java.awt.Insets; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.io.File; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.util.logging.Level; + +import javax.swing.JButton; +import javax.swing.JComboBox; +import javax.swing.JFileChooser; +import javax.swing.JLabel; + +import org.compiere.apps.ADialog; +import org.compiere.apps.StatusBar; +import org.compiere.apps.form.FormFrame; +import org.compiere.apps.form.FormPanel; +import org.compiere.swing.CPanel; +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; +import org.compiere.util.ValueNamePair; /** * Translation Dialog Import + Export. diff --git a/client/src/org/compiere/install/TranslationHandler.java b/client/src/org/compiere/install/TranslationHandler.java index b1b17c88ee..83e8d4ab70 100644 --- a/client/src/org/compiere/install/TranslationHandler.java +++ b/client/src/org/compiere/install/TranslationHandler.java @@ -16,10 +16,15 @@ *****************************************************************************/ package org.compiere.install; -import java.sql.*; -import org.compiere.util.*; -import org.xml.sax.*; -import org.xml.sax.helpers.*; +import java.sql.Timestamp; + +import org.compiere.util.CLogMgt; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.Language; +import org.xml.sax.Attributes; +import org.xml.sax.SAXException; +import org.xml.sax.helpers.DefaultHandler; /** * SAX Handler for parsing Translation