Main Window vs. Dialog Box - PowerPoint PPT Presentation

1 / 5
About This Presentation
Title:

Main Window vs. Dialog Box

Description:

Title: PowerPoint Presentation Last modified by: mbpr Created Date: 1/1/1601 12:00:00 AM Document presentation format: On-screen Show (4:3) Other titles – PowerPoint PPT presentation

Number of Views:66
Avg rating:3.0/5.0
Slides: 6
Provided by: uae95
Learn more at: http://cs350.cs.ua.edu
Category:
Tags: box | dialog | java | main | window

less

Transcript and Presenter's Notes

Title: Main Window vs. Dialog Box


1
Main Window vs. Dialog Box
Main Window
Dialog Box
Initialization
Result
2
Dialog Box
  • Modal and modeless dialog box
  • Common and custom dialog boxes
  • Bring up and down a dialog box
  • Initialization from main window to dialog box
  • Data returning from the dialog box
  • GUI components (Controls)
  • OK and Cancel in a modal dialog box

3
GUI Components(Controls)
  • Label, Textbox, Button, Check Box, Radio Button,
    List,
  • Properties and event handlers of GUI components

4
Controls in Java (1)
  • Control Properties in common (Name), Text,
    Location, Size, Visible, Enabled
  • JLabel (getText, setText)
  • JButton (getText, setText ActionListner
    actionPerformed)
  • JTextField (getText, setText ActionListner
    actionPerformed)

5
An Example
Write a Comment
User Comments (0)
About PowerShow.com