1 / 5

Introduction to GUI

Introduction to GUI. Zhen Jiang West Chester University zjiang@wcupa.edu. Outline. Basic items Advanced techniques Exercises. Basic Items. Windows (Code 12-1, p759) JFrame (Code 12-4, p763) Basic components (code 12-5, p766) Label Text field Button Event (Code 12-6, p773)

Download Presentation

Introduction to GUI

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to GUI Zhen Jiang West Chester University zjiang@wcupa.edu

  2. Outline • Basic items • Advanced techniques • Exercises

  3. Basic Items • Windows (Code 12-1, p759) • JFrame (Code 12-4, p763) • Basic components (code 12-5, p766) • Label • Text field • Button • Event (Code 12-6, p773) • Sample (http://www.cs.wcupa.edu/~zjiang/csc142review1.java)

  4. Advanced Techniques • Multiple events (Code 12-8, p783) • Layouts (table 12-5, p766) • Flowlayout (code 12-9, p788) • BorderLayout (code 12-10, p792, sample) • GridLayout (code 12-12, p799) • GridPanel (code 12-13, p801) • Buttons • Radio button (code 12-14, p806) • Check box (code 12-15, p812) • Color (code 12-7, p779) • File System (See the discussion on slides 35-38 in http://www.cs.wcupa.edu/~zjiang/csc141c.ppt)

  5. Complex sample (code 12-16, p819) • More details available at http://www.cs.wcupa.edu/~zjiang/csc142_java_sample.htm. • Group project

More Related