diff --git a/TSVizzEvolution/src/tsvizzevolution/GraphView.java b/TSVizzEvolution/src/tsvizzevolution/GraphView.java index 5ee92e8..2424973 100644 --- a/TSVizzEvolution/src/tsvizzevolution/GraphView.java +++ b/TSVizzEvolution/src/tsvizzevolution/GraphView.java @@ -21,27 +21,16 @@ import java.util.logging.Level; import java.util.logging.Logger; -public class GraphView extends JFrame implements WindowListener{ +public class GraphView { /** * */ private static final long serialVersionUID = 1L; public JProgressBar progress; - - public GraphView () { - } public Thread progressoT = new Thread() { @Override public void run(){ -// addWindowListener(new WindowAdapter() { -// -// @Override -// public void windowClosing(WindowEvent e) { -// OneVersion.frame.setVisible(true); -// } -// -// }); progress.setValue(0); for (int i = 0; i <= 50; i++) { progress.setValue(i); @@ -767,45 +756,4 @@ public void setVisible(boolean b) { // TODO Auto-generated method stub } - - @Override - public void windowOpened(WindowEvent e) { - // TODO Auto-generated method stub - - } - - @Override - public void windowClosing(WindowEvent e) { - OneVersion.frame.setVisible(true); - } - - @Override - public void windowClosed(WindowEvent e) { - // TODO Auto-generated method stub - - } - - @Override - public void windowIconified(WindowEvent e) { - // TODO Auto-generated method stub - - } - - @Override - public void windowDeiconified(WindowEvent e) { - // TODO Auto-generated method stub - - } - - @Override - public void windowActivated(WindowEvent e) { - // TODO Auto-generated method stub - - } - - @Override - public void windowDeactivated(WindowEvent e) { - // TODO Auto-generated method stub - - } } diff --git a/TSVizzEvolution/src/tsvizzevolution/OneVersion.java b/TSVizzEvolution/src/tsvizzevolution/OneVersion.java index 32955ad..1bcc8ca 100644 --- a/TSVizzEvolution/src/tsvizzevolution/OneVersion.java +++ b/TSVizzEvolution/src/tsvizzevolution/OneVersion.java @@ -359,10 +359,9 @@ public void btnGerarGrafoActionPerformed(java.awt.event.ActionEvent evt) { pnlProgress.setVisible(true); GraphView c = new GraphView(); c.iniciaProcessamento(txtFilePathDefault1.getText(),progress,pnlProgress,cbLevel,cbClass,cbTestSmells,cbAuthor,cbSelectMethod); - setVisible(false); + //setVisible(false); //dispose(); - - + } public static List retornaDados(String file, String filtro) {