[Solved] JDialog doesn’t respect dimensions of child components
If I don’t define dimensions, how do I ensure the whole background I’m painting is displayed? You could use a JLabel to display the ImageIcon. The size of the label will be the size of the image. You then set the layout manager of the label so you can add components to it. Edit: do … Read more