SE-1021 Software Engineering II 10/28/2019 SE-1021 Software Engineering II Week 10, Class 2 Get ready for PollEverywhere! Testing & Debugging Jar Files BlocksMania Creating different kinds of tiles Using Icons Tomorrow: Presentations, no quiz Thursday: Bring computers: Instr. Evaluations Final Wednesday, February 26th, 11am-12:50pm (2014) (CC-121, Just for our section, 031) Select/write in-class questions In-class questions - Count lines? - Create components in loop? - Write file? Create start-of-class code: Choose what to cover: - Finish Factor out class - Finish? Move methods over to factored class - Class diagram? - Non-GUI class? - Repainting - Validating - Creating array of tiles - Making the char public (good?) - Editing the characters - Icons Dialog Icons? Game logic? EA diagram? etc. DISCUSS FURTHER? - Creating action listener that just calls another method – (In menu constructor) Muddiest Point - What would you like to see implemented next? Dr. Yoder
Jar Files Debugging the Jar File SE1021 10/28/2019 Jar Files Debugging the Jar File <Windows>+r cmd <ENTER> D: cd MyDocs\Desktop cd username java -jar InClassSE1021.jar (You can type <TAB> to complete a path, kind of like alt-enter in IntelliJ) Then you can see the output… and hopefully go back to IntelliJ and fix. SE-1021 Dr. Josiah Yoder Slide style: Dr. Hornick Dr. Yoder
Slide style: Dr. Hornick Jar Files Polls: Creating the JAR file? Creating the ZIP file for demo? SE-1021 Dr. Josiah Yoder Slide style: Dr. Hornick
Slide style: Dr. Hornick http://www.polleverywhere.com/multiple_choice_polls/pynwUaK8ChVGMCb SE1021 10/28/2019 JAR file SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick Dr. Yoder
Slide style: Dr. Hornick http://www.polleverywhere.com/multiple_choice_polls/fIoBkSPOkDmAmBa SE1021 10/28/2019 ZIP file SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick Dr. Yoder
Slide style: Dr. Hornick http://www.polleverywhere.com/multiple_choice_polls/iRwqXuHUZ4DA0FR SE1021 10/28/2019 for(int col = 0; col<numCols && col+1<line.length(); col++) { c = line.charAt(col+1); } SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick Dr. Yoder
Slide style: Dr. Hornick Image Icons http://docs.oracle.com/javase/tutorial/uiswing/components/icon.html SE-1021 Dr. Josiah Yoder Slide style: Dr. Hornick
Slide style: Dr. Hornick http://www.polleverywhere.com/multiple_choice_polls/p5jgSY3vsS8BP2d SE1021 10/28/2019 multi SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick Dr. Yoder
Slide style: Dr. Hornick http://www.polleverywhere.com/free_text_polls/b6jFBvuUdqyTlIT SE1021 10/28/2019 (other) SE-2811 Dr. Josiah Yoder Slide style: Dr. Hornick Dr. Yoder