Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1007 Bytes

File metadata and controls

56 lines (39 loc) · 1007 Bytes

Java-Framework

🚀 JPanel Starterpack

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'"

🔄 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.