Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/efrain-svg/Potes_Freddy_ProgInterfacesG_U3/llms.txt

Use this file to discover all available pages before exploring further.

The Maven build path downloads FlatLaf from Maven Central, compiles all source packages, and packages the result into a JAR. It is the simpler path if you already have Maven installed, because dependency management is handled automatically.

Prerequisites

Build steps

1

Clone the repository

git clone <repository-url>
Then navigate into the project directory. In PowerShell:
Set-Location "C:\path\to\Potes_Freddy_ProgInterfacesG_U3"
2

Run the Maven build

mvn clean package
Maven will:
  1. Download flatlaf-3.6 and flatlaf-extras-3.6 from Maven Central (first run only)
  2. Compile all .java files under src/
  3. Copy *.properties and *.svg resource files into the output
  4. Package everything into target/u1c5-agc-1.0.0.jar
The pom.xml sets sourceDirectory to src and includes **/*.properties and **/*.svg as resources, so i18n property files and SVG icons are bundled automatically.
3

Verify the build succeeded

A successful build ends with:
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  X.XXX s
The output JAR is at target/u1c5-agc-1.0.0.jar.
4

Run the application

If the JAR manifest includes a Main-Class entry, run:
java -jar target/u1c5-agc-1.0.0.jar
If the manifest is not configured with a main class, specify the classpath and entry point explicitly:
java -cp "target/u1c5-agc-1.0.0.jar;lib/flatlaf-3.6.jar;lib/flatlaf-extras-3.6.jar;lib/jsvg-1.4.0.jar" vista.ventana
Use : instead of ; as the classpath separator on Linux and macOS.

PowerShell quick-run (from README)

The README provides a combined PowerShell snippet for navigating, building, and running in one block:
Set-Location "C:\Users\Freddy Potes\IdeaProjects\u1c5_AGC"
mvn clean package
After a successful build, launch with:
java -cp ".\out;.\lib\flatlaf-3.6.jar;.\lib\flatlaf-extras-3.6.jar;.\lib\jsvg-1.4.0.jar" vista.ventana
The README’s run command references .\out rather than target/, which corresponds to the manual-build output directory. If you are running after a Maven build, substitute target/u1c5-agc-1.0.0.jar for .\out in the -cp argument, or use the Maven-packaged JAR directly with -jar.

What Maven downloads

The pom.xml declares two dependencies, both resolved from Maven Central:
pom.xml
<dependency>
    <groupId>com.formdev</groupId>
    <artifactId>flatlaf</artifactId>
    <version>3.6</version>
</dependency>
<dependency>
    <groupId>com.formdev</groupId>
    <artifactId>flatlaf-extras</artifactId>
    <version>3.6</version>
</dependency>
jsvg-1.4.0 is a transitive dependency of flatlaf-extras and is resolved automatically. On subsequent builds all three JARs are served from the local Maven cache (~/.m2/repository) without re-downloading.

Build docs developers (and LLMs) love