summaryrefslogtreecommitdiff
path: root/AnaExp.java
diff options
Diffstat (limited to 'AnaExp.java')
-rw-r--r--AnaExp.java40
1 files changed, 28 insertions, 12 deletions
diff --git a/AnaExp.java b/AnaExp.java
index b4c43fd..ab47dfa 100644
--- a/AnaExp.java
+++ b/AnaExp.java
@@ -1,32 +1,45 @@
-/*
+/*
* AnaExp.java - exports patient data to CSV file
- *
+ *
* Copyright (c) 2025 Stefano Marchetti
- *
+ *
* This file is part of Jedecma - breast ultrasound examinations archiving software
- *
+ *
* Jedecma is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
- *
+ *
* Jedecma is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with Jedecma. If not, see <http://www.gnu.org/licenses/>.
- *
+ *
*/
package jedecma;
-import java.awt.*;
-import java.awt.event.*;
-import javax.swing.*;
-import java.sql.*;
-import java.io.*;
+import java.awt.Container;
+import java.awt.FlowLayout;
+import java.awt.GridBagConstraints;
+import java.awt.GridBagLayout;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.awt.event.KeyEvent;
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+
+import javax.swing.BorderFactory;
+import javax.swing.JButton;
+import javax.swing.JOptionPane;
+import javax.swing.JPanel;
+
import au.com.bytecode.opencsv.CSVWriter;
public class AnaExp implements Menuable {
@@ -40,6 +53,7 @@ public class AnaExp implements Menuable {
public AnaExp() {
}
+ @Override
public void start() {
doGui(Jedecma.mainPan);
@@ -56,6 +70,7 @@ public class AnaExp implements Menuable {
Jedecma.mf.setVisible(true);
}
+ @Override
public void stop() {
Jedecma.mainPan.remove(mainPan);
Jedecma.mf.repaint();
@@ -114,6 +129,7 @@ public class AnaExp implements Menuable {
}
class QryListener implements ActionListener {
+ @Override
public void actionPerformed(ActionEvent e) {
butPan.setEnabled(false);