If you make a one line sketch, and see the generated Java file, you can see the default imports:
Code:import processing.core.*;
import processing.xml.*;
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.*;
Indeed, I was wrong, I supposed all AWT was removed but there is still some bases remaining, so sorry for the noise!
For the record, this list comes from the preproc.imports.list property from preferences.txt file:
Quote:preproc.imports.list=java.applet.*,java.awt.Dimension,java.awt.Frame,java.awt.ev
ent.MouseEvent,java.awt.event.KeyEvent,java.awt.event.FocusEvent,java.awt.Image,
java.io.*,java.net.*,java.text.*,java.util.*,java.util.zip.*,java.util.regex.*
If you frequently do an import, you can add it there...