How to render a nested Jpanel using the paint method in Java Swing?

I need to make a small app where a background picture will be several dials with changing values.
I can these dials positioning using GridBagLayout, but don't know how in this case to make a background image for the panel.
I'm using the paint method draw this background image manually, but in this case I do not know how to draw these dials(they JPanel).
In extreme cases, it can draw an all in one the paint method, but it will be just monstrous
April 3rd 20 at 18:49
0 answer

Find more questions by tags JavaSwing