Prerequisites
Before you begin, ensure you have the following installed on your system:Java Development Kit
JDK 20 or higher required
Apache Maven
Maven 3.6+ for building the project
Installation
Verify Java Version
Check that you have the correct Java version installed:You should see Java 20 or higher in the output.
Running the Application
Using Maven
The simplest way to run MatriculaUniPoo is using Maven:pom.xml:
pom.xml
Using Java Directly
Alternatively, run the compiled JAR file directly:From IDE
If you’re using an IDE like NetBeans, IntelliJ IDEA, or Eclipse:- Import the project as a Maven project
- Locate the main class at
src/main/java/logica/Main.java - Right-click and select “Run”
The application entry point is the
Main class, which initializes the welcome screen.Application Flow
Once launched, MatriculaUniPoo follows this workflow:Welcome Screen
The application starts with the The window is centered on screen with
Inicio (Welcome) window:logica/Main.java
setLocationRelativeTo(null).Student Registration
Click the REGISTRARSE button to open the registration form where students enter:
- Nombre (First Name)
- Apellido (Last Name)
- DNI (National ID)
- Contraseña (Password)
igu/Registrar.java
Course Enrollment
After successful registration, students can select courses from five subjects:
- Matemática (Mathematics)
- Historia del Perú (History of Peru)
- Literatura (Literature)
- Cívica (Civics)
- Ciencias (Sciences)
Project Structure
Understanding the project layout will help you navigate the codebase:Key Components
Data Models
The application uses two main data models:GUI Windows
Each window is a standalone JFrame with navigation between screens:igu/Inicio.java
Windows are hidden rather than disposed when navigating, allowing users to return to previous screens.
Troubleshooting
Application Won’t Start
If the application fails to launch:- Verify Java version: Ensure Java 20 or higher is installed
- Check dependencies: Run
mvn dependency:treeto verify all dependencies are downloaded - Clean and rebuild: Execute
mvn clean installto rebuild from scratch
Missing AbsoluteLayout Error
If you see errors related toorg.netbeans.lib.awtextra.AbsoluteLayout:
Window Display Issues
If GUI windows don’t display correctly:- Ensure you’re running on a system with a graphical environment
- On Linux, you may need to set the
DISPLAYenvironment variable - Try different Java Swing Look and Feel settings
Next Steps
Now that you have MatriculaUniPoo running, explore these topics:Architecture
Learn about the application’s design and structure
Development Guide
Start contributing to the project
Components
Explore the component documentation
Data Model
Understand the domain models