Class Notes (834,557)
Canada (508,597)
COMP 2710 (31)
Tina Yu (20)
Lecture

140303 - Ch 10 Gui.doc

2 Pages
90 Views
Unlock Document

Department
Computer Science
Course
COMP 2710
Professor
Tina Yu
Semester
Fall

Description
Ch 10GUI101 Frame WindowsJframeclass allows you to display a framepart of the javaxswingHas a title close buttonFive steps to create a Jframe1Construct an object of the Jframe class2Set the size of the frame3Set the title of the frame4Set the default close operationdefaults to keep on running must change to ExitOnClose5Make it visibleCan not draw directly on a JframeObjects must be constructed to display informationJcomponentJpanelJtextComponentJlabelTo add more then one compenent to a Frame they are added one on top of the other You want to add the compenents to the panelthen add the panel
More Less

Related notes for COMP 2710

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit