Soporte a fecha iniciado
This commit is contained in:
@@ -1,12 +1,20 @@
|
||||
package VistaControlador;
|
||||
|
||||
import java.awt.Frame;
|
||||
import java.awt.GridBagConstraints;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
|
||||
import javax.swing.JFrame;
|
||||
|
||||
import org.jfree.chart.ChartFactory;
|
||||
import org.jfree.chart.ChartFrame;
|
||||
import org.jfree.chart.JFreeChart;
|
||||
import org.jfree.data.xy.XYSeries;
|
||||
import org.jfree.data.xy.XYSeriesCollection;
|
||||
|
||||
import com.github.lgooddatepicker.components.DatePicker;
|
||||
import com.github.lgooddatepicker.zinternaltools.DemoPanel;
|
||||
public class ControladorPanelLateral implements ActionListener{
|
||||
private VistaPanelLateral vista;
|
||||
|
||||
@@ -27,17 +35,18 @@ public class ControladorPanelLateral implements ActionListener{
|
||||
ChartFrame frame=new ChartFrame("Estadisricas", chart);
|
||||
frame.setVisible(true);
|
||||
frame.setSize(700,500);
|
||||
}else if(e.getActionCommand().equals(this.vista.elegirMes.getActionCommand())){
|
||||
|
||||
}
|
||||
//}else if(e.getActionCommand().equals(this.vista.elegirMes.getActionCommand())){
|
||||
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
private void aniadirElementos() {
|
||||
this.vista.mostrarEstadisticas.addActionListener(this);
|
||||
this.vista.mostrarEstadisticas.setActionCommand("Mostrar estadisticas");
|
||||
this.vista.elegirMes.addActionListener(this);
|
||||
this.vista.elegirMes.setActionCommand("Elegir mes");
|
||||
//this.vista.elegirMes.addActionListener(this);
|
||||
//this.vista.elegirMes.setActionCommand("Elegir mes");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user