Java Reference
In-Depth Information
handling, layout managers, and Swing components. The Chapter 7: Supplements
section provides a tutorial on creating dialogs in the Swing framework. In addition,
it discusses GUI development with just the basic AWT components.
The Chapter 7: Te ch section discusses the above Histogram applet with
user interface controls. It also discusses the creation of non-uniform random
number distributions with techniques such as the transformation and the rejection
methods. A Histogram subclass called HistogramStat that provides more
extensive statistical measures of the distribution is developed.
The Chapter 7: Physics section looks further at the generation of non-uniform
distributions and presents the histogram technique for creating custom distribu-
tions. It also gives a simple example of a Monte Carlo integration.
References
[1] Lesson: Writing Event Listeners - The Java Tutorial , Sun Microsystems,
http://java.sun.com/docs/books/tutorial/uiswing/events/ .
[2] Lesson: Laying Out Components within a Container - The Java Tutorial , Sun
Microsystems, http://java.sun.com/docs/books/tutorial/
uiswing/layout/ .
[3] Trail: Creating a GUI with JFC/Swing - The Java Tutorial , Sun Microsystems,
http://java.sun.com/docs/books/tutorial/uiswing/ .
Search WWH ::




Custom Search