How to create a control panel next to a Canvas object in a JFrame?

I wanted to do something like this. It’s basically a JFrame consisting of a Canvas on one side, and something on the other side. I don’t know what this should be, but I’m guessing it may be another Canvas to work on.

How will I go about doing this?