Displaying an Image file inside the BorderLayout GUI
I have a quick question regarding the use of image files (.png) in Java's GUI.
I'm working on a public class that extends JPanel, which uses the BorderLayout to display a window. I know how to add sliders, buttons, etc to my BorderLayout window, but what I'm trying to do is display an image.
How can I do this?
Thanks for reading this.
Or is there any other way to display some sort of image in BorderLayout?
Message was edited by: lucas27