28.10.2014 Views

CSCI 102

CSCI 102

CSCI 102

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GUI Applications<br />

‣ Are quite different from command-line applications<br />

– Users have far more control over what happens next<br />

– Our code must be “ready” to handle what the user wants<br />

to do next<br />

• Execute a menu<br />

• Button gets clicked<br />

• Text typed into a text field<br />

• And so on<br />

‣ This makes GUI applications Event Based<br />

– An event is started by something with the hardware: keyboard,<br />

mouse, etc.<br />

‣ And complex in how things are “laid out”. We have<br />

menus, buttons, text fields, lists, combo boxes, etc.<br />

© Copyright 2013 Brent Nash & Mark Redekopp, All Rights Reserved<br />

2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!