If you want to use this as a clean starter project:
๐งฑ Base app with a custom JPanel template
JPanel-Focus
๐ฎ Game loop, FPS counter, Runnable/Thread
Game-Focus
๐งฐ Swing components (buttons, sliders, etc.)
Component-Focus
#!/bin/bash
read -p "Enter GitHub username: " user
read -p "Enter branch to clone (e.g., Game-Focus): " branch
read -p "Enter target folder name: " folder
git clone --branch "$branch" --single-branch "https://github.com/$user/JFrameTemplate.git" "$folder"
cd "$folder" || exit
rm -rf .git # Remove Git history for a clean start
echo "โ
Project '$folder' cloned from '$user' on branch '$branch'"
You can optionally include this too:
git init
git add .
git commit -m "Initial commit"
๐ก This repo uses multiple branches as independent templates. You do NOT need to create pull requests between them.