code stringlengths 3 1.18M | language stringclasses 1
value |
|---|---|
package br.ufrgs.engsoft.ejb;
import java.util.HashMap;
import javax.ejb.Singleton;
import br.ufrgs.engsoft.ejb.local.DatabaseEJBLocal;
import br.ufrgs.engsoft.entity.Autor;
import br.ufrgs.engsoft.entity.Referencia;
/**
* Implementacao do bean de sessao Singleton.
* Usado para simular um banco de dados.
*/
@Sin... | Java |
package br.ufrgs.engsoft.ejb;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import javax.ejb.EJB;
import javax.ejb.EJBException;
import javax.ejb.Stateless;
import br.ufrgs.engsoft.ejb.local.DatabaseEJBLocal;
import br.ufrgs.engsoft.ejb.remote.AutorEJBRemote;
import br.ufrgs.... | Java |
package br.ufrgs.engsoft.servlet;
import java.io.IOException;
import java.util.HashMap;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import br.ufrg... | Java |
package br.ufrgs.engsoft.ui;
import java.util.HashMap;
import javax.servlet.http.HttpServletRequest;
import br.ufrgs.engsoft.util.HtmlParameterEnum;
/**
* Controlador de erro.
*/
public class DefaultController implements Controller {
/*
* (non-Javadoc)
* @see br.ufrgs.engsoft.ui.Controller#processaAcao(javax... | Java |
package br.ufrgs.engsoft.ui;
import java.util.Collection;
import java.util.HashMap;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.servlet.http.HttpServletRequest;
import br.ufrgs.engsoft.ejb.remote.AutorEJBRemote;
import br.ufrgs.engsoft.ejb.remote.ReferenciaEJBRemote;
import ... | Java |
package br.ufrgs.engsoft.ui;
import java.util.HashMap;
import javax.naming.NamingException;
import javax.servlet.http.HttpServletRequest;
import br.ufrgs.engsoft.util.HtmlParameterEnum;
/**
* Interface que padroniza os controladores da aplicacao.
*/
public interface Controller {
/**
* Retorna os parametros que... | Java |
package br.ufrgs.engsoft.ui;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.servlet.http.HttpServletRequest;
import br.ufrgs.engsoft.ejb.remote.ReferenciaEJBRemote;
import... | Java |
package br.ufrgs.engsoft.rest;
import java.net.URI;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import jav... | Java |
package br.ufrgs.engsoft.rest;
import java.util.ArrayList;
import java.util.List;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import br.ufrgs.engsoft.ejb.remote.AutorEJBRemote;
impo... | Java |
package br.ufrgs.engsoft.util;
import javax.servlet.http.HttpServletRequest;
import br.ufrgs.engsoft.entity.Autor;
import br.ufrgs.engsoft.entity.Referencia;
public class EntityUtil {
private EntityUtil() {}
public static Referencia getReferenciaFromRequest(HttpServletRequest request) {
Referencia referencia = ... | Java |
package br.ufrgs.engsoft.util;
/**
* Classe Enumerator usada para padronizar os parametros do HTML.
*/
public enum HtmlParameterEnum {
// Entidade Autor
AUTOR_ID,
AUTOR_NOME,
AUTOR_SOBRENOME,
AUTOR_NOME_E_SOBRENOME,
AUTOR_LISTA,
// Entidade Referencia
REFERENCIA_ID,
REFERENCIA_TITULO,
REFERENCIA_ANO_PUBL... | Java |
package br.ufrgs.engsoft.util;
import br.ufrgs.engsoft.ui.Controller;
import br.ufrgs.engsoft.ui.DefaultController;
import br.ufrgs.engsoft.ui.IncluirReferenciaController;
import br.ufrgs.engsoft.ui.ListarReferenciaController;
/**
* Classe Enumerator usada para padronizar a identificacao das paginas HTML.
*/
public... | Java |
package br.ufrgs.engsoft.util;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.net.URL;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import br.ufrgs.engsoft.entity.Autor;
import br.ufrgs.engsoft.entity.Referencia;
/**
* Classe ut... | Java |
package data;
public class Data implements IData {
private int[] operatorID;
private String[] operatorPassword;
public Data() {
// Testdata
operatorID = new int[]{11,12,13,14,15};
operatorPassword = new String[]{"opr11", "opr12", "opr13", "opr14", "opr15"};
}
/* (non-Javadoc)
* @see src.IData#getOpr... | Java |
package data;
public interface IData {
public abstract int[] getOprID();
public abstract String[] getOprPassword();
} | Java |
package functionality;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.concurrent.locks.Lock;
public interface ITransmitter {
public abstract boolean rm20(PrintWriter out, BufferedReader in, String n,
String prompt1, String prompt2, String prompt3) throws I... | Java |
package functionality;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Scanner;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import data.Data;
import data.IData;
public class Transmitter implements ITransmitter {
pr... | Java |
package src;
import java.util.Scanner;
import boundary.IMenu;
import boundary.Menu;
import controller.IMenuController;
import controller.MenuController;
import controller.OperatorLoginController;
import data.Data;
import data.IData;
import functionality.ITransmitter;
import functionality.Transmitter;
public class M... | Java |
package boundary;
import java.util.Scanner;
public class Menu implements IMenu {
private Scanner scanner;
public Menu(Scanner scanner){
this.scanner = scanner;
}
/* (non-Javadoc)
* @see src.IMenu#showMenu()
*/
@Override
public int showMenu(){
int choice;
System.out.println("Følgende muligheder er ... | Java |
package boundary;
public interface IMenu {
public abstract int showMenu();
public abstract void showMsg(String string);
public abstract String getText();
} | Java |
package controller;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.UnknownHostException;
import java.util.concurrent.locks.Lock;
import boundary.IMenu;
import data.IData;
import functionality.ITransmitter... | Java |
package controller;
public interface IOperatorLoginController {
public abstract void run();
} | Java |
package controller;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.UnknownHostException;
import java.util.concurrent.locks.Lock;
import data.IData;
import functionality.ITransmitter;
public class Operato... | Java |
package controller;
import java.io.IOException;
public interface IMenuController {
public abstract void run();
/**
* Connecter til Scale.exe og starter menuen (program())
* Kan modtage kommandoer fra konsol og sende disse til WeightConsole. Modtager svar og viser dette.
* @param args args[0] = host, args[1]... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
package edu.uci.ics.crawler4j.url;
import org.apache.commons.compress.archivers.zip.ZipArchiveEntry;
import org.apache.commons.compress.archivers.zip.ZipFile;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import ja... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* This class is adopted from Htmlunit with the following copyright:
*
* Copyright (c) 2002-2012 Gargoyle Software Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://ww... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
package edu.uci.ics.crawler4j.parser;
public class ExtractedUrlAnchorPair {
private String href;
private String anchor;
private String tag;
public String getHref() {
return href;
}
public void setHref(String href) {
this.href = href;
}
public String getAnchor() {
return anchor;
}
p... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
package edu.uci.ics.crawler4j.parser;
/**
* Created by Avi on 8/19/2014.
*
* This Exception will be thrown whenever the parser tries to parse not allowed content<br>
* For example when the parser tries to parse binary content although the user configured it not to do it
*/
public class NotAllowedContentException ... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
package edu.uci.ics.crawler4j.crawler.exceptions;
import uk.org.lidalia.slf4jext.Level;
/**
* Created by Avi Hayun on 12/8/2014.
*
* Occurs when the crawler encounters a Redirect problem, like redirecting to a visited-already page, or redirecting to nothing
*/
public class RedirectException extends Exception {
... | Java |
package edu.uci.ics.crawler4j.crawler.exceptions;
/**
* Created by Avi Hayun on 12/8/2014.
* Thrown when trying to fetch a page which is bigger than allowed size
*/
public class PageBiggerThanMaxSizeException extends Exception {
long pageSize;
public PageBiggerThanMaxSizeException(long pageSize) {
super("A... | Java |
package edu.uci.ics.crawler4j.crawler.exceptions;
/**
* Created by Avi Hayun on 12/8/2014.
*
* Thrown when there is a problem with the parsing of the content - this is a tagging exception
*/
public class ParseException extends Exception {
} | Java |
package edu.uci.ics.crawler4j.crawler.exceptions;
/**
* Created by Avi Hayun on 12/8/2014.
*
* Thrown when there is a problem with the content fetching - this is a tagging exception
*/
public class ContentFetchException extends Exception {
} | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
package edu.uci.ics.crawler4j.crawler.authentication;
import javax.swing.text.html.FormSubmitEvent.MethodType;
import java.net.MalformedURLException;
import java.net.URL;
/**
* Created by Avi Hayun on 11/23/2014.
*
* Abstract class containing authentication information needed to login into a user/password protecte... | Java |
package edu.uci.ics.crawler4j.crawler.authentication;
import javax.swing.text.html.FormSubmitEvent.MethodType;
import java.net.MalformedURLException;
/**
* Created by Avi Hayun on 11/25/2014.
*
* BasicAuthInfo contains the authentication information needed for BASIC authentication (extending AuthInfo which has all... | Java |
package edu.uci.ics.crawler4j.crawler.authentication;
import javax.swing.text.html.FormSubmitEvent.MethodType;
import java.net.MalformedURLException;
/**
* Created by Avi Hayun on 11/25/2014.
*
* FormAuthInfo contains the authentication information needed for FORM authentication (extending AuthInfo which has all c... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
package edu.uci.ics.crawler4j.util;
import edu.uci.ics.crawler4j.url.WebURL;
import java.util.HashSet;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Created by Avi Hayun on 9/22/2014.
* Net related Utils
*/
public class Net {
private static Pattern pattern = initial... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Java |
package controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.JFrame;
import javax.swing.table.AbstractTableModel;
import modelo.Datos;
import modelo.Ingrediente;
import modelo.Producto;
import vista.DlgListadoIngredientes;
import java.u... | Java |
package controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.JFrame;
import javax.swing.table.AbstractTableModel;
import modelo.Categoria;
import modelo.Datos;
import vista.DlgActualizarCategorias;
public class ContActualizarCategoria ... | Java |
package controlador;
import java.awt.Dialog.ModalityType;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JFrame;
import javax.swing.table.AbstractTableModel;
import mod... | Java |
package controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import javax.swing.JFrame;
import javax.swing.table.AbstractTableModel;
import modelo.Datos;
import modelo.DetalleOrden;
import modelo.Produc... | Java |
package controlador;
import java.awt.Dialog.ModalityType;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JDialog;
import modelo.Categoria;
import modelo.Datos;
import vista.DlgCategoria;
public class ContCategoria {
private DlgCategoria dlg = null;
private Catego... | Java |
package controlador;
import java.awt.Dialog.ModalityType;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.JFrame;
import javax.swing.table.AbstractTableModel;
import modelo.CompraDAO;
import modelo.Datos;
import modelo.Ingrediente;
import modelo... | Java |
package controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.JFrame;
import javax.swing.table.AbstractTableModel;
import modelo.Datos;
import modelo.Producto;
import vista.DlgActualizarProductos;
public class ContActual... | Java |
package controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.JFrame;
import javax.swing.table.AbstractTableModel;
import modelo.Datos;
import modelo.Ingrediente;
import vista.DlgActualizarIngredientes;
public class ContActualizarIngr... | Java |
package controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JFrame;
import vista.FrmPrincipal;
public class ContPrincipal {
private FrmPrincipal frm = null;
public ContPrincipal() {
}
public void mostrar(JFrame frame) {
frm =... | Java |
package controlador;
import java.awt.Dialog.ModalityType;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.JFrame;
import javax.swing.table.AbstractTableModel;
import modelo.*;
import vista.DlgOrden;
public class ContOrden... | Java |
package controlador;
import java.awt.Dialog.ModalityType;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.JFrame;
import javax.swing.table.AbstractTableModel;
import modelo.Datos;
import modelo.Ingrediente;
import vista.DlgSelecIngre;
public ... | Java |
package controlador;
import java.awt.Dialog.ModalityType;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JDialog;
import modelo.Datos;
import modelo.Ingrediente;
import vista.DlgIngrediente;
public class ContIngrediente {
private DlgIngrediente dlg = null;
private In... | Java |
package controlador;
import java.awt.Dialog.ModalityType;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.JDialog;
import javax.swing.table.AbstractTableModel;
import modelo.Datos;
import modelo.Producto;
import vista.DlgSelecProduct... | Java |
package vista;
import java.awt.BorderLayout;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import controlador.ContActualizarCategoria;
/**
* This code was edited or generated using CloudGa... | Java |
package vista;
import java.awt.BorderLayout;
import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JScrollP... | Java |
package vista;
import java.awt.BorderLayout;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.SwingUtilities;
import java... | Java |
package vista;
import java.awt.BorderLayout;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.SwingUtilities;
import javax.swing.table.DefaultTableModel;
import javax.swing.tab... | Java |
package vista;
import java.awt.BorderLayout;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.SwingUtilities;
import controlador.ContCategoria;
impo... | Java |
package vista;
import java.awt.BorderLayout;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JTable;
import javax.swing.JTextField;
import j... | Java |
package vista;
import java.awt.BorderLayout;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.table.DefaultTableMod... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.