text stringlengths 3 1.18M |
|---|
package model;
public class Winery extends Producer{
int currentProduction;
double acres;
String winemaker;
public Winery(String n) {
super(n);
}
}
|
package model;
import java.sql.*;
import java.util.Vector;
import javax.swing.table.*;
/**
*
* @author Steven
*
* Passes SQL statements to server: query, create, and delete.
* Creates DefaultTableModels for each graphic table for UI.
* Stores information about drink/producer currently being added to databas... |
package model;
import java.util.*;
public class Wine extends Drink{
int year;
boolean fruitWine;
ArrayList<String> pairings = new ArrayList<String>();
public Wine(String n) {
super(n);
}
}
|
package model;
public class Drink {
String name;
double price;
int numberDrank;
String info;
int proof;
public Drink(String n){
name = n;
}
}
|
package model;
public class Location {
int population;
String city;
String state;
String country;
public Location(String cty, String st, String cntry){
city = cty;
state = st;
country = cntry;
}
}
|
package model;
public class Distillery extends Producer{
String founder;
public Distillery(String n) {
super(n);
}
}
|
package model;
public class Liquor extends Drink{
String distilledFrom;
public Liquor(String n) {
super(n);
}
}
|
package model;
import java.util.*;
public class Beer extends Drink{
ArrayList<String> flavorings = new ArrayList<String>();
public Beer(String n) {
super(n);
}
}
|
package model;
public class Producer {
Location location;
String name;
int yearEstablished;
String website;
public Producer(String n){
name = n;
}
}
|
package Controlador;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.WindowEvent;
import java.io.FileNotFoundException;
import java.io.IOException;
import javax.swing.JOptionPan... |
package Controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JOptionPane;
import Modelo.Accion;
import Modelo.Compra;
import Modelo.Ingrediente;
import Vista.VistaCompra;
public class CntrlCompra implements ActionListener{
public VistaCompra vistaCo... |
package Controlador;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.WindowEvent;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Vector;
impor... |
package Controlador;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.WindowEvent;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Vector;
impor... |
package Controlador;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.WindowEvent;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Vector;
impor... |
package Controlador;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.WindowEvent;
import java.io.FileNotFoundException;
import java.io.IOException;
import javax.swing.JFrame;
imp... |
package Controlador;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.WindowEvent;
import java.io.FileNotFoundException;
import java.io.IOException;
import javax.swing.JOptionPan... |
package Vista;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import java.awt.GridLayout;
import java.util.Vector;
import javax.swing.DefaultListModel;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import ja... |
package Vista;
import java.awt.Window;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.WindowEvent;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import Controlador.CntrlM... |
package Vista;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import Controlador.CntrlCliente;
public class VistaCliente extends JFrame {
private static final long ... |
package Vista;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import javax.swing.JScrollPane;
import java.awt.GridLayout;
import java.util.Vector;
import javax.swing.DefaultListModel;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.J... |
package Vista;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import Controlador.CntrlCategoria;
import Controlador.CntrlIngrediente;
public class VistaIngrediente e... |
package Vista;
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import java.awt.GridLayout;
import java.util.Vector;
import javax.swing.DefaultListModel;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import ja... |
package Vista;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import Controlador.CntrlCategoria;
public class VistaCategoria extends JFrame {
private static final l... |
package Modelo;
import java.sql.*;
public class Conexion {
// La descripcion del driver de la BD
private static String driver = "org.postgresql.Driver";
// La direccion URL de la BD
private static String url = "jdbc:postgresql://localhost:5432/";
// El nombre de la BD
private static ... |
package Modelo;
public class IngredienteporProducto {
private String codproducto;
private String codingrediente;
private float cantidadIngrediente;
public IngredienteporProducto() {
super();
}
public IngredienteporProducto(String codproducto, String codingrediente,
float cantidadIngrediente) {
sup... |
package Modelo;
public class Producto {
private String codigoProducto;
private String categoria;
private String nombreProducto;
private float precio;
public Producto() {
super();
}
public Producto(String codigoProducto, String categoria,
String nombreProducto, float precio) {
super();
this.cod... |
package Modelo;
public class Compra {
private String codigoIngrediente;
private String nombreIngrediente;
private int cantidad;
public Compra() {
super();
}
public Compra(String codigoIngrediente, String nombreIngrediente, int cantidad) {
super();
this.codigoIngrediente = codigoIngred... |
/*package Modelo;
import javax.swing.table.AbstractTableModel;
import Vista.VistaPrincipal;
public class ModeloTabla extends AbstractTableModel {
private static final long serialVersionUID = 1L;
private VistaPrincipal vistaPrincipal;
Ingrediente ing=new Ingrediente();
final String []nombreCol={"Codigo","Nombre",... |
package Modelo;
public class Cliente {
private String cedula,nombre,apellido,telefono,direccion;
public Cliente() {
super();
}
public Cliente(String cedula, String nombre,String apellido, String telefono,
String direccion) {
super();
this.cedula = cedula;
this.nombre = nombre;
this.apellido =... |
package Modelo;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.Vector;
import Vista.VistaOrden;
public class Accion {
VistaOrden vistaorden;
public Accion() {
super();
}
//===============================CLIENTE======================... |
package Modelo;
public class Ingrediente {
private String codigoIngrediente;
private String nombreIngrediente;
private float cantidad;
public Ingrediente() {
super();
}
public Ingrediente(String codigoIngrediente, String nombreIngrediente, float cantidad) {
super();
this.codigoIngrediente = codigoIn... |
/*-
* Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without li... |
/*-
* Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without li... |
/*-
* Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without li... |
/*-
* Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without li... |
/*-
* Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without li... |
/*-
* Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without li... |
/*-
* Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without li... |
/*-
* Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without li... |
/*-
* Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without li... |
/*-
* Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without li... |
/*-
* Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without li... |
/*-
* Copyright (C) 2007 The Android Open Source Project
*
* 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/*-
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*-
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*-
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*-
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*-
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*-
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*-
* 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"); yo... |
/*-
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*-
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*-
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*-
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*-
* 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"); yo... |
/*-
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*-
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*-
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*-
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*-
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*-
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*-
* Copyright 2010 Google 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
package Controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import Controlador.IngredientesC;
import Controlador.CategoriaC;
import Controlador.CompraIngredientesC;
import Controlador.ProductoC;
import Controlador.OrdenC;
import Vista.Menu;
public class MenuC implements ActionListen... |
package Controlador;
public class Principal {
/**
* @param args
*/
public static void main(String[] args) {
new MenuC();
}
}
|
package Controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import Vista.ProductoV;
public class ProductoC implements ActionListener {
ProductoV producto;
public ProductoC(){
super();
this.producto= new ProductoV();
this.producto.setLocation(480, 210);
this.producto.setVi... |
package Controlador;
import Vista.CategoriaV;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class CategoriaC implements ActionListener {
private CategoriaV categoria;
public CategoriaC() {
super();
this.categoria= new CategoriaV();
this.categoria.setLocation(480, 210);
... |
package Controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import Vista.Ingrediente;
public class IngredientesC implements ActionListener{
private Ingrediente ingre;
public IngredientesC(){
super();
this.ingre= new Ingrediente();
this.ingre.setLocation(480, 210);
thi... |
package Controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import Vista.CompraV;
import Modelo.CompraDAO;
public class CompraIngredientesC implements ActionListener{
private CompraV comprav;
private CompraDAO compraDao;
public CompraIngredientesC(){
super();
this.compraDao= new... |
package Controlador;
import Vista.OrdenV;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class OrdenC implements ActionListener {
private OrdenV ordenv;
public OrdenC(){
super();
this.ordenv= new OrdenV();
this.ordenv.setLocation(480, 210);
this.ordenv.setVisible(true);
this.o... |
package Modelo;
import java.util.Vector;
import javax.swing.table.DefaultTableModel;
import bean.Conexion;
import Modelo.Producto;
public class ProductoDAO extends ConexionDAO{
private Producto pro = new Producto();
public ProductoDAO() {
super();
}
public void RegistrarProducto(){
String tiraSQL ... |
package Modelo;
public class Orden {
public int codord;
public int codcli;
public String nombrecli;
public float monto;
public Orden(){
}
public Orden(int codord, int codcli, String nombrecli,
float monto) {
super();
this.codord = codord;
this.codcli = codcli;
this.nombrecli = nombrecli;
this... |
package Modelo;
public class Compra extends Ingredientes{
public String codC;
public Compra() {
}
public Compra(int coding, String nombrei, float stock,String codC, float cantidad) {
super(coding, nombrei, stock,cantidad);
this.codC= codC;
}
public String getCodC() {
return codC;
}
public void... |
package Modelo;
public class Categoria {
public int codcate;
public String nombrec;
public Categoria (){
}
public Categoria(int codcate, String nombrec) {
super();
this.codcate = codcate;
this.nombrec = nombrec;
}
public int getCodcate() {
return codcate;
}
public void setCodcate(int codcate) {
... |
package Modelo;
import Modelo.Categoria;
import bean.*;
public class CategoriaDAO extends ConexionDAO{
private Categoria cate =new Categoria();
public CategoriaDAO() {
super();
}
public void RegistrarCategoria(){
String tiraSQL = "INSERT INTO Categoria"+"(CodigoCa,NombreCa) "+"VALUES"+ (cate.getCod... |
package Modelo;
public class Ingredientes {
public int coding;
public String nombrei;
public float stock;
public float cantidad;
public Ingredientes() {
}
public Ingredientes(int coding, String nombrei, float stock,float cantidad) {
super();
this.coding = coding;
this.nombrei = nombrei;
this.stock ... |
package Modelo;
import bean.Conexion;
import Modelo.Orden;
public class OrdenDAO extends ConexionDAO{
private Orden orde = new Orden();
public OrdenDAO() {
super();
}
public void RegistrarOrden(){
String tiraSQL = "INSERT INTO Orden"+"(CodigoOr,NombreCl,CodigoCl,TotalO) "+"VALUES"+ (orde.getCod... |
package Modelo;
import bean.Conexion;
public class ConexionDAO {
public ConexionDAO() {
super();
Conexion.establecerPropiedadesConexion("bdconfig", "jdbc.driver", "jdbc.url", "jdbc.nombrebd", "jdbc.usuario", "jdbc.password");
}
} |
package Modelo;
import bean.Conexion;
import Modelo.Ingredientes;
public class IngredientesDAO extends ConexionDAO{
private Ingredientes ingre = new Ingredientes();
public IngredientesDAO() {
super();
}
public void RegistrarIngrediente(){
String tiraSQL = "INSERT INTO Ingredientes"+"(NombreIn,C... |
package Modelo;
public class Producto {
public int codpro;
public String nombrep;
public float precio;
public Producto(){
}
public Producto(int codpro, String nombrep, float precio) {
super();
this.codpro = codpro;
this.nombrep = nombrep;
this.precio = precio;
}
public int getCodpro() {
retur... |
package Modelo;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Vector;
import bean.Conexion;
import Modelo.Compra;
public class CompraDAO extends ConexionDAO {
private Compra compra=new Compra();
public CompraDAO() {
super();
}
public void RegistrarCompra(){
String tiraSQL ="INSERT... |
package Vista;
import java.awt.BorderLayout;
import java.awt.event.ActionListener;
import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.J... |
package Vista;
import java.awt.BorderLayout;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JTextField;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing... |
package Vista;
import java.awt.BorderLayout;
import java.awt.event.ActionListener;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JSeparator;
import javax.swing.JTextField;
import javax.swing.WindowCons... |
package Vista;
import java.awt.BorderLayout;
import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
... |
package Vista;
import java.awt.event.ActionListener;
import javax.swing.DebugGraphics;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.WindowConstants;
import javax.swing.SwingUtilities;
/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/... |
package Vista;
import java.awt.event.ActionListener;
import java.util.Vector;
import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing... |
package com.samsung.cares;
import com.samsung.cares.common.XMLData;
import com.samsung.cares.util.Logger;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.Ke... |
package com.samsung.cares;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.samsung.cares.common.XMLData;
import com.samsung.cares.util.ImageLoader;
import com.samsung.cares.util.Logger;
import android.app.Activity;
import a... |
package com.samsung.cares;
import java.util.ArrayList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.samsung.cares.common.XMLData;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widge... |
package com.samsung.cares;
import java.io.InputStream;
import java.net.URL;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserFactory;
import com.samsung.cares.common.Status;
import com.samsung.cares.common.XMLData;
import com.samsung.cares.util.Logger;
import com.samsung.cares.util.Util;
impo... |
package com.samsung.cares.util;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import com.samsung.cares.common.Status;
import android... |
package com.samsung.cares.util;
import android.util.Log;
public class Logger {
private final static boolean SHOW_LOGS = true;
private final static String TAG = "CARES";
private Logger() {
}
public static void d(String msg) {
if(SHOW_LOGS) {
Log.d(TAG, TAG + "_D : "... |
package com.samsung.cares.util;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URL;
import java.util.HashMap;
import java.util.Stack;
import com.samsung.car... |
package com.samsung.cares;
import java.io.InputStream;
import java.net.URL;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserFactory;
import com.samsung.cares.common.Status;
import com.samsung.cares.common.XMLData;
import com.samsung.cares.util.Logger;
import com.samsung.cares.util.Util;
impo... |
package com.samsung.cares;
import java.io.InputStream;
import java.net.URL;
import java.util.ArrayList;
import java.util.Timer;
import java.util.TimerTask;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserFactory;
import com.samsung.cares.common.Status;
import com.samsung.cares.com... |
package com.samsung.cares;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.UR... |
package com.samsung.cares;
import java.util.ArrayList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.samsung.cares.PageAdapter.HowToViewHolder;
import com.samsung.cares.common.XMLData;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View... |
package com.samsung.cares;
import java.io.InputStream;
import java.net.URL;
import java.util.ArrayList;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserFactory;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;... |
package com.samsung.cares;
import android.content.Context;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.SurfaceView;
import android.util.AttributeSet;
import java.util.ArrayList;
public class PlayerSurfaceView extends SurfaceView {
private ArrayList<TapListener> listeners... |
package com.samsung.cares;
import java.io.BufferedInputStream;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserFactory;
import c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.