Skip to content

Commit

Permalink
Creado paquete de controladores
Browse files Browse the repository at this point in the history
  • Loading branch information
joarobles committed Jan 6, 2017
1 parent 85f15d8 commit cb10957
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ javadoc.splitindex=true
javadoc.use=true
javadoc.version=false
javadoc.windowtitle=
main.class=poo.pizzeria.ui.Main
main.class=poo.pizzeria.controller.Main
manifest.file=manifest.mf
meta.inf.dir=${src.dir}/META-INF
mkdist.disabled=false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package poo.pizzeria.ui;
package poo.pizzeria.controller;

import java.util.Calendar;
import java.util.Date;
Expand All @@ -28,6 +28,8 @@
import poo.pizzeria.dao.VariedadesDao;
import poo.pizzeria.dao.VariedadesDaoImpl;
import poo.pizzeria.dao.EstadosPedidoDao;
import poo.pizzeria.ui.ImpresorFactura;
import poo.pizzeria.ui.PantallaFacturacion;

/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package poo.pizzeria.ui;
package poo.pizzeria.controller;

/**
*
Expand Down
2 changes: 1 addition & 1 deletion src/poo/pizzeria/ui/ImpresorFactura.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class ImpresorFactura extends javax.swing.JFrame {
private final SimpleDateFormat formatoFecha;
private final SimpleDateFormat formatoHora;

ImpresorFactura(Pedido pedido) {
public ImpresorFactura(Pedido pedido) {
this.pedido = pedido;
this.formatoHora = new SimpleDateFormat("HH:mm");
this.formatoFecha = new SimpleDateFormat("dd/MM/yyyy");
Expand Down
1 change: 1 addition & 0 deletions src/poo/pizzeria/ui/PantallaFacturaGenerada.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/
package poo.pizzeria.ui;

import poo.pizzeria.controller.GestorFacturacion;
import poo.pizzeria.Pedido;

/**
Expand Down
1 change: 1 addition & 0 deletions src/poo/pizzeria/ui/PantallaFacturacion.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*/
package poo.pizzeria.ui;

import poo.pizzeria.controller.GestorFacturacion;
import java.awt.event.WindowEvent;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
Expand Down

0 comments on commit cb10957

Please sign in to comment.