Implement copy action

This commit is contained in:
2025-02-19 11:27:45 +01:00
parent b4eac668c8
commit aea90f5a93
8 changed files with 58 additions and 14 deletions

View File

@@ -3,7 +3,6 @@ package ovh.gasser.newshapes;
import ovh.gasser.newshapes.shapes.SCircle;
import ovh.gasser.newshapes.shapes.SCollection;
import ovh.gasser.newshapes.shapes.SRectangle;
import ovh.gasser.newshapes.shapes.Shape;
import ovh.gasser.newshapes.ui.ShapesView;
import javax.swing.*;
@@ -12,7 +11,7 @@ import java.awt.*;
public class App {
public static final Dimension WIN_SIZE = new Dimension(800, 600);
private Shape model;
private SCollection model;
private App() throws HeadlessException {
final JFrame frame = new JFrame("Reactive shapes");