MP hell MP hell MP hell MP hell

This commit is contained in:
2023-09-08 21:14:06 -05:00
parent f3d65894e2
commit 204f9db501
177 changed files with 1326 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.calebfontenot</groupId>
<artifactId>SwingTest</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<exec.mainClass>com.calebfontenot.swingtest.SwingTest</exec.mainClass>
</properties>
</project>

View File

@@ -0,0 +1,28 @@
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
*/
package com.calebfontenot.swingtest;
import javax.swing.*;
/**
*
* @author caleb
*/
// Hello.java (Java SE 8)
public class SwingTest extends JFrame{
public SwingTest() {
super("Hello World");
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
add(new JLabel("Hello, world!"));
pack();
setVisible(true);
}
public static void main(String[] args) {
SwingUtilities.invokeLater(SwingTest::new);
}
}