From b9529e4f7e84c5b1db5bb5fe13f84bd57c20ff22 Mon Sep 17 00:00:00 2001 From: "f.disciascio" Date: Tue, 26 Mar 2024 16:01:29 +0100 Subject: [PATCH] rimozione import non utilizzati --- src/SmartCard/SmartCard.java | 2 -- src/puntocassa/JInternalReport.java | 7 ------- src/puntocassa/MyApplication.java | 3 --- src/puntocassa/MyDialog.java | 3 --- src/puntocassa/MyKeyBoard.java | 1 - src/puntocassa/MyTableModel.java | 2 -- src/puntocassa/PuntoCassa.java | 20 -------------------- src/puntocassa/frmCerca.java | 1 - src/puntocassa/frmMeteo.java | 4 ---- src/puntocassa/frmMovimenti.java | 3 --- src/puntocassa/frmProgress.java | 19 ------------------- src/puntocassa/frmStorno.java | 3 --- 12 files changed, 68 deletions(-) diff --git a/src/SmartCard/SmartCard.java b/src/SmartCard/SmartCard.java index a8d4c8e..5352182 100644 --- a/src/SmartCard/SmartCard.java +++ b/src/SmartCard/SmartCard.java @@ -7,8 +7,6 @@ import javax.smartcardio.Card; import javax.smartcardio.CardChannel; import javax.smartcardio.CardException; import javax.smartcardio.CardTerminal; -import javax.smartcardio.CommandAPDU; -import javax.smartcardio.ResponseAPDU; import javax.smartcardio.TerminalFactory; /** diff --git a/src/puntocassa/JInternalReport.java b/src/puntocassa/JInternalReport.java index e994b15..0448485 100644 --- a/src/puntocassa/JInternalReport.java +++ b/src/puntocassa/JInternalReport.java @@ -8,17 +8,10 @@ package puntocassa; import static net.sf.dynamicreports.report.builder.DynamicReports.*; import java.awt.Color; import java.awt.Cursor; -import java.math.BigDecimal; import java.util.ArrayList; -import java.util.List; -import net.sf.dynamicreports.examples.complex.dynamicreport.DynamicColumn; import net.sf.dynamicreports.jasper.builder.JasperReportBuilder; import net.sf.dynamicreports.jasper.constant.JasperProperty; -import net.sf.dynamicreports.report.builder.column.ColumnBuilder; -import net.sf.dynamicreports.report.builder.column.PercentageColumnBuilder; import net.sf.dynamicreports.report.builder.column.TextColumnBuilder; -import net.sf.dynamicreports.report.builder.group.GroupBuilders; -import net.sf.dynamicreports.report.builder.style.ReportStyleBuilder; import net.sf.dynamicreports.report.builder.style.StyleBuilder; import net.sf.dynamicreports.report.builder.subtotal.AggregationSubtotalBuilder; import net.sf.dynamicreports.report.constant.HorizontalAlignment; diff --git a/src/puntocassa/MyApplication.java b/src/puntocassa/MyApplication.java index 04014a3..c5eee65 100644 --- a/src/puntocassa/MyApplication.java +++ b/src/puntocassa/MyApplication.java @@ -10,12 +10,9 @@ import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.text.DecimalFormat; -import java.util.ArrayList; -import java.util.Properties; import javax.smartcardio.CardException; import javax.smartcardio.CommandAPDU; import javax.smartcardio.ResponseAPDU; -import javax.swing.JComboBox; import javax.swing.JOptionPane; /* diff --git a/src/puntocassa/MyDialog.java b/src/puntocassa/MyDialog.java index 60393a1..0bd87b1 100644 --- a/src/puntocassa/MyDialog.java +++ b/src/puntocassa/MyDialog.java @@ -16,9 +16,6 @@ import java.sql.Statement; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JDialog; -import javax.swing.JLabel; -import javax.swing.JPanel; -import org.apache.poi.poifs.property.Parent; /** * diff --git a/src/puntocassa/MyKeyBoard.java b/src/puntocassa/MyKeyBoard.java index e8b0c21..1d31d30 100644 --- a/src/puntocassa/MyKeyBoard.java +++ b/src/puntocassa/MyKeyBoard.java @@ -6,7 +6,6 @@ package puntocassa; -import java.awt.Desktop; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; diff --git a/src/puntocassa/MyTableModel.java b/src/puntocassa/MyTableModel.java index 569cd7d..fa11388 100644 --- a/src/puntocassa/MyTableModel.java +++ b/src/puntocassa/MyTableModel.java @@ -1,8 +1,6 @@ package puntocassa; -import java.util.ArrayList; -import java.util.Vector; import javax.swing.table.AbstractTableModel; /* diff --git a/src/puntocassa/PuntoCassa.java b/src/puntocassa/PuntoCassa.java index 9781c35..586ab17 100644 --- a/src/puntocassa/PuntoCassa.java +++ b/src/puntocassa/PuntoCassa.java @@ -8,7 +8,6 @@ package puntocassa; //import java.beans.*; import java.awt.*; import java.awt.event.*; -import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; @@ -16,57 +15,38 @@ import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; -import java.net.MalformedURLException; import java.net.URL; import java.sql.*; import java.text.DecimalFormat; import java.text.ParseException; import java.text.SimpleDateFormat; -import java.util.Arrays; import java.util.Calendar; import java.util.Date; import java.util.Locale; -import java.util.Properties; import java.util.Timer; import java.util.TimerTask; -import java.util.logging.Level; -import java.util.logging.Logger; -import java.util.regex.Matcher; -import java.util.regex.Pattern; -import javax.swing.BorderFactory; -import javax.swing.ButtonModel; import javax.swing.DefaultComboBoxModel; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JComponent; import javax.swing.JFrame; -import javax.swing.JLabel; import javax.swing.JOptionPane; import javax.swing.JPanel; -import javax.swing.JRootPane; -import javax.swing.JTable; import javax.swing.JTextField; import javax.swing.JToggleButton; -import javax.swing.ListSelectionModel; import javax.swing.SwingConstants; import javax.swing.SwingUtilities; import javax.swing.UIManager; -import javax.swing.event.DocumentEvent; -import javax.swing.event.DocumentListener; import javax.swing.plaf.FontUIResource; -import javax.swing.table.DefaultTableModel; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import jssc.SerialPort; import jssc.SerialPortException; -import jxl.write.DateTime; -import oracle.jdbc.*; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; -import static puntocassa.MyApplication.path; //****************************************************************************** diff --git a/src/puntocassa/frmCerca.java b/src/puntocassa/frmCerca.java index 448f861..40faa0e 100644 --- a/src/puntocassa/frmCerca.java +++ b/src/puntocassa/frmCerca.java @@ -9,7 +9,6 @@ package puntocassa; import java.awt.Color; import java.awt.Font; import java.awt.Image; -import java.awt.KeyboardFocusManager; import java.awt.Rectangle; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; diff --git a/src/puntocassa/frmMeteo.java b/src/puntocassa/frmMeteo.java index 8ee4589..e0d6d2e 100644 --- a/src/puntocassa/frmMeteo.java +++ b/src/puntocassa/frmMeteo.java @@ -7,10 +7,7 @@ package puntocassa; import java.awt.Font; -import java.awt.KeyboardFocusManager; import java.awt.Rectangle; -import java.awt.event.MouseAdapter; -import java.awt.event.MouseEvent; import java.io.File; import java.sql.Connection; import java.sql.DriverManager; @@ -19,7 +16,6 @@ import java.sql.SQLException; import java.sql.Statement; import java.text.SimpleDateFormat; import java.util.Date; -import java.util.Properties; import javax.swing.ImageIcon; import javax.swing.JComboBox; import javax.swing.JOptionPane; diff --git a/src/puntocassa/frmMovimenti.java b/src/puntocassa/frmMovimenti.java index 3881ffc..3f66a46 100644 --- a/src/puntocassa/frmMovimenti.java +++ b/src/puntocassa/frmMovimenti.java @@ -8,10 +8,7 @@ package puntocassa; import java.awt.Font; import java.awt.Image; -import java.awt.KeyboardFocusManager; import java.awt.Rectangle; -import java.awt.event.MouseAdapter; -import java.awt.event.MouseEvent; import java.io.File; import java.sql.Connection; import java.sql.DriverManager; diff --git a/src/puntocassa/frmProgress.java b/src/puntocassa/frmProgress.java index 9734297..48a2f00 100644 --- a/src/puntocassa/frmProgress.java +++ b/src/puntocassa/frmProgress.java @@ -6,27 +6,8 @@ package puntocassa; -import java.awt.Font; -import java.awt.KeyboardFocusManager; -import java.awt.Rectangle; -import java.awt.event.MouseAdapter; -import java.awt.event.MouseEvent; import java.io.File; -import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; -import java.text.SimpleDateFormat; -import java.util.Date; -import java.util.Properties; import javax.swing.ImageIcon; -import javax.swing.JComboBox; -import javax.swing.JOptionPane; -import javax.swing.JTable; -import javax.swing.JTextField; -import javax.swing.ListSelectionModel; -import javax.swing.table.TableColumn; /** * diff --git a/src/puntocassa/frmStorno.java b/src/puntocassa/frmStorno.java index 74ff2b5..0306bba 100644 --- a/src/puntocassa/frmStorno.java +++ b/src/puntocassa/frmStorno.java @@ -8,10 +8,7 @@ package puntocassa; import java.awt.Font; import java.awt.Image; -import java.awt.KeyboardFocusManager; import java.awt.Rectangle; -import java.awt.event.MouseAdapter; -import java.awt.event.MouseEvent; import java.io.File; import java.sql.Connection; import java.sql.DriverManager;