โ— Shell
clean mode source โ†—

GitHub - ennurluaf/Java-Framework: A clean, modular Java Swing/JFrame starter project with multiple branches for different UI development focuses.

๐Ÿš€ JPanel Starterpack

If you want to use this as a clean starter project:


๐Ÿงฑ Base app with a custom JPanel template


๐ŸŽฎ Game loop, FPS counter, Runnable/Thread


๐Ÿงฐ Swing components (buttons, sliders, etc.)

#!/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'"

๐Ÿ”„ Reinitialize with New Git

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.