1 / 5

“Alice  Java” workshop

“Alice  Java” workshop. Dr. Jeyakesavan Veerasamy Email: jeyv@utdallas.edu Website (for all course materials): www.utdallas.edu/~jeyv/Alice_Java www.utdallas.edu/~ jeyv/AdvJava. Contents. C++ features Introduction to Java Classes & Objects Inheritance GUI applications Alice

ailsa
Télécharger la présentation

“Alice  Java” workshop

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. “Alice  Java” workshop Dr. Jeyakesavan Veerasamy Email: jeyv@utdallas.edu Website (for all course materials): www.utdallas.edu/~jeyv/Alice_Java www.utdallas.edu/~jeyv/AdvJava

  2. Contents • C++ features • Introduction to Java • Classes & Objects • Inheritance • GUI applications • Alice • Alice  Java

  3. Plan for today (June 19th) • Add Clear button & additional panels • Review Complex GUI app • Memory game • Back to Course example in C++ and Java : Quick review • Play with Bouncing ball (Timer) and Draw boxes (mouse events) • “Snakes” game?

  4. Memory game : Logic for action listener IF first click Record first click image # (variable firstClick) ELSE Record second click image # (variable secondClick) For second click, check whether there is a match. If there is no match, do myTimer.start();

  5. Alice Software • My files were created using a new version of Alice. It can be downloaded from http://www.alice.org/sigcse2012/ • Netbeans plug-in can be downloaded from there too.

More Related