Draw on top of picture
Java
1
Posts
1
Posters
0
Views
1
Watching
-
I have a picture added to my jpanel content pane like this:
imagePanel = new ImagePanel(); contentPane.add(imagePanel, BorderLayout.CENTER);
File selectedFile = new File("map.jpg");
currentImage = ImageFileManager.loadImage(selectedFile);imagePanel.setImage(currentImage); frame.pack();
How I can draw a circle on top of that loaded picture? Thanks in advance, Im new in this area.