PV 168 Seminar 04 Agenda - Projects: Next Steps - Seminar task - Seminar task reflection Project: Next Steps ● Read the assignment ● Try to design how the application will look like ○ Keep in mind that result is desktop application, not the web application ○ Follow the standards and conventions for desktop applications ○ Application should be user friendly ● The next step is a meeting with the customer (one of the seminar tutors) ○ Clarification of the assignment (do not assume anything, ask instead!) ○ Preliminary approval of the GUI (via screenshots, wireframes, or so...) ○ The meeting duration is 30 minutes ○ More instructions will be communicated via e-mails Seminar task - You will be now split to teams consisting of four students - Create and push the branch (see the next slides) - Refactor the code (see the next slides) - You have 60 minutes to solve all the tasks - If you need any help, Ask for Help in Zoom Working with branches in Git ● Clone the project (if you haven’t done it yet) ● Create new local branch ○ based on commit 168b78c6 (current head of master branch) ○ with name week04-group0X-roomY (0X is seminar group, Y is breakout room number) ○ If you from group PV168/01 and breakout room 3, branch name is week04-group01-room3 ● Pavel Hrdina or Petr Adámek will give you write access to calculator repository ○ Only one person per breakout room - the one who will use the computer for coding ○ Petr or Pavel will visit your breakout room to ask who is this person ○ In the meantime work on other tasks ● Push the branch to origin repository Seminar task ● Implement a new power operation represented as ^ (ab is written as a^b). ○ 2^3=8.0 ○ 2^0.5=1.4142135623730951 ○ Don’t forget the tests (you can use the ones from the first seminar) ● Modify the application to show 2 independent calculator windows ○ Make sure both windows work correctly ● Fix the layout of the application ○ See https://is.muni.cz/auth/el/fi/podzim2020/PV168/um/seminare/GridBagLayoutExample.java ● If you still have time, you can fix other bugs identified in the second seminar ○ Integer results should be displayed without the “.0” suffix ○ Pressing a number after previous evaluation should throw away its result ○ Decimal separator can only be present once in a number ○ ... Link to Slides https://is.muni.cz/auth/el/fi/podzim2020/PV168/um/seminare/PV168-seminar-04.pdf Conclusion Any questions?