CSE 205 Study Guide - Midterm Guide: Quicksort, Standard Streams, Thrice

257 views33 pages

Document Summary

Recursion, merge sort, and quick sort 28. Searching, sorting, and recursion review and practice 31. They are heavy weight container classes that can be displayed alone and are used to contain other components. Jframe: the container that holds other swing user-interface components in java graphical applications. It can be used in a java program with a main method (applications: adding user-interface components to a frame: Design a subclass of jframe and store the components as instance variables. Initialize them in the constructor of your subclass. Jdialog/joptionpane: a popup window or message box generally used as a temporary window to receive information from a user or provide notification that an event has occurred, a dialog box is a temporary graphical window that pops up. Applets: an applet is executed by web browser and some of the methods are specifically designed for the web, public void init() initializes the applet. 3: public void start() starts the applet.