Java Canvas Drawing
问题 Edit 4: A new formatting for the question BACKGROUND: I have a class, Window, that extends JFrame, In the JFrame I have a canvas. To the canvas I add custom objects. The only purpose of this object(for argumenst sake) is to print a circle with text to the canvas. You can add multiple of these custom components to the canvas. When you add a new custom component it is placed 20 pixels(for now) away from the previous component added to the canvas. PROBLEM: The canvas places the second circle at