text stringlengths 3 1.18M |
|---|
import javax.media.opengl.*;
public class Circle extends PhysicsObject {
private class Renderable extends SceneGraphNode {
private static final int POINTS = 20;
public Renderable() {
scale = radius;
}
public void renderGeometry(GLAutoDrawable drawable) {
GL2 gl = drawable.getGL().getGL2();
gl... |
public class HalfSpace extends PhysicsObject {
Vector2f normal;
// Right-hand side of the plane equation: Ax + By = C
float intercept;
public HalfSpace(Vector2f point, Vector2f normal) {
inverseMass = 0;
this.normal = new Vector2f(normal);
this.normal.normalize();
intercept = point.dot(this.normal);
}
} |
import java.awt.Dimension;
import java.awt.Frame;
import java.awt.Point;
import java.awt.Toolkit;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.nio.IntBuffer;
import javax.media.opengl.*;
import javax.media.ope... |
import java.awt.Frame;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import javax.media.opengl.*;
import javax.media.opengl.awt.GLCanvas;
public class JoglTest1 {
/**
* @param args
*/
public static void main(String[] args) {
GLProfile glp = GLProfile.getDefault(); // chooses the c... |
import javax.media.opengl.*;
public class Triangle extends SceneGraphNode
{
static final float SIN_60 = (float)Math.sin(Math.PI / 3);
public Triangle() {
this(true);
}
public Triangle(boolean pickable)
{
super(pickable);
}
public void renderGeometry(GLAutoDrawable drawable)
{
GL2 gl = drawable.getGL()... |
import java.util.Scanner;
public class Hello {
/**
* @param args
*/
public static void main(String[] args)
{
Scanner s = new Scanner(System.in);
String name;
System.out.println("What is your name");
name = s.nextLine();
System.out.println("Hi " + name);
}
}
|
import java.util.*;
import javax.media.opengl.*;
public class SceneGraphNode {
//Transformations
public float scale;
public float rotation;
public float translateX;
public float translateY;
private List<SceneGraphNode> children;
private boolean pickable;
public SceneGraphNode()
{
this(true);
}
public... |
public class Triforce extends SceneGraphNode
{
public Triforce()
{
SceneGraphNode child = new Triangle(false);
child.translateX= -.5f;
child.translateY= -Triangle.SIN_60 /3;
addChild(child);
child = new Triangle();
child.translateY= Triangle.SIN_60 *2 /3;
addChild(child);
child = new Triangle();
c... |
import java.awt.Frame;
import java.awt.event.WindowEvent;
import java.awt.event.WindowAdapter;
import javax.media.opengl.*;
import javax.media.opengl.awt.GLCanvas;
import com.jogamp.opengl.util.*;
public class JoglTest2 implements GLEventListener
{
private double theta = 0;
private double s = 0;
private double ... |
public class SeirpinskiTriangle extends SceneGraphNode
{
public static SceneGraphNode create(int depth) {
if(depth <=1)
return new Triangle();
SceneGraphNode parent = new SceneGraphNode();
SceneGraphNode child = SeirpinskiTriangle.create(depth-1);
child.scale = .5f;
child.translateX= -.25f;
child.tra... |
import java.awt.*;
import java.awt.event.*;
import java.nio.*;
import java.util.*;
import javax.media.opengl.*;
import javax.media.opengl.awt.*;
import javax.media.opengl.glu.*;
import javax.swing.*;
import com.jogamp.common.nio.*;
import com.jogamp.opengl.util.*;
public class Demo8 implements GLEventListen... |
import javax.media.opengl.*;
public class Triangle extends PhysicsObject {
private static final float[] VERTICES = {0, 0, 1, 0, 0, 1};
private class Renderable extends SceneGraphNode {
public void renderGeometry(GLAutoDrawable drawable) {
GL2 gl = drawable.getGL().getGL2();
gl.glColor3f(1, 1, 1);
gl... |
public class Vector2f {
public float x;
public float y;
public Vector2f() {
this(0, 0);
}
public Vector2f(float x, float y) {
this.x = x;
this.y = y;
}
public Vector2f(Vector2f other) {
if (other == null)
throw new IllegalArgumentException();
x = other.x;
y = other.y;
}
... |
import java.util.*;
import javax.media.opengl.*;
public class SceneGraphNode {
public float scale;
public float rotation;
public float translateX;
public float translateY;
private List<SceneGraphNode> children;
private boolean pickable;
public SceneGraphNode() {
this(true);
}
public SceneGraphNode(boole... |
public class PhysicsObject {
float inverseMass;
Vector2f position;
Vector2f velocity;
Vector2f acceleration;
SceneGraphNode renderable;
public PhysicsObject() {
inverseMass = 1;
position = new Vector2f();
velocity = new Vector2f();
acceleration = new Vector2f();
}
public void updateState(float timePe... |
public class CollisionInfo {
Vector2f position;
Vector2f normal;
float depth;
}
|
import javax.media.opengl.*;
public class Circle extends PhysicsObject {
private class Renderable extends SceneGraphNode {
private static final int POINTS = 20;
public Renderable() {
scale = radius;
}
public void renderGeometry(GLAutoDrawable drawable) {
GL2 gl = drawable.getGL().getGL2();
gl... |
public class HalfSpace extends PhysicsObject {
Vector2f normal;
// Right-hand side of the plane equation: Ax + By = C
float intercept;
public HalfSpace(Vector2f point, Vector2f normal) {
inverseMass = 0;
this.normal = new Vector2f(normal);
this.normal.normalize();
intercept = point.dot(this.normal);
}
} |
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implementation class ExServlet
*/
@WebServlet(... |
/*
* 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... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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... |
/*
* 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... |
/*
* 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... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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")... |
/*
* 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")... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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 ... |
/*
* 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... |
/*
* 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... |
public class Prenom
{
private int rang;
private String nom;
private int frequence;
private String phonex;
private String sexe;
public Prenom(int paramRang, String paramNom, int paramFreq, String paramPhonex, String paramSexe)
{
rang = paramRang;
nom = paramNom;
frequence = paramFreq;
... |
package com.Java;
public class Constantes {
public static final String PROP_NIVEAU_LOG = "logLevel";
public static final String PATH_PROPRIETES = "com/Java/props.properties";
public static final String PROP_BD_USER = "bdUser";
public static final String PROP_BD_PASSWORD = "bdPassword";
public static fina... |
/*
* Login class for the login and registration window of the program
* Author: Daniel Henderson
* TCSS 360 Spring 2013
* University of Washington
*/
package View;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Frame;
import java.awt.GridBagConstra... |
/*
* Login class for the login and registration window of the program
* Author: Daniel Henderson
* TCSS 360 Spring 2013
* University of Washington
*/
package View;
import java.awt.Color;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridBagConstra... |
/*
* ViewReview Class
* Authors: Ching-Ting Huang, broke out into stand alone class - Edit by Daniel Henderson
* TCSS 360 (Group project) Spring 2013
* University of Washington
*/
package View;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.FlowLayo... |
/*
* Main class to start the Conference Application
* Authors: Daniel Henderson, Ching-Ting Huang, Jonathan Forbes
* TCSS 360 (Group project) Spring 2013
* University of Washington
*/
package View;
import Model.Controller;
/**
* This is the main driver of the program.
*
* @author Daniel Henderson
* @auth... |
/*
* Conferences Class for the program
* Authors: Ching-Ting Huang, Daniel Henderson
* TCSS 360 Spring 2013
* University of Washington
*/
package View;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.FlowLayout;
import jav... |
/*
* Controller test class
* Authors: Ching-Ting Huang
* TCSS 360 (Group project) Spring 2013
* University of Washington
*/
package View;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import Model.Controller;
/**
* This class exte... |
/*
* Last edited: 06/07/13 by Ching-Ting
*/
package View;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.... |
/*
* Controller test class
* Author: Jonathan Forbes
* TCSS 360 (Group project) Spring 2013
* University of Washington
*/
package View;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.Frame;
import... |
/*
* Last edited: 06/07/13 by Ching-Ting
*/
package View;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt... |
/*
* Controller test class
* Authors: Daniel Henderson, Ching-Ting Huang
* TCSS 360 (Group project) Spring 2013
* University of Washington
*/
package View;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import ja... |
/*
* Controller test class
* Author: Jonathan Forbes
* TCSS 360 (Group project) Spring 2013
* University of Washington
*/
package View;
import java.awt.Color;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.even... |
/*
* Last Edited: 06/07/2013 by Ching-Ting
*
* [NOTE]: To set up propertyChangeListener, setFlag() method MUST be called by
* passing in a JLabel.
*/
package View;
import java.util.Calendar;
import java.util.List;
import javax.swing.JLabel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import jav... |
/*
* JUnit Test for login GUI calling Controller methods:
* checkPasswordSizeCorrect(), emailContainsAt(),
* checkPasswordSame(), addUserToSystem();
*
* Author: Daniel Henderson
* TCSS 360 Spring 2013
* University of Washington
* May 28th 2013
*/
package JUnitTests;
import static org.junit.As... |
/*
* JUnit Test for Controller: saveData(), loadfile()
* Author: Daniel Henderson
* TCSS 360 Spring 2013
* University of Washington
* May 19th 2013
*
*/
package JUnitTests;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.List;
import org.junit.Before;
import ... |
/*
* Controller test class
* Authors: Daniel Henderson
* TCSS 360 (Group project) Spring 2013
* University of Washington
*/
package JUnitTests;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
import Model.Confe... |
/*
* JUnit Test for Controller: getReviewerEmail(), getSubProgramChairEmail()
* By: Ching-Ting Huang
* Last Edit: 5/18/13
*
* Covered methods in Controller.java:
* 1. getReviewerEmailAddresses()
* 2. getSubProgramChairEmailAddresses()
* 3. setCurrentUser()
*
* Covered methods in User.java:
* 1. addSPCPaper... |
/*
* Paper class for the Conference Application
* Author: Jonathan Forbes
* TCSS 360 Spring 2013
* University of Washington
*/
package Model;
import java.io.File;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class Paper implements ... |
/*
* Review class for the Conference Application
* Author: Jonathan Forbes
* TCSS 360 Spring 2013
* University of Washington
*/
package Model;
import java.io.Serializable;
public class Review implements Serializable{
/**
* Class that holds the Model of the Review object, which holds pertinen... |
/*
* Conference class for the Conference Application
* Author: Jonathan Forbes
* TCSS 360 Spring 2013
* University of Washington
*/
package Model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class Conference implements Serializable{
/**
* Class tha... |
/*
* User class for the Conference Application
* Author: Jonathan Forbes
* TCSS 360 Spring 2013
* University of Washington
*/
package Model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Observable;
public class User extends Observable implement... |
/*
* Deadline class for the Conference Application
* Author: Jonathan Forbes
* TCSS 360 Spring 2013
* University of Washington
*/
package Model;
import java.io.Serializable;
public class Deadline implements Serializable{
/**
* Class that holds the Model of the Deadline object, which can be r... |
/*
* Controller class for the Conference Application
* Authors: Daniel Henderson, Ching-Ting Huang, Jonathan Forbes
* TCSS 360 (Group project) Spring 2013
* University of Washington
*/
package Model;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.F... |
package controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import modelo.ModeloIngredientes;
import vista.VistaIngrediente;
public class ControladorIngredientes implements ActionListener {
private VistaIngre... |
package controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.SQLException;
import java.util.Vector;
import javax.swing.JOptionPane;
import modelo.ModeloIngredientes;
import modelo.ModeloOrden;
import modelo.ModeloProductos;
import modelo.ModeloReporteIngredien... |
package controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.ResultSet;
import java.sql.SQLException;
import modelo.ModeloOrdenDecorator;
import modelo.ModeloOrdenInterface;
//import modelo.ModeloOrden;
import vista.VistaOrden;
import vista.VistaOrdenLista... |
package controlador;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Iterator;
import java.util.Vect... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.