Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added lib/mysql-connector-j-9.3.0.jar
Binary file not shown.
11 changes: 10 additions & 1 deletion src/Main.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
import javax.swing.*;
// Edited by JunRong for Assignment 2
import javax.swing.*; // Import Swing library for GUI components

public class Main {
public static void main(String[] args) {

// Create a new window from the AppGUI class
AppGUI window = new AppGUI();

// Adjust window size to fit components
window.pack();

// Display the window on the screen
window.setVisible(true);

// Close program when window is closed
window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
}