From 8d99b89d626efcc273b23050857a158ba3300e75 Mon Sep 17 00:00:00 2001 From: creme332 <65414576+creme332@users.noreply.github.com> Date: Fri, 12 Jul 2024 15:54:12 +0400 Subject: [PATCH] move RoundedMenu to view/common --- src/main/java/com/github/creme332/view/MenuBar.java | 1 + .../com/github/creme332/view/{ => common}/RoundedMenu.java | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) rename src/main/java/com/github/creme332/view/{ => common}/RoundedMenu.java (95%) diff --git a/src/main/java/com/github/creme332/view/MenuBar.java b/src/main/java/com/github/creme332/view/MenuBar.java index 793d0cd8..54456537 100644 --- a/src/main/java/com/github/creme332/view/MenuBar.java +++ b/src/main/java/com/github/creme332/view/MenuBar.java @@ -19,6 +19,7 @@ import com.github.creme332.model.MenuModel; import com.github.creme332.model.Mode; +import com.github.creme332.view.common.RoundedMenu; import org.kordamp.ikonli.bootstrapicons.BootstrapIcons; diff --git a/src/main/java/com/github/creme332/view/RoundedMenu.java b/src/main/java/com/github/creme332/view/common/RoundedMenu.java similarity index 95% rename from src/main/java/com/github/creme332/view/RoundedMenu.java rename to src/main/java/com/github/creme332/view/common/RoundedMenu.java index 8cbbeb79..f4366eee 100644 --- a/src/main/java/com/github/creme332/view/RoundedMenu.java +++ b/src/main/java/com/github/creme332/view/common/RoundedMenu.java @@ -1,4 +1,4 @@ -package com.github.creme332.view; +package com.github.creme332.view.common; import javax.swing.JMenu; import javax.swing.SwingConstants; @@ -7,8 +7,6 @@ import javax.swing.event.MenuEvent; import javax.swing.event.MenuListener; -import com.github.creme332.view.common.RoundedBorder; - import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D;