Back

Normal Window

This example shows how to convert FSEM experiments into normal windowed applications. The NormalWindow class in the psychWithJava package simplifies converting FSEM experiments using the FullScreen class into normal windowed applications. You will usually need to change only a few lines of your FSEM code to convert it to normal window application. Normal window is necessary for creating Java Applets. But it is also usefull when you are testing a new experiment and don't want to capture the entire screen every time during the test. See also NormalWindow in the API documentation.

HPWindow

This program is the normal window version of the HelloPsychophysicist example. Rather than capturing the whole screen, it opens a normal window and displays a line of text and two images on a black blackground.

Precompiled program

Precompiled program is in HPWindow.jar, which is a self running file. You can run it directly from your browser. Alternatively, you can save the file on your local disk and run it with a mouse click or you can run it from a terminal (MS DOS prompt) with the command java -jar HPWindow.jar. Note that running the jar file doesn't require installing the psychWithJava package. (see HelloPsychophysicist for more information on jar files).

Files needed to build the project

Building and running the project

See HelloPsychophysicist for instructions on how to build and run java projects.

Description of the project

  • Pure Java version Coming soon...(see the comments in the code for now)
  • Matlab version
  • Mathematica version