From 656416c6a1d1e9919270dee485b5e35e24504b9e Mon Sep 17 00:00:00 2001 From: 7u83 <7u83@mail.ru> Date: Sun, 16 Apr 2017 08:08:23 +0200 Subject: [PATCH] removed unused files --- nbproject/private/private.xml | 3 +- nbproject/project.properties | 2 +- src/gui/ZZZ.form | 35 -------- src/gui/ZZZ.java | 111 ------------------------- src/gui/test.java | 152 ---------------------------------- 5 files changed, 2 insertions(+), 301 deletions(-) delete mode 100644 src/gui/ZZZ.form delete mode 100644 src/gui/ZZZ.java delete mode 100644 src/gui/test.java diff --git a/nbproject/private/private.xml b/nbproject/private/private.xml index 589f3c7..ee8f023 100644 --- a/nbproject/private/private.xml +++ b/nbproject/private/private.xml @@ -5,10 +5,9 @@ file:/home/tobias/NetBeansProjects/SeSim/src/sesim/AutoTraderGui.java file:/home/tobias/NetBeansProjects/SeSim/src/sesim/AutoTraderLoader.java - file:/home/tobias/NetBeansProjects/SeSim/src/gui/Globals.java file:/home/tobias/NetBeansProjects/SeSim/src/gui/LoggerDialog.java + file:/home/tobias/NetBeansProjects/SeSim/src/gui/Globals.java file:/home/tobias/NetBeansProjects/SeSim/src/chart/Chart.java - file:/home/tobias/NetBeansProjects/SeSim/src/gui/NewMDIApplication.java diff --git a/nbproject/project.properties b/nbproject/project.properties index 3c24412..1661fa6 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -1,4 +1,4 @@ -#Thu, 13 Apr 2017 20:27:39 +0200 +#Sun, 16 Apr 2017 08:07:50 +0200 annotation.processing.enabled=true annotation.processing.enabled.in.editor=false annotation.processing.processors.list= diff --git a/src/gui/ZZZ.form b/src/gui/ZZZ.form deleted file mode 100644 index 05d9eba..0000000 --- a/src/gui/ZZZ.form +++ /dev/null @@ -1,35 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/src/gui/ZZZ.java b/src/gui/ZZZ.java deleted file mode 100644 index 3c0968f..0000000 --- a/src/gui/ZZZ.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Copyright (c) 2017, tobias - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ -package gui; - -/** - * - * @author tobias - */ -public class ZZZ extends EscDialog { - - /** - * Creates new form ZZZ - */ - public ZZZ(java.awt.Frame parent, boolean modal) { - super(parent, modal); - initComponents(); - } - - /** - * This method is called from within the constructor to initialize the form. - * WARNING: Do NOT modify this code. The content of this method is always - * regenerated by the Form Editor. - */ - @SuppressWarnings("unchecked") - // //GEN-BEGIN:initComponents - private void initComponents() { - - setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); - - javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); - getContentPane().setLayout(layout); - layout.setHorizontalGroup( - layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addGap(0, 400, Short.MAX_VALUE) - ); - layout.setVerticalGroup( - layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addGap(0, 300, Short.MAX_VALUE) - ); - - pack(); - }// //GEN-END:initComponents - - /** - * @param args the command line arguments - */ - public static void main(String args[]) { - /* Set the Nimbus look and feel */ - // - /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. - * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html - */ - try { - for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { - if ("Nimbus".equals(info.getName())) { - javax.swing.UIManager.setLookAndFeel(info.getClassName()); - break; - } - } - } catch (ClassNotFoundException ex) { - java.util.logging.Logger.getLogger(ZZZ.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); - } catch (InstantiationException ex) { - java.util.logging.Logger.getLogger(ZZZ.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); - } catch (IllegalAccessException ex) { - java.util.logging.Logger.getLogger(ZZZ.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); - } catch (javax.swing.UnsupportedLookAndFeelException ex) { - java.util.logging.Logger.getLogger(ZZZ.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); - } - // - - /* Create and display the dialog */ - java.awt.EventQueue.invokeLater(new Runnable() { - public void run() { - ZZZ dialog = new ZZZ(new javax.swing.JFrame(), true); - dialog.addWindowListener(new java.awt.event.WindowAdapter() { - @Override - public void windowClosing(java.awt.event.WindowEvent e) { - System.exit(0); - } - }); - dialog.setVisible(true); - } - }); - } - - // Variables declaration - do not modify//GEN-BEGIN:variables - // End of variables declaration//GEN-END:variables -} diff --git a/src/gui/test.java b/src/gui/test.java deleted file mode 100644 index 16a3861..0000000 --- a/src/gui/test.java +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Copyright (c) 2017, tobias - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, this - * list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ -package gui; - -import java.util.*; - -/** - * - * @author tobias - */ -public class test { - - static class Problem { - - class Elem implements Comparable { - - public int id; - - public Elem(int id) { - this.id = id; - - } - - @Override - public int compareTo(Object o) { - Elem e = (Elem) o; - return id - e.id; - - } - - } - - public void run() { - SortedSet s = new TreeSet<>(); - s.add(new Elem(1)); - s.add(new Elem(7)); - s.add(new Elem(12)); - Elem e = new Elem(5); - - SortedSet ts = exclusiveTailSet(s, e); - - Elem e2 = new Elem(0); - -// SortedSet ts2 = exclusiveTailSet(ts,e); - SortedSet ts2 = ts.tailSet(e2); - - e.id = 99; - - System.out.print(String.format("First: %s\n", ts.first().id)); - } - - } - - - static class NoProblem { - public void run(){ - SortedSet s=new TreeSet<>(); - - s.add(10); - s.add(20); - s.add(30); - s.add(40); - s.add(50); - s.add(60); - - int e1 = 15; - SortedSet l1 = s.tailSet(e1); - - int e2 = -1; - - SortedSet l2 = l1.tailSet(e2); - - System.out.print("First:"+l2.first()+"\n"); - - - - } - } - - public static SortedSet exclusiveTailSet(SortedSet ts, Ta elem) { - Iterator iter = ts.tailSet(elem).iterator(); - - return ts.tailSet(iter.next()); - } - - - static abstract interface Rc { - public abstract int inc(int x); - // public abstract int dec(int x); - - - - } - - - - public static void main(String args[]) { -// NoProblem p = new NoProblem(); -// p.run(); - - Rc a = new Rc(){ - @Override - public int inc(int x) { - return x+1; - } - - /* @Override - public int dec(int x) { - return x+1; - } -*/ - - }; - - - Rc l = (x) -> x+1; - - - System.out.print("A:" - +a.inc(17) - +" " - +l.inc(4) - - ); - - - - } -}