List players and a player cards in a GUI utilizing JAXB to unmarshal XML data representing Clash Royale player information and their respective cards. It consists of two main parts:
-
Listing Players:
- The
Controlador
class loads player data from the provided XML file (clash.xml
) using JAXB and displays the names of the players. - The main class for this functionality is
P1UF4.java
.
- The
-
GUI for Player Card Stats:
- The program provides a GUI where you can input a player's name, and it will display their cards and respective stats.
- The GUI is built using exported packages from NetBeans.
- This functionality is divided into several classes including
PRÀCTICA31JABXBindingIUnmarshaller.java
.
- List Players: View a list of Clash Royale players stored in the system.
- View Player Cards: Search for specific players by name see his card collection.
- This screenshot shows the initial state of the GUI before listing any players.
- It features a clean interface with menu options for various actions.
- After selecting the option to list players, the GUI updates to display the list of Clash Royale players.
- The screenshot includes a player list section with scroll down.
- When selecting a specific player, the GUI displays their card collection.
- The screenshot shows player card information, card collection, with scroll down.
- Java Development Kit (JDK)
- JAXB API (Included in JDK)
- NetBeans (For GUI functionality)
- Clone the repository.
- Open the project in NetBeans.
- Run the respective classes (
P1UF4.java
for listing players, and GUI classes for player card stats). - Ensure the
clash.xml
file is present in the correct location.
generated
: Contains JAXB-generated classes based on the XML schema.pràctica.pkg3.pkg1.jabx.binding.i.unmarshaller
: Contains the main logic and entry point for the project.clash.xml
: XML file containing Clash Royale player data.
- Execute the relevant classes (
P1UF4
for listing players, and GUI classes for player card stats). - Ensure the
clash.xml
file is present in the correct location.