User Tools

Site Tools


celebrity_lab

Celebrity Lab

Student Lab Manual. Activities 1 and 2 involve Socrative.

Starter Code (needs to be unzipped

CelebrityTester.java tests the Celebrity class

CelebrityRunner.java

CelebrityFrame.java

CelebrityPanel.java

StartPanel.java

Java GUI tutorial

Mr. Henrichsen's Tour of the Celebrity Lab Code

If you would like to quickly load up some celebrities, add this method to CelebrityGame, and call it in the constructor after initializing the celebGameList.

 public void loadUpCelebrityList(ArrayList<Celebrity> list)
    {
        list.add(new Celebrity(" Keanu Reeves"," I dodged bullets in slow motion"));
        list.add(new Celebrity(" Barney","I am purple"));
        list.add(new Celebrity(" Dwayne Johnson"," wrestler and movie star"));
        list.add(new Celebrity(" the hamburger"," Ronald McDonald evil henchman"));
        list.add(new Celebrity(" Elmo"," he lives on Sesame Street"));
        list.add(new Celebrity(" Dwayne Johnson"," his nickname is another word for Boulder"));
        list.add(new Celebrity(" Barney"," big, purple, dinosaur tail"));
        list.add(new Celebrity(" Ewan McGregor"," hello there"));
        list.add(new Celebrity(" Vladimir Putin"," I am the richest man in the world, but I still miss the old days"));
        list.add(new Celebrity(" Clayton Kershaw"," my future is uncertain, but I believe my best color is blue"));
        list.add(new Celebrity(" Amy Adams"," I was in the arrival movie"));
        list.add(new Celebrity(" Big Bird"," I am 6 feet tall and covered with yellow feathers"));
        list.add(new Celebrity(" Kanye West"," I made college dropout"));
        list.add(new Celebrity("Jungkook"," youngest member of BTS"));
        list.add(new Celebrity(" Kanye West"," I make music and sell sneakers"));
        list.add(new Celebrity(" Johnny Depp","I am a sparrow that would like a black pearl"));
        //2023
        list.add(new Celebrity("Walter White-Heisenburg","I am a cook like no other.  My recipes are not even eaten.  I like what I do until the die I die.  I love my baby, the color of the sky."));
        list.add(new Celebrity("The Rock","Larger than a pepple but smaller that a boulder"));
        list.add(new Celebrity("Tom Holland","It says Holland but I'm not Dutch"));
        list.add(new Celebrity("Tom Cruise","I start as a cartoon cat, and end as journey across the sea."));
        list.add(new Celebrity("Han Solo","Who is the lonlyest in Star Wars? "));
        list.add(new Celebrity("Kanye West","I made graduation"));
        list.add(new Celebrity("Christian Bale","I am like a bunch of hay in a church."));
        list.add(new Celebrity("Sal Goodman","I fight for Albequerque, you better call me."));
        list.add(new Celebrity("Batman","Vengeance"));
        list.add(new Celebrity("Mario","I fight spikey turtles"));
        list.add(new Celebrity("Curious George","I want to know more about the Man who wears a yellow Hat."));
    }
    
celebrity_lab.txt · Last modified: 2023/03/02 23:16 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki