$30 off During Our Annual Pro Sale. View Details »

CSE205 Lecture 23

CSE205 Lecture 23

Object-Oriented Programming and Data Structures
Connecting the Dots II
(202111)

Javier Gonzalez-Sanchez
PRO

October 03, 2021
Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. jgs
    CSE 205
    Object-Oriented Programming and
    Data Structures
    Lecture 23: Connecting the Dots II
    Dr. Javier Gonzalez-Sanchez
    [email protected]
    javiergs.engineering.asu.edu | javiergs.com
    PERALTA 230U
    Office Hours: By appointment

    View Slide

  2. jgs
    Let’s Do This
    Assignment 05

    View Slide

  3. Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 4
    jgs
    Release 1. GUI

    View Slide

  4. View Slide

  5. Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 6
    jgs
    Release 2. Action Listeners

    View Slide

  6. View Slide

  7. Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 8
    jgs
    Release 3. Draw Area

    View Slide

  8. View Slide

  9. View Slide

  10. Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 11
    jgs
    Release 4. Mouse Listeners

    View Slide

  11. View Slide

  12. Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 13
    jgs
    MouseListener
    § public void mousePressed (MouseEvent e) {}
    § public void mouseClicked(MouseEvent e) { }
    § public void mouseReleased(MouseEvent e) { }
    § public void mouseEntered(MouseEvent e) { }
    § public void mouseExited(MouseEvent e) { }
    § public void mouseDragged(MouseEvent me) { }
    § public void mouseMoved(MouseEvent e) { }

    View Slide

  13. Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 14
    jgs
    MouseMotionListener
    § public void mouseDragged(MouseEvent me) { }
    § public void mouseMoved(MouseEvent e) { }

    View Slide

  14. Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 15
    jgs
    Release 5. Draw + Mouse

    View Slide

  15. View Slide

  16. Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 17
    jgs
    Release 5. Stack of Shapes

    View Slide

  17. We have a
    problem!

    View Slide

  18. Javier Gonzalez-Sanchez | CSE205 | Fall 2021 | 19
    jgs
    Questions

    View Slide

  19. jgs
    CSE 205 Object-Oriented Programming and Data Structures
    Javier Gonzalez-Sanchez, Ph.D.
    [email protected]
    Fall 2021
    Copyright. These slides can only be used as study material for the class CSE205 at Arizona State University.
    They cannot be distributed or used for another purpose.

    View Slide