I would like to have a separate graphics window (along with a separate cartesian coordinate plane) inside a larger window using java.awt/javax.swing, I’ve drawn a picture to show you what I mean.

I have no idea how to do this, throwing some kind of literature at me that I can read to understand this better would be really great, a solution for my problem along with that would be awesome.
PS. I haven’t really tried anything, as I have no idea what to try.
I recommend downloading NetBeans to start with, as it is the easiest IDE for UI design I know of.
JPanelto your frame and call it something likedrawingCanvasPanel. This panel will be the drawing area. Don’t forget to override the Panel’spainComponentmethod in which you will draw your custom drawings and shapes using the panel’sGraphics.