diff --git a/build.gradle.kts b/build.gradle.kts index 194edd2..d5366eb 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,13 @@ +/* + * CDPrintable: A program that prints labels with track listings for your CD cases. + * Copyright (C) 2025 Alexander McLean + * + * This source code is licensed under the GNU General Public License v3.0 + * found in the LICENSE file in the root directory of this source tree. + * + * This is the main build file. + */ + plugins { id("java") id("application") diff --git a/settings.gradle.kts b/settings.gradle.kts index 2dab682..05ad671 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,2 +1,12 @@ +/* + * CDPrintable: A program that prints labels with track listings for your CD cases. + * Copyright (C) 2025 Alexander McLean + * + * This source code is licensed under the GNU General Public License v3.0 + * found in the LICENSE file in the root directory of this source tree. + * + * This is a settings file for the Gradle build system. + */ + rootProject.name = "CDPrintable" diff --git a/src/main/java/com/CDPrintable/Constants.java b/src/main/java/com/CDPrintable/Constants.java index e869dac..fa86e2f 100644 --- a/src/main/java/com/CDPrintable/Constants.java +++ b/src/main/java/com/CDPrintable/Constants.java @@ -1,3 +1,13 @@ +/* + * CDPrintable: A program that prints labels with track listings for your CD cases. + * Copyright (C) 2025 Alexander McLean + * + * This source code is licensed under the GNU General Public License v3.0 + * found in the LICENSE file in the root directory of this source tree. + * + * This class defines program constants. + */ + package com.CDPrintable; public class Constants { diff --git a/src/main/java/com/CDPrintable/Main.java b/src/main/java/com/CDPrintable/Main.java index dae9822..fad2b6c 100644 --- a/src/main/java/com/CDPrintable/Main.java +++ b/src/main/java/com/CDPrintable/Main.java @@ -1,3 +1,13 @@ +/* + * CDPrintable: A program that prints labels with track listings for your CD cases. + * Copyright (C) 2025 Alexander McLean + * + * This source code is licensed under the GNU General Public License v3.0 + * found in the LICENSE file in the root directory of this source tree. + * + * This class contains the main method to run the program. + */ + package com.CDPrintable; public class Main { diff --git a/src/main/java/com/CDPrintable/MusicBrainzRequest.java b/src/main/java/com/CDPrintable/MusicBrainzRequest.java index efb6fc4..935ddab 100644 --- a/src/main/java/com/CDPrintable/MusicBrainzRequest.java +++ b/src/main/java/com/CDPrintable/MusicBrainzRequest.java @@ -1,3 +1,13 @@ +/* + * CDPrintable: A program that prints labels with track listings for your CD cases. + * Copyright (C) 2025 Alexander McLean + * + * This source code is licensed under the GNU General Public License v3.0 + * found in the LICENSE file in the root directory of this source tree. + * + * This class helps you build a URL request to the MusicBrainz API. + */ + package com.CDPrintable; /** diff --git a/src/main/java/com/CDPrintable/ProgramWindow.java b/src/main/java/com/CDPrintable/ProgramWindow.java index 88018ca..3f0b5eb 100644 --- a/src/main/java/com/CDPrintable/ProgramWindow.java +++ b/src/main/java/com/CDPrintable/ProgramWindow.java @@ -1,3 +1,13 @@ +/* + * CDPrintable: A program that prints labels with track listings for your CD cases. + * Copyright (C) 2025 Alexander McLean + * + * This source code is licensed under the GNU General Public License v3.0 + * found in the LICENSE file in the root directory of this source tree. + * + * This class creates the main window for the program. + */ + package com.CDPrintable; import javax.swing.*; diff --git a/src/main/java/com/CDPrintable/UserAgent.java b/src/main/java/com/CDPrintable/UserAgent.java index 0ad9337..c957cd5 100644 --- a/src/main/java/com/CDPrintable/UserAgent.java +++ b/src/main/java/com/CDPrintable/UserAgent.java @@ -1,3 +1,13 @@ +/* + * CDPrintable: A program that prints labels with track listings for your CD cases. + * Copyright (C) 2025 Alexander McLean + * + * This source code is licensed under the GNU General Public License v3.0 + * found in the LICENSE file in the root directory of this source tree. + * + * This class store User Agent information. + */ + package com.CDPrintable; import javax.swing.JLabel; diff --git a/src/main/java/com/CDPrintable/WebRequest.java b/src/main/java/com/CDPrintable/WebRequest.java index 67f0a81..bd10083 100644 --- a/src/main/java/com/CDPrintable/WebRequest.java +++ b/src/main/java/com/CDPrintable/WebRequest.java @@ -1,3 +1,13 @@ +/* + * CDPrintable: A program that prints labels with track listings for your CD cases. + * Copyright (C) 2025 Alexander McLean + * + * This source code is licensed under the GNU General Public License v3.0 + * found in the LICENSE file in the root directory of this source tree. + * + * This class sends web requests and returns the result. + */ + package com.CDPrintable; import java.io.BufferedReader;