text
stringlengths
3
1.18M
/* * Copyright (C) 2008 Torgny Bjers * * 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 agr...
/** * Copyright (C) 2010-2011 yvolk (Yuri Volkov), http://yurivolkov.com * * 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 * ...
/* * Copyright (C) 2008 Torgny Bjers * * 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 agr...
/** * */ package com.xorcode.andtweet.data; import android.content.SearchRecentSuggestionsProvider; /** * @author torgny.bjers * */ public class TimelineSearchSuggestionProvider extends SearchRecentSuggestionsProvider { public final static String AUTHORITY = "com.xorcode.andtweet.TimelineSuggestionProvider"; ...
/* * Copyright (C) 2008 Torgny Bjers * * 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 agr...
/* * Copyright (C) 2008 Torgny Bjers * * 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 agr...
/* * Copyright (C) 2008 Torgny Bjers * * 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 agr...
/* * Copyright (C) 2008 Torgny Bjers * Copyright (c) 2011 yvolk (Yuri Volkov), http://yurivolkov.com * * 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/li...
/* * Copyright (C) 2008 Torgny Bjers * Copyright (C) 2010 Brion N. Emde, "BLOA" example, http://github.com/brione/Brion-Learns-OAuth * Copyright (C) 2010-2011 yvolk (Yuri Volkov), http://yurivolkov.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
/** * Copyright (C) 2011 yvolk (Yuri Volkov), http://yurivolkov.com * Copyright (C) 2008 Torgny Bjers * * 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.apach...
/* * Copyright (C) 2008 Torgny Bjers * * 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 agr...
/* * Copyright (C) 2008 Torgny Bjers * * 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 agr...
/** * Copyright (C) 2011 yvolk (Yuri Volkov), http://yurivolkov.com * * 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 * * U...
package com.xorcode.andtweet.util; import android.app.ActivityManager; import android.app.ActivityManager.RunningAppProcessInfo; import android.content.Context; import android.os.AsyncTask; import android.util.Log; import java.util.List; /** * Is your application is running in foreground? * * @see <...
package com.xorcode.andtweet.util; /** * <p>Encodes and decodes to and from Base64 notation.</p> * <p>Homepage: <a href="http://iharder.net/base64">http://iharder.net/base64</a>.</p> * * <p>The <tt>options</tt> parameter, which appears in a few places, is used to pass * several pieces of information to the encod...
/* * Copyright (C) 2010 yvolk (Yuri Volkov), http://yurivolkov.com * * 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 * * Un...
/* * Copyright (C) 2008 Torgny Bjers * * 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 agr...
/* * Copyright (C) 2010 yvolk (Yuri Volkov), http://yurivolkov.com * * 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 * * Un...
/* * Copyright (C) 2008 Torgny Bjers * * 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 agr...
package com.xorcode.andtweet.util; import java.lang.reflect.*; /** * The class is for compatibility with v.1.5 of Android * * @author yvolk */ public class Build { /** Various version strings. */ public static class VERSION { /** * The user-visible SDK version of the fra...
/* * Copyright (C) 2011 yvolk (Yuri Volkov), http://yurivolkov.com * * 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 * * Un...
/* * Copyright (C) 2008 Torgny Bjers * * 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 agr...
/* * Copyright (C) 2008 Torgny Bjers * * 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 agr...
/* * Copyright (C) 2008 Torgny Bjers * * 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 agr...
/* * Copyright (C) 2008 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 app...
/* * Copyright (C) 2010-2011 yvolk (Yuri Volkov), http://yurivolkov.com * * 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...
/* * Copyright (C) 2010 yvolk (Yuri Volkov), http://yurivolkov.com * * 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 * * Un...
/* * Copyright (C) 2008 Torgny Bjers * * 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 agr...
/* * Copyright (C) 2011 yvolk (Yuri Volkov), http://yurivolkov.com * Copyright (C) 2008 Torgny Bjers * * 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...
/** * */ package com.xorcode.andtweet.net; /** * @author Yuri * */ public class ConnectionCredentialsOfOtherUserException extends Exception { /** * @param newName - Name of the User whose credentials were actually verified */ public ConnectionCredentialsOfOtherUserException(String ...
/* * Copyright (C) 2008 Torgny Bjers * * 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 agr...
package com.xorcode.andtweet.net; /** * In order to compile the application you either: * 1. Create your own MyOAuthKeys class with your application's * TWITTER_CONSUMER_KEY and TWITTER_CONSUMER_SECRET * 2. Or remove "extends MyOAuthKeys" below and un-comment the values here * replacing values with...
/* * Copyright (C) 2008 Torgny Bjers * * 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 agr...
/* * Copyright (C) 2008 Torgny Bjers * Copyright (c) 2011 yvolk (Yuri Volkov), http://yurivolkov.com * * 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/li...
/* * Copyright (C) 2008 Torgny Bjers * * 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 agr...
/* * Copyright (C) 2010 yvolk (Yuri Volkov), http://yurivolkov.com * * 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 * * Un...
/* * Copyright (C) 2010 yvolk (Yuri Volkov), http://yurivolkov.com * * 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 requ...
/* * Copyright (C) 2010 yvolk (Yuri Volkov), http://yurivolkov.com * * 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 * * Un...
package cci.rodez.iiil.file; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Graphics2D; public class Guichet { private boolean disponible; private Voiture client; public Guichet(){ disponible = true; client = null; } public boolean isDisponible() { return dispon...
/** * */ package cci.rodez.iiil.random.generator; import java.util.ArrayList; import JSci.maths.statistics.PoissonDistribution; /** * @author g.grezes * */ public class LoiPoisson extends Generator { private Double alpha = 4.0; public LoiPoisson() { min = 0.0; max = 2000.0; nbPa...
/** * */ package cci.rodez.iiil.random; /** * @author g.grezes * */ public class Classe { private Double borneGauche; private Double borneDroite; private Double effectif; /** * @param borneGauche * @param borneDroite * @param effectif */ public Classe(Double borneGauch...
/** * */ package cci.rodez.iiil.logger; import javax.swing.JTextArea; /** * @author g.grezes * */ public class UILogger { private static JTextArea textarea; /** * affiche la chaine dans la text area * @param chaine */ public static void log(String chaine) { if (textarea != null...
/** * */ package cci.rodez.iiil.ui; import java.awt.BorderLayout; import java.awt.Dimension; import javax.swing.JFrame; import javax.swing.JTextArea; import org.jfree.chart.ChartPanel; import cci.rodez.iiil.logger.UILogger; /** * @author g.grezes * */ @SuppressWarnings("serial") public cl...
/** * */ package cci.rodez.iiil.ui; import java.awt.BorderLayout; import java.awt.Dimension; import javax.swing.JFrame; import javax.swing.JTextArea; import org.jfree.chart.ChartPanel; import cci.rodez.iiil.logger.UILogger; /** * @author g.grezes * */ @SuppressWarnings("serial") public cl...
/* * Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright ...
import processing.core.*; import processing.xml.*; import processing.serial.*; import controlP5.*; import processing.opengl.*; import java.applet.*; import java.awt.Dimension; import java.awt.Frame; import java.awt.event.MouseEvent; import java.awt.event.KeyEvent; import java.awt.event.FocusEven...
import processing.core.*; import processing.xml.*; import processing.serial.*; import controlP5.*; import processing.opengl.*; import java.applet.*; import java.awt.Dimension; import java.awt.Frame; import java.awt.event.MouseEvent; import java.awt.event.KeyEvent; import java.awt.event.FocusEven...
package views; import java.util.ArrayList; import java.util.Observable; import java.util.Observer; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.StyledText; import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintListener; import org.eclipse.swt.events.SelectionAdapter; import org.ecl...
package models; import java.util.ArrayList; import java.util.Observable; import structure.Frame; import auxiliary.InputReader; import common.INTERIOR_BOT; import common.Message; public class MainModel extends Observable{ String title; public MainModel(){ title = "3D-Bot"; } public void handleLoadInputRequ...
package controllers; import models.MainModel; import views.MainView; import common.IActionHandler; import common.INTERIOR_BOT; public class MainController { MainModel mainModel; MainView mainView; public static void main(String[] args) { MainController mainController = new MainController(); mainController....
package auxiliary; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import structure.Frame; import structure.Point; public class InputReader { public ArrayList<Frame> read(String filePath){ ArrayList<Frame> fr...
package auxiliary; import java.io.FileWriter; import java.io.IOException; public class InputGenerator { public static int nframes = 10 ; public static void main(String[] args) throws IOException { FileWriter fw = new FileWriter("input/frames-feed"); for(int i = 0; i < nframes; i++){ fw.write("frame-"+i + "\...
package structure; import java.util.ArrayList; public class Frame { String title; ArrayList<Point> points; int height ; public Frame(){ points = new ArrayList<Point>(); } public Frame(String title){ this.title = title; points = new ArrayList<Point>(); } public void addPoint(Point p){ points.add...
package structure; public class Point { double r; double theta; public Point(double r, double theta){ this.r = r; this.theta = theta; } public double getR() { return r; } public void setR(double r) { this.r = r; } public double getTheta() { return theta; } public void setTheta(double theta)...
package common; public interface IActionHandler { public void handleAction(); }
package common; public class INTERIOR_BOT { public static final int LOAD_FRAMES = 0; }
package common; public class Message { public int header; public Object body; public Message(int header, Object body){ this.header = header; this.body = body; } }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.hibernate.util; import org.hibernate.cfg.AnnotationConfiguration; import org.hibernate.SessionFactory; /** * Hibernate Utility class with a convenient method to get Session Factory object. * * @author ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.hibernate.model.dao; import admin.hibernate.pojo.Loaisanpham; import admin.hibernate.pojo.Sanpham; import admin.hibernate.util.HibernateUtil; import java.util.List; import org.hibernate.HibernateException; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.hibernate.model.dao; import admin.hibernate.util.HibernateUtil; import org.hibernate.HibernateException; import org.hibernate.Query; import org.hibernate.Session; /** * * @author Administrator */ public...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.hibernate.model.dao; import admin.hibernate.pojo.Chitietsanpham; import admin.hibernate.pojo.Sanpham; import admin.hibernate.util.HibernateUtil; import java.util.List; import org.hibernate.HibernateExceptio...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.controller; import admin.hibernate.model.dao.LoaiSanPhamDAO; import admin.hibernate.pojo.Loaisanpham; import java.io.IOException; import java.io.PrintWriter; import java.util.List; import javax.servlet.Ser...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.controller; import admin.hibernate.model.dao.LoaiSanPhamDAO; import admin.hibernate.pojo.Sanpham; import java.io.IOException; import java.io.PrintWriter; import java.util.List; import javax.servlet.Servlet...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package hibernate.util; import org.hibernate.cfg.AnnotationConfiguration; import org.hibernate.SessionFactory; /** * Hibernate Utility class with a convenient method to get Session Factory object. * * @author Admini...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package hibernate.model.dao; import hibernate.pojo.Codesanpham; import hibernate.util.HibernateUtil; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package hibernate.model.dao; import hibernate.pojo.Loaisanpham; import hibernate.pojo.Sanpham; import hibernate.util.HibernateUtil; import java.util.List; import org.hibernate.HibernateException; import org.hibernate.Que...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package hibernate.model.dao; import hibernate.pojo.Dondathang; import hibernate.util.HibernateUtil; import java.sql.Date; import java.util.Calendar; import org.hibernate.HibernateException; import org.hibernate.Session;...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package hibernate.model.dao; import hibernate.pojo.Thanhtoantang; import hibernate.pojo.Thanhtoantructuyen; import hibernate.util.HibernateUtil; import org.hibernate.Transaction; import org.hibernate.HibernateException;...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package hibernate.model.dao; import hibernate.pojo.Thanhtoantructuyen; import hibernate.util.HibernateUtil; import org.hibernate.Transaction; import org.hibernate.HibernateException; import org.hibernate.Session; /** ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package hibernate.model.dao; import hibernate.pojo.Loaithanhtoan; import hibernate.util.HibernateUtil; import org.hibernate.HibernateException; import org.hibernate.Session; /** * * @author phathuynh */ public class...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package hibernate.model.dao; import hibernate.util.HibernateUtil; import org.hibernate.HibernateException; import org.hibernate.Query; import org.hibernate.Session; /** * * @author Administrator */ public class Tham...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package hibernate.model.dao; import hibernate.pojo.Binhluan; import hibernate.util.HibernateUtil; import java.util.List; import org.hibernate.HibernateException; import org.hibernate.Query; import org.hibernate.Session;...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package hibernate.model.dao; import hibernate.pojo.Thanhtoantannoi; import hibernate.util.HibernateUtil; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.Transaction; /** * ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package hibernate.model.dao; /** * * @author Administrator */ public class ChiTietSanPhamDAO { }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package hibernate.model.dao; import hibernate.pojo.Chitietsanpham; import hibernate.pojo.Sanpham; import hibernate.util.HibernateUtil; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; imp...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package hibernate.model.dao; import hibernate.pojo.Khachhang; import hibernate.util.HibernateUtil; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package hibernate.model.dao; import hibernate.pojo.Chitietdondathang; import hibernate.pojo.Dondathang; import hibernate.util.HibernateUtil; import java.text.ParseException; import java.text.SimpleDateFormat; import jav...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.hibernate.model.dao; import hibernate.pojo.Chitietsanpham; import hibernate.util.HibernateUtil; import org.hibernate.HibernateException; import org.hibernate.Query; import org.hibernate.Session; import org...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.hibernate.model.dao; import hibernate.pojo.Admin; import hibernate.util.HibernateUtil; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.hibernate.model.dao; import hibernate.pojo.Dondathang; import hibernate.pojo.Sanpham; import hibernate.util.HibernateUtil; import org.hibernate.HibernateException; import org.hibernate.Query; import org.hi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.hibernate.model.dao; import hibernate.pojo.Sanpham; import hibernate.util.HibernateUtil; import org.hibernate.HibernateException; import org.hibernate.Query; import org.hibernate.Session; import org.hibern...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.hibernate.model.dao; import hibernate.pojo.Khachhang; import hibernate.util.HibernateUtil; import java.util.List; import org.hibernate.HibernateException; import org.hibernate.Query; import org.hibernate.S...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.hibernate.model.dao; /** * * @author Administrator */ public class AdminThamSoDAO { }
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.hibernate.model.dao; import hibernate.pojo.Loaisanpham; import hibernate.pojo.Sanpham; import hibernate.util.HibernateUtil; import java.util.List; import org.hibernate.HibernateException; import org.hibern...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.controller; import admin.hibernate.model.dao.AdminAdminDAO; import hibernate.pojo.Admin; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet....
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.controller; import admin.hibernate.model.dao.AdminLoaiSanPhamDAO; import javax.servlet.http.HttpSession; import java.io.File; import java.util.Hashtable; import org.apache.commons.fileupload.FileItem; imp...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.controller; import admin.hibernate.model.dao.AdminLoaiSanPhamDAO; import hibernate.pojo.Admin; import hibernate.pojo.Loaisanpham; import java.io.IOException; import java.io.PrintWriter; import java.util.Li...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.controller; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.se...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.controller; import admin.hibernate.model.dao.AdminLoaiSanPhamDAO; import admin.hibernate.model.dao.AdminSanPhamDAO; import hibernate.model.dao.LoaiSanPhamDAO; import hibernate.pojo.Loaisanpham; import hibe...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.controller; import admin.hibernate.model.dao.AdminChiTietSanPhamDAO; import admin.hibernate.model.dao.AdminLoaiSanPhamDAO; import admin.hibernate.model.dao.AdminSanPhamDAO; import hibernate.model.dao.ChiTi...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.controller; import admin.hibernate.model.dao.AdminDonDatHangDAO; import admin.hibernate.model.dao.AdminKhachHangDAO; import hibernate.model.dao.ChiTietDonDatHangDAO; import hibernate.pojo.Chitietdondathang...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package admin.controller; import admin.hibernate.model.dao.AdminLoaiSanPhamDAO; import hibernate.model.dao.LoaiSanPhamDAO; import hibernate.pojo.Sanpham; import java.io.IOException; import java.io.PrintWriter; import ja...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controller; import hibernate.model.dao.KhachHangDAO; import hibernate.pojo.Khachhang; import java.io.IOException; import java.io.PrintWriter; import java.text.ParseException; import java.text.SimpleDateFormat; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controller; import hibernate.model.dao.KhachHangDAO; import hibernate.pojo.Khachhang; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotatio...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controller; import hibernate.model.dao.ChiTietDonDatHangDAO; import hibernate.model.dao.DonDatHangDAO; import hibernate.pojo.Chitietdondathang; import hibernate.pojo.Dondathang; import hibernate.pojo.Khachhang; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controller; import java.awt.Color; import java.awt.Font; import java.awt.GradientPaint; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.image.BufferedImage; import java.io.IOExceptio...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controller; import hibernate.model.dao.ChiTietDonDatHangDAO; import hibernate.pojo.Chitietdondathang; import hibernate.pojo.Khachhang; import java.io.IOException; import java.io.PrintWriter; import java.util.Lis...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controller; import hibernate.model.dao.KhachHangDAO; import hibernate.pojo.Khachhang; import java.io.IOException; import java.io.PrintWriter; import java.text.ParseException; import java.text.SimpleDateFormat; i...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controller; import hibernate.model.dao.SanPhamDAO; import hibernate.pojo.Sanpham; import java.io.IOException; import java.io.PrintWriter; import java.text.ParseException; import java.text.SimpleDateFormat; impor...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package controller; import hibernate.model.dao.SanPhamDAO; import hibernate.pojo.Chitietsanpham; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annota...