From 5e19703e8453239e025797a0ac09242beae9fe9f Mon Sep 17 00:00:00 2001
From: 7u83 <7u83@maiol.ru>
Date: Sun, 6 Aug 2017 13:12:25 +0200
Subject: [PATCH] Some code cleaning
---
nbproject/private/private.xml | 52 ++++++++++++++++++++++++-----------
nbproject/project.properties | 2 +-
src/gui/MainChart.java | 23 +---------------
3 files changed, 38 insertions(+), 39 deletions(-)
diff --git a/nbproject/private/private.xml b/nbproject/private/private.xml
index 68c1448..b83f0e6 100644
--- a/nbproject/private/private.xml
+++ b/nbproject/private/private.xml
@@ -3,22 +3,42 @@
- file:/home/tobias/NetBeansProjects/SeSim/src/sesim/AutoTraderGui.java
- file:/home/tobias/NetBeansProjects/SeSim/src/gui/EditAutoTraderListDialog.java
- file:/home/tobias/NetBeansProjects/SeSim/src/sesim/Scheduler.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/OrderBookPanel_old.java
- file:/home/tobias/NetBeansProjects/SeSim/src/gui/OrderBook.java
- file:/home/tobias/NetBeansProjects/SeSim/src/gui/Clock.java
- file:/home/tobias/NetBeansProjects/SeSim/src/sesim/AutoTraderLoader.java
- file:/home/tobias/NetBeansProjects/SeSim/src/gui/BidBook.java
- file:/home/tobias/NetBeansProjects/SeSim/src/gui/SeSimApplication.java
- file:/home/tobias/NetBeansProjects/SeSim/src/sesim/Exchange.java
- file:/home/tobias/NetBeansProjects/SeSim/build.xml
- file:/home/tobias/NetBeansProjects/SeSim/src/chart/Chart.java
- file:/home/tobias/NetBeansProjects/SeSim/src/gui/Statistics.java
- file:/home/tobias/NetBeansProjects/SeSim/src/gui/EditAutoTraderList.java
+ file:/home/tube/NetBeansProjects/SeSim/src/traders/RandomTraderA.java
+ file:/home/tube/NetBeansProjects/SeSim/test/sesim/Test.java
+ file:/home/tube/NetBeansProjects/SeSim/src/gui/StatisticsPanel.java
+ file:/home/tube/NetBeansProjects/SeSim/src/gui/tools/NummericCellRenderer.java
+ file:/home/tube/NetBeansProjects/SeSim/src/sesim/AutoTraderInterface.java
+ file:/home/tube/NetBeansProjects/SeSim/src/traders/ManTrader/ManTraderConsoleDialog.java
+ file:/home/tube/NetBeansProjects/SeSim/src/sesim/AutoTraderLoader.java
+ file:/home/tube/NetBeansProjects/SeSim/src/traders/ManTrader/ManTrader.java
+ file:/home/tube/NetBeansProjects/SeSim/src/gui/SeSimApplication.java
+ file:/home/tube/NetBeansProjects/SeSim/src/gui/Globals.java
+ file:/home/tube/NetBeansProjects/SeSim/src/traders/RandomTraderB.java
+ file:/home/tube/NetBeansProjects/SeSim/src/sesim/Logger.java
+ file:/home/tube/NetBeansProjects/SeSim/src/gui/EditPreferencesDialog.java
+ file:/home/tube/NetBeansProjects/SeSim/src/gui/QuotePanel.java
+ file:/home/tube/NetBeansProjects/SeSim/src/sesim/AutoTraderBase.java
+ file:/home/tube/NetBeansProjects/SeSim/src/gui/Statistics.java
+ file:/home/tube/NetBeansProjects/SeSim/src/gui/EditStrategies.java
+ file:/home/tube/NetBeansProjects/SeSim/src/gui/MainChart.java
+ file:/home/tube/NetBeansProjects/SeSim/src/chart/Chart.java
+ file:/home/tube/NetBeansProjects/SeSim/src/sesim/OHLCData.java
+ file:/home/tube/NetBeansProjects/SeSim/src/resources/files/defaultcfg.json
+ file:/home/tube/NetBeansProjects/SeSim/src/sesim/MinMax.java
+ file:/home/tube/NetBeansProjects/SeSim/build.xml
+ file:/home/tube/NetBeansProjects/SeSim/src/sesim/Exchange.java
+ file:/home/tube/NetBeansProjects/SeSim/src/sesim/AutoTraderGui.java
+ file:/home/tube/NetBeansProjects/SeSim/src/gui/orderbook/OrderBook.java
+ file:/home/tube/NetBeansProjects/SeSim/src/gui/TraderListDialog.java
+ file:/home/tube/NetBeansProjects/SeSim/src/gui/AboutDialog.java
+ file:/home/tube/NetBeansProjects/SeSim/src/gui/OpenOrdersList.java
+ file:/home/tube/NetBeansProjects/SeSim/src/gui/BidBook.java
+ file:/home/tube/NetBeansProjects/SeSim/src/gui/EditAutoTraderList.java
+ file:/home/tube/NetBeansProjects/SeSim/src/sesim/Scheduler.java
+ file:/home/tube/NetBeansProjects/SeSim/src/gui/AskBook.java
+ file:/home/tube/NetBeansProjects/SeSim/src/gui/TraderListPanel.java
+ file:/home/tube/NetBeansProjects/SeSim/nbproject/jnlp-impl.xml
+ file:/home/tube/NetBeansProjects/SeSim/README.md
diff --git a/nbproject/project.properties b/nbproject/project.properties
index c304e06..8967fbc 100644
--- a/nbproject/project.properties
+++ b/nbproject/project.properties
@@ -1,4 +1,4 @@
-#Tue, 18 Apr 2017 08:01:58 +0200
+#Sun, 06 Aug 2017 13:02:54 +0200
annotation.processing.enabled=true
annotation.processing.enabled.in.editor=false
annotation.processing.processors.list=
diff --git a/src/gui/MainChart.java b/src/gui/MainChart.java
index 3182694..ad7168a 100644
--- a/src/gui/MainChart.java
+++ b/src/gui/MainChart.java
@@ -140,27 +140,6 @@ setCursor(new MyCursor(Cursor.CROSSHAIR_CURSOR));
private ChartType chart_type=ChartType.CANDLESTICK;
-/*
- void setType(){
- for (int i = 0; i < this.typeMenu.getItemCount(); i++) {
- JRadioButtonMenuItem item = (JRadioButtonMenuItem) compMenu.getItem(i);
- if (item.isSelected()) {
- if ("LINE".equals(item.getActionCommand())){
- chart_type=ChartType.LINE;
- }
- if ("CNADLESTICK".equals(item.getActionCommand())){
- chart_type=ChartType.CANDLESTICK;
- }
-
-
- }
- }
- doRedraw();
- }
- */
-
- // boolean log = false;
-
protected void doRedraw() {
// log = this.logMenu.isSelected();
javax.swing.SwingUtilities.invokeLater(() -> {
@@ -342,7 +321,7 @@ setCursor(new MyCursor(Cursor.CROSSHAIR_CURSOR));
}//GEN-LAST:event_lineTypeItemItemStateChanged
private void formMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_formMouseMoved
- System.out.printf("Mouse moved %d\n", evt.getLocationOnScreen().x);
+ // System.out.printf("Mouse moved %d\n", evt.getLocationOnScreen().x);
this.doRedraw();
}//GEN-LAST:event_formMouseMoved