2 GUIs for Java Swing should be implemented:
1- I have a list of items that comprise of:
-Link to image
-Year of prod
I need a GUI in swing to be implemented to rate them. The method getRandomItems() retrieves 5 random elements and they should be placed on the GUI. Under each Item info there are 5 stars, and clicking on any will invoke rateItem(user_id, id, rating). Considering that all the methods are implemented, I only need a GUI for this (mockup attached). Once can use dummy information to fill out the page. I just need the layout. Integration will be made on my own.
In here there should 2 buttons – “Get Random” (calling getRandomItems() again to generate another set of items) and “Test run” (no implementation)
2- Each User has the following attributes: Name, Lastname, Age, City, Country, Login and Password. Considering this, I need simple registration form which gest an inputs and assigns to the variables. Integration will be made on my own.
In here only one button – “Register”, which invokes insert(Name, Lastname, Age, City, Country, Login, Password) methods.
Please note, that I don’t need anything special, simply GUI and mentioned buttons with corresponding actionhandlers