List of usage examples for java.awt Frame subclass-usage
From source file misc.SplashDemo.java
public class SplashDemo extends Frame implements ActionListener { static void renderSplashFrame(Graphics2D g, int frame) { final String[] comps = { "foo", "bar", "baz" }; g.setComposite(AlphaComposite.Clear); g.fillRect(120, 140, 200, 40); g.setPaintMode();
From source file FileLister.java
/**
* This class creates and displays a window containing a list of files and
* sub-directories in a specified directory. Clicking on an entry in the list
* displays more information about it. Double-clicking on an entry displays it,
* if a file, or lists it if a directory. An optionally-specified FilenameFilter
* filters the displayed list.
From source file edu.cornell.mannlib.vitro.webapp.controller.freemarker.ImageUploaderThumbnailerTester_2.java
/**
* This is not a unit test, so it is not named BlahBlahTest.
*
* Instead, it's a test harness that creates thumbnails and displays them in a
* window on the screen. It takes human intervention to evaluate.
*
From source file SimpleCollision2.java
/**
* This class demonstrates the use of two collision detectors to overcome the
* problem of an object colliding with more than one object at a time. The white
* cube is movable by dragging it with the right mouse button.
*
* @see CollisionDetector2
From source file net.mybox.mybox.ClientGUI.java
/** * The GUI version of the client */ public class ClientGUI extends java.awt.Frame { private static Client client = null;
From source file SimpleCollision.java
/**
* This class demonstrates the use of the CollisionDetector class to perform
* processing when objects collide. When this program is run the white cube can
* be selected and moved by dragging on it with the right mouse button. You
* should notice that there is a problem if the movable cube comes into contact
* with both of the static cubes at one time. A way round this is given in the
From source file edu.cornell.mannlib.vitro.webapp.imageprocessor.jai.JaiImageProcessorTester2.java
/**
* This is not a unit test, so it is not named BlahBlahTest.
*
* Instead, it's a test harness that creates thumbnails and displays them in a
* window on the screen. It takes human intervention to evaluate.
*
From source file SimpleMorph2.java
/**
* This uses the class SimpleMorphBehaviour to animate a shape between two key
* shapes: a cube and a pyramid. The Morph object is the same as that used in
* the program SimpleMorph, but this time we use an alpha generator to drive the
* animation.
*
From source file DummyAppletContext.java
/**
* DummyAppletContext - implements AppletContext and AppletStub to allow any
* applet to easily run as an application. The only thing it can't do is
* access URL's. Applet parameters are entered on the command line with
* name as one word and value as the next.
*
From source file ShowString.java
class ShowString extends Frame {
FontMetrics fontM;
String outString;
ShowString(String target, String title) {