import processing.core.*; 

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.FocusEvent; 
import java.awt.Image; 
import java.io.*; 
import java.net.*; 
import java.text.*; 
import java.util.*; 
import java.util.zip.*; 
import java.util.regex.*; 

public class bug1515 extends PApplet {

// a class definition that does something with things that extend PApplet
class Heythere<T extends PApplet>{
}

// method definition which can do things with papplet
public <T extends PApplet> void doSomething( T thing ){
}
    static public void main(String args[]) {
        PApplet.main(new String[] { "--bgcolor=null", "bug1515" });
    }
}
