text
stringlengths
3
1.18M
/* * $Id: ExampleSupport.java 471756 2006-11-06 15:01:43Z husted $ * * 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 * t...
/* * $Id: HelloWorld.java 471756 2006-11-06 15:01:43Z husted $ * * 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 yo...
package ar.edu.uns.cs.vyglab.util; import java.awt.AlphaComposite; import java.awt.Graphics2D; import java.awt.Image; import java.awt.RenderingHints; import java.awt.Transparency; import java.awt.image.BufferedImage; public class ImageScaler { /** * Convenience method that returns a scaled instance of the ...
package ar.edu.uns.cs.vyglab.util; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.TimeZone; public class CurrentTime { protected static long startTime; public static String getCurrentTime() { Calendar cal = Calendar.getInstance(TimeZone.getDe...
package ar.edu.uns.cs.vyglab.util; public class Reporter { public static boolean flag = true; public static void Report( String msg ) { if (flag) { System.out.println(CurrentTime.getCurrentTime() + ":: Message :: " + msg ); } } public static void Report( int i ) { if (flag) { ...
package ar.edu.uns.cs.tdp.proyectoX.logica.naves; import java.awt.Point; import java.util.Random; import javax.swing.ImageIcon; import ar.edu.uns.cs.tdp.proyectoX.logica.SkyNet; import ar.edu.uns.cs.tdp.proyectoX.logica.balas.BalaEnCaida; public class Enemiga extends Nave { protected int frecuencia; public En...
package ar.edu.uns.cs.tdp.proyectoX.logica.naves; import java.awt.Point; import java.util.Random; import javax.swing.ImageIcon; import ar.edu.uns.cs.tdp.proyectoX.logica.SkyNet; import ar.edu.uns.cs.tdp.proyectoX.logica.balas.Bala; import ar.edu.uns.cs.tdp.proyectoX.logica.balas.BalaDiagonalDer; import ar.edu.uns.cs...
package ar.edu.uns.cs.tdp.proyectoX.logica.naves; import java.awt.Point; import javax.swing.ImageIcon; import ar.edu.uns.cs.tdp.proyectoX.logica.SkyNet; public class Jugador extends Nave { public Jugador (SkyNet ia) { this.setIcon(new ImageIcon(getClass().getClassLoader().getResource("ar/edu/uns/cs/tdp/proyect...
package ar.edu.uns.cs.tdp.proyectoX.logica.naves; import ar.edu.uns.cs.tdp.proyectoX.logica.balas.Bala; public abstract class Nave extends Bala { }
package ar.edu.uns.cs.tdp.proyectoX.logica.balas; import java.awt.Point; import javax.swing.ImageIcon; import ar.edu.uns.cs.tdp.proyectoX.logica.SkyNet; public class BalaDiagonalDer extends Bala { public BalaDiagonalDer(SkyNet ia) { this.setIcon(new ImageIcon(getClass().getClassLoader().getResource("ar/edu/uns...
package ar.edu.uns.cs.tdp.proyectoX.logica.balas; import java.awt.Point; import java.awt.geom.Area; import javax.swing.JLabel; import ar.edu.uns.cs.tdp.proyectoX.logica.SkyNet; import ar.edu.uns.cs.tdp.proyectoX.logica.naves.Jugador; import ar.edu.uns.cs.vyglab.util.Reporter; public abstract class Bala extends JLab...
package ar.edu.uns.cs.tdp.proyectoX.logica.balas; import java.awt.Point; import javax.swing.ImageIcon; import ar.edu.uns.cs.tdp.proyectoX.logica.SkyNet; public class BalaEnCaida extends Bala { public BalaEnCaida(SkyNet ia) { this.setIcon(new ImageIcon(getClass().getClassLoader().getResource("ar/edu/uns/cs/td...
package ar.edu.uns.cs.tdp.proyectoX.logica.balas; import java.awt.Point; import javax.swing.ImageIcon; import ar.edu.uns.cs.tdp.proyectoX.logica.SkyNet; public class BalaDiagonalIzq extends Bala { public BalaDiagonalIzq(SkyNet ia) { this.setIcon(new ImageIcon(getClass().getClassLoader().getResource("ar/edu/uns...
package ar.edu.uns.cs.tdp.proyectoX.logica; import java.util.Iterator; import java.util.Random; import java.util.Vector; import ar.edu.uns.cs.tdp.proyectoX.frames.JFrameJuego; import ar.edu.uns.cs.tdp.proyectoX.logica.balas.Bala; import ar.edu.uns.cs.tdp.proyectoX.logica.naves.Jugador; public class SkyNet extends Th...
package ar.edu.uns.cs.tdp.proyectoX.decoraciones; import java.awt.Point; import java.util.Random; import ar.edu.uns.cs.tdp.proyectoX.frames.JFrameJuego; public class Nubes extends Thread { protected JFrameJuego juego; public Nubes( JFrameJuego juego ) { this.juego = juego; } public void run() { while(tru...
package ar.edu.uns.cs.tdp.proyectoX.decoraciones; import java.awt.Point; import java.util.Random; import ar.edu.uns.cs.tdp.proyectoX.frames.JFrameJuego; public class Barcos extends Thread { protected JFrameJuego juego; public Barcos( JFrameJuego juego ) { this.juego = juego; } public void run() { while...
package ar.edu.uns.cs.tdp.proyectoX.frames; import javax.swing.WindowConstants; import javax.swing.SwingUtilities; import ar.edu.uns.cs.tdp.proyectoX.decoraciones.Barcos; import ar.edu.uns.cs.tdp.proyectoX.decoraciones.Nubes; import ar.edu.uns.cs.tdp.proyectoX.logica.SkyNet; import ar.edu.uns.cs.tdp.proyectoX.logica....
package ar.edu.uns.cs.tdp.proyectoX.main; import ar.edu.uns.cs.tdp.proyectoX.frames.JFrameJuego; public class Main { /** * @param args */ public static void main(String[] args) { JFrameJuego jj = new JFrameJuego(); jj.setVisible(true); } }
package ar.edu.uns.cs.vyglab.util; import java.awt.AlphaComposite; import java.awt.Graphics2D; import java.awt.Image; import java.awt.RenderingHints; import java.awt.Transparency; import java.awt.image.BufferedImage; public class ImageScaler { /** * Convenience method that returns a scaled instance of the ...
package ar.edu.uns.cs.vyglab.util; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.TimeZone; public class CurrentTime { protected static long startTime; public static String getCurrentTime() { Calendar cal = Calendar.getInstance(TimeZone.getDe...
package ar.edu.uns.cs.vyglab.util; public class Reporter { public static boolean flag = true; public static void Report( String msg ) { if (flag) { System.out.println(CurrentTime.getCurrentTime() + ":: Message :: " + msg ); } } public static void Report( int i ) { if (flag) { ...
package ar.edu.uns.cs.tdp.proyectoX.logica.naves; import java.awt.Point; import java.util.Random; import javax.swing.ImageIcon; import ar.edu.uns.cs.tdp.proyectoX.logica.SkyNet; import ar.edu.uns.cs.tdp.proyectoX.logica.balas.BalaEnCaida; public class Enemiga extends Nave { protected int frecuencia; public En...
package ar.edu.uns.cs.tdp.proyectoX.logica.naves; import java.awt.Point; import java.util.Random; import javax.swing.ImageIcon; import ar.edu.uns.cs.tdp.proyectoX.logica.SkyNet; import ar.edu.uns.cs.tdp.proyectoX.logica.balas.Bala; import ar.edu.uns.cs.tdp.proyectoX.logica.balas.BalaDiagonalDer; import ar.edu.uns.cs...
package ar.edu.uns.cs.tdp.proyectoX.logica.naves; import java.awt.Point; import javax.swing.ImageIcon; import ar.edu.uns.cs.tdp.proyectoX.logica.SkyNet; public class Jugador extends Nave { public Jugador (SkyNet ia) { this.setIcon(new ImageIcon(getClass().getClassLoader().getResource("ar/edu/uns/cs/tdp/proyect...
package ar.edu.uns.cs.tdp.proyectoX.logica.naves; import ar.edu.uns.cs.tdp.proyectoX.logica.balas.Bala; public abstract class Nave extends Bala { }
package ar.edu.uns.cs.tdp.proyectoX.logica.balas; import java.awt.Point; import javax.swing.ImageIcon; import ar.edu.uns.cs.tdp.proyectoX.logica.SkyNet; public class BalaDiagonalDer extends Bala { public BalaDiagonalDer(SkyNet ia) { this.setIcon(new ImageIcon(getClass().getClassLoader().getResource("ar/edu/uns...
package ar.edu.uns.cs.tdp.proyectoX.logica.balas; import java.awt.Point; import java.awt.geom.Area; import javax.swing.JLabel; import ar.edu.uns.cs.tdp.proyectoX.logica.SkyNet; import ar.edu.uns.cs.tdp.proyectoX.logica.naves.Jugador; import ar.edu.uns.cs.vyglab.util.Reporter; public abstract class Bala extends JLab...
package ar.edu.uns.cs.tdp.proyectoX.logica.balas; import java.awt.Point; import javax.swing.ImageIcon; import ar.edu.uns.cs.tdp.proyectoX.logica.SkyNet; public class BalaEnCaida extends Bala { public BalaEnCaida(SkyNet ia) { this.setIcon(new ImageIcon(getClass().getClassLoader().getResource("ar/edu/uns/cs/td...
package ar.edu.uns.cs.tdp.proyectoX.logica.balas; import java.awt.Point; import javax.swing.ImageIcon; import ar.edu.uns.cs.tdp.proyectoX.logica.SkyNet; public class BalaDiagonalIzq extends Bala { public BalaDiagonalIzq(SkyNet ia) { this.setIcon(new ImageIcon(getClass().getClassLoader().getResource("ar/edu/uns...
package ar.edu.uns.cs.tdp.proyectoX.logica; import java.util.Iterator; import java.util.Random; import java.util.Vector; import ar.edu.uns.cs.tdp.proyectoX.frames.JFrameJuego; import ar.edu.uns.cs.tdp.proyectoX.logica.balas.Bala; import ar.edu.uns.cs.tdp.proyectoX.logica.naves.Jugador; public class SkyNet extends Th...
package ar.edu.uns.cs.tdp.proyectoX.decoraciones; import java.awt.Point; import java.util.Random; import ar.edu.uns.cs.tdp.proyectoX.frames.JFrameJuego; public class Nubes extends Thread { protected JFrameJuego juego; public Nubes( JFrameJuego juego ) { this.juego = juego; } public void run() { while(tru...
package ar.edu.uns.cs.tdp.proyectoX.decoraciones; import java.awt.Point; import java.util.Random; import ar.edu.uns.cs.tdp.proyectoX.frames.JFrameJuego; public class Barcos extends Thread { protected JFrameJuego juego; public Barcos( JFrameJuego juego ) { this.juego = juego; } public void run() { while...
package ar.edu.uns.cs.tdp.proyectoX.frames; import javax.swing.WindowConstants; import javax.swing.SwingUtilities; import ar.edu.uns.cs.tdp.proyectoX.decoraciones.Barcos; import ar.edu.uns.cs.tdp.proyectoX.decoraciones.Nubes; import ar.edu.uns.cs.tdp.proyectoX.logica.SkyNet; import ar.edu.uns.cs.tdp.proyectoX.logica....
package ar.edu.uns.cs.tdp.proyectoX.main; import ar.edu.uns.cs.tdp.proyectoX.frames.JFrameJuego; public class Main { /** * @param args */ public static void main(String[] args) { JFrameJuego jj = new JFrameJuego(); jj.setVisible(true); } }
package ar.edu.uns.cs.vyglab.util; import java.awt.AlphaComposite; import java.awt.Graphics2D; import java.awt.Image; import java.awt.RenderingHints; import java.awt.Transparency; import java.awt.image.BufferedImage; public class ImageScaler { /** * Convenience method that returns a scaled instance of the ...
package ar.edu.uns.cs.vyglab.util; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.TimeZone; public class CurrentTime { protected static long startTime; public static String getCurrentTime() { Calendar cal = Calendar.getInstance(TimeZone.getDe...
package ar.edu.uns.cs.vyglab.util; public class Reporter { public static boolean flag = true; public static void Report( String msg ) { if (flag) { System.out.println(CurrentTime.getCurrentTime() + ":: Message :: " + msg ); } } public static void Report( int i ) { if (flag) { ...
package ar.edu.uns.cs.tdp.proyectoX; import java.awt.Point; import javax.swing.ImageIcon; public class MentePremio extends Mente { @Override public void preparar() { this.nave = new Nave(new ImageIcon(getClass().getClassLoader().getResource("ar/edu/uns/cs/tdp/proyectoX/resources/images/tdp-nave-tipo1-premio.p...
package ar.edu.uns.cs.tdp.proyectoX; public class Boss extends Nave { }
package ar.edu.uns.cs.tdp.proyectoX.frames; //SplashScreen.java //A simple application to show a title screen in the center of the screen //for the amount of time given in the constructor. This class includes //a sample main() method to test the splash screen, but it's meant for use //with other applications. // imp...
package ar.edu.uns.cs.tdp.proyectoX.frames; import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.File; import java.io.FileInputStrea...
package ar.edu.uns.cs.tdp.proyectoX; import java.awt.Point; import java.util.Random; import java.util.Vector; import javax.swing.ImageIcon; import ar.edu.uns.cs.vyglab.util.Reporter; public class MenteMaestra extends Mente { protected Vector<Nave> naves; protected int flota = 10; public MenteMaestra() { sup...
package ar.edu.uns.cs.tdp.proyectoX.main; import ar.edu.uns.cs.tdp.proyectoX.frames.JFrameJuego; import ar.edu.uns.cs.tdp.proyectoX.frames.SplashScreen; public class Main { /** * @param args */ public static void main(String[] args) { //SplashScreen splash = new SplashScreen(3000); //splash.showSplash(); ...
package ar.edu.uns.cs.tdp.proyectoX; import java.awt.Image; import javax.swing.ImageIcon; import javax.swing.JLabel; public class Nave extends JLabel { public Nave() { super(); } public Nave( ImageIcon i ) { super(i); } }
package ar.edu.uns.cs.tdp.proyectoX.audio; import java.io.File; import java.io.FileInputStream; import javazoom.jl.player.Player; public class AudioPlayer implements Runnable { protected String file; public AudioPlayer( String file ) { this.file = file; } @Override public void run() { try{ File f = ...
package ar.edu.uns.cs.tdp.proyectoX; import ar.edu.uns.cs.tdp.proyectoX.frames.JFrameJuego; public abstract class Mente extends Thread { protected Nave nave; protected JFrameJuego juego; public abstract void preparar(); public abstract void jugar(); public Nave getNave() { return nave; } public void ...
/* * 11/19/04 1.0 moved to LGPL. * * 29/01/00 Initial version. mdm@techie.com * * 12/12/99 JavaLayer 0.0.7 mdm@techie.com * * 14/02/99 MPEG_Args Based Class - E.B * Adapted from javalayer and MPEG_Args. * Doc'ed and integerated with JL converter. Removed * Win32 specifics from original...
/* * 11/19/04 1.0 moved to LGPL. * * 12/12/99 0.0.7 Renamed class, additional constructor arguments * and larger write buffers. mdm@techie.com. * * 15/02/99 Java Conversion by E.B ,javalayer@javazoom.net * *----------------------------------------------------------------------- * This prog...
/* * 11/19/04 1.0 moved to LGPL. * 02/23/99 JavaConversion by E.B * Don Cross, April 1993. * RIFF file format classes. * See Chapter 8 of "Multimedia Programmer's Reference" in * the Microsoft Windows SDK. * *----------------------------------------------------------------------- * This program is...
/* * 11/19/04 1.0 moved to LGPL. * 02/23/99 JavaConversion by E.B * Don Cross, April 1993. * RIFF file format classes. * See Chapter 8 of "Multimedia Programmer's Reference" in * the Microsoft Windows SDK. * *----------------------------------------------------------------------- * This program is...
/* * 11/19/04 1.0 moved to LGPL. * 12/12/99 Original verion. mdm@techie.com. *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by ...
/* * 11/19/04 1.0 moved to LGPL. * 16/11/99 Renamed class, added javadoc, and changed table * name from String to 3 chars. mdm@techie.com * 02/15/99 Java Conversion by E.B, javalayer@javazoom.net * * 04/19/97 : Adapted from the ISO MPEG Audio Subgroup Software Simulation * Group's public c source for i...
/* * 11/19/04 1.0 moved to LGPL. * 12/12/99 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by...
/* * 11/19/04 1.0 moved to LGPL. * * 29/05/01 Michael Scheerer, Fixed some C++ to Java porting bugs. * * 16/07/01 Michael Scheerer, Catched a bug in method * read_sampledata, which causes an outOfIndexException. * * 12/12/99 Initial version. Adapted from javalayer.java * and Subband*.java....
/* * 11/19/04 1.0 moved to LGPL. * 12/12/99 Initial implementation. mdm@techie.com. *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published ...
/* * 11/19/04 1.0 moved to LGPL. *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by the Free Software Foundation; either version...
/* * 11/19/04 1.0 moved to LGPL. * * 12/12/99 0.0.7 Implementation stores single bits * as ints for better performance. mdm@techie.com. * * 02/28/99 0.0 Java Conversion by E.B, javalayer@javazoom.net * * Adapted from the public c code by Jeff Tsay. * *-------------------...
/* * 11/19/04 1.0 moved to LGPL. * * 18/06/01 Michael Scheerer, Fixed bugs which causes * negative indexes in method huffmann_decode and in method * dequanisize_sample. * * 16/07/01 Michael Scheerer, Catched a bug in method * huffmann_decode, which causes an outOfInde...
/* * 11/19/04 1.0 moved to LGPL. *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by the Free Software Foundation; either version ...
/* * 11/19/04 1.0 moved to LGPL. * 01/12/99 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by...
/* * 11/19/04 1.0 moved to LGPL. * * 12/12/99 Initial Version based on FileObuffer. mdm@techie.com. * * FileObuffer: * 15/02/99 Java Conversion by E.B ,javalayer@javazoom.net * *----------------------------------------------------------------------- * This program is free software; you can red...
/* * 11/19/04 1.0 moved to LGPL. * * 11/17/04 Uncomplete frames discarded. E.B, javalayer@javazoom.net * * 12/05/03 ID3v2 tag returned. E.B, javalayer@javazoom.net * * 12/12/99 Based on Ibitstream. Exceptions thrown on errors, * Temporary removed seek functionality. mdm@techie.com * * 02/1...
/* * 11/19/04 1.0 moved to LGPL. * 12/12/99 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by...
/* * 11/19/04 1.0 moved to LGPL. * 12/12/99 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by...
/* * 11/19/04 1.0 moved to LGPL. * 11/17/04 INVALIDFRAME code added. javalayer@javazoom.net * 12/12/99 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms...
/* * 11/19/04 1.0 moved to LGPL. *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by the Free Software Foundation; either version...
/* * 09/26/08 throw exception on subbband alloc error: Christopher G. Jennings (cjennings@acm.org) * * 11/19/04 1.0 moved to LGPL. * * 12/12/99 Initial version. Adapted from javalayer.java * and Subband*.java. mdm@techie.com * * 02/28/99 Initial version : javalayer.java by E.B *--------------------...
/* * 11/19/04 1.0 moved to LGPL. * * 04/01/00 Fixes for running under build 23xx Microsoft JVM. mdm. * * 19/12/99 Performance improvements to compute_pcm_samples(). * Mat McGowan. mdm@techie.com. * * 16/02/99 Java Conversion by E.B , javalayer@javazoom.net * * @(#) synthesis_filter.h 1.8, la...
/* * 11/19/04 : 1.0 moved to LGPL. * VBRI header support added, E.B javalayer@javazoom.net * * 12/04/03 : VBR (XING) header support added, E.B javalayer@javazoom.net * * 02/13/99 : Java Conversion by JavaZOOM , E.B javalayer@javazoom.net * * Declarations for MPEG header class * A few layer...
/* * 11/19/04 1.0 moved to LGPL. * 12/12/99 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by...
/* * 11/19/04 1.0 moved to LGPL. * 12/12/99 Added appendSamples() method for efficiency. MDM. * 15/02/99 ,Java Conversion by E.B ,ebsp@iname.com, JavaLayer * * Declarations for output buffer, includes operating system * implementation of the virtual Obuffer. Optional routines * enabling seeks and...
/* * 11/19/04 1.0 moved to LGPL. * 01/12/99 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by...
/* * 09/26/08 throw exception on subbband alloc error: Christopher G. Jennings (cjennings@acm.org) * 11/19/04 1.0 moved to LGPL. * 01/12/99 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it ...
/* * 11/19/04 1.0 moved to LGPL. * 12/12/99 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by...
/* * 09/26/08 throw exception on subbband alloc error: Christopher G. Jennings (cjennings@acm.org) * 11/19/04 1.0 moved to LGPL. * 12/12/99 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it ...
/* * 11/19/04 1.0 moved to LGPL. *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by the Free Software Foundation; either version...
/* * 11/19/04 : 1.0 moved to LGPL. * * 02/12/99 : Java Conversion by E.B , javalayer@javazoom.net * * @(#) crc.h 1.5, last edit: 6/15/94 16:55:32 * @(#) Copyright (C) 1993, 1994 Tobias Bading (bading@cs.tu-berlin.de) * @(#) Berlin University of Technology *-------------------------------------------...
/* * 11/19/04 1.0 moved to LGPL. * 12/12/99 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by...
/* * 11/19/04 1.0 moved to LGPL. * 12/12/99 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by...
/* * 11/19/04 1.0 moved to LGPL. * 29/01/00 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by...
/* * 11/26/04 Buffer size modified to support JRE 1.5 optimizations. * (CPU usage < 1% under P4/2Ghz, RAM < 12MB). * jlayer@javazoom.net * 11/19/04 1.0 moved to LGPL. * 06/04/01 Too fast playback fixed. mdm@techie.com * 29/01/00 Initial version. mdm@techie.com *--------------...
/* * 11/19/04 1.0 moved o LGPL. * 29/01/00 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by ...
/* * 11/19/04 1.0 moved to LGPL. * 29/01/00 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by...
/* * 11/19/04 1.0 moved to LGPL. * * 06/04/01 Streaming support added. javalayer@javazoom.net * * 29/01/00 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under t...
/* * 11/19/04 1.0 moved to LGPL. * 29/01/00 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by...
/* * 11/19/04 1.0 moved to LGPL. * 29/01/00 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by...
/* * 11/19/04 1.0 moved to LGPL. * 29/01/00 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by...
/* * 11/19/04 1.0 moved to LGPL. * 29/01/00 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by...
/* * 11/19/04 1.0 moved to LGPL. * 29/01/00 Initial version. mdm@techie.com *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by...
/* * 11/19/04 1.0 moved to LGPL. *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by the Free Software Foundation; either version...
/* * 11/19/04 1.0 moved to LGPL. *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by the Free Software Foundation; either version...
/* * 11/19/04 1.0 moved to LGPL. *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by the Free Software Foundation; either version...
/* * 11/19/04 1.0 moved to LGPL. *----------------------------------------------------------------------- * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by the Free Software Foundation; either version...
package ar.edu.uns.cs.vyglab.util; import java.awt.AlphaComposite; import java.awt.Graphics2D; import java.awt.Image; import java.awt.RenderingHints; import java.awt.Transparency; import java.awt.image.BufferedImage; public class ImageScaler { /** * Convenience method that returns a scaled instance of the ...
package ar.edu.uns.cs.vyglab.util; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.TimeZone; public class CurrentTime { protected static long startTime; public static String getCurrentTime() { Calendar cal = Calendar.getInstance(TimeZone.getDe...
package ar.edu.uns.cs.vyglab.util; public class Reporter { public static boolean flag = true; public static void Report( String msg ) { if (flag) { System.out.println(CurrentTime.getCurrentTime() + ":: Message :: " + msg ); } } public static void Report( int i ) { if (flag) { ...
package ar.edu.uns.cs.tdp.proyectoX; public class Boss extends Nave { }
package ar.edu.uns.cs.tdp.proyectoX.frames; //SplashScreen.java //A simple application to show a title screen in the center of the screen //for the amount of time given in the constructor. This class includes //a sample main() method to test the splash screen, but it's meant for use //with other applications. // imp...
package ar.edu.uns.cs.tdp.proyectoX.frames; import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.File; import java.io.FileInputStrea...
package ar.edu.uns.cs.tdp.proyectoX.main; import ar.edu.uns.cs.tdp.proyectoX.frames.JFrameJuego; import ar.edu.uns.cs.tdp.proyectoX.frames.SplashScreen; public class Main { /** * @param args */ public static void main(String[] args) { SplashScreen splash = new SplashScreen(3000); splash.showSplash(); ...