Ok, ive looked through the java documentation and have a few questions.
1)How can i destroy a JFrame without ending an application? I noticed that it has a .destroy() method, but it contains no code. Would .dispose() and .setVisible(false) work (or the other way around)?
2)Is it possible to set the Background of a JFrame to an image such as a gif, jpg or bmp?
3)How can i place an image(gif,jpg,bmp) at a certain point in my JFrame and size it?
4)Finally, how can i position and size the JFrame to my liking? Is it possible to have the window automatically maximized upon its creation? Can the minimize option be disabled?
1)How can i destroy a JFrame without ending an application? I noticed that it has a .destroy() method, but it contains no code. Would .dispose() and .setVisible(false) work (or the other way around)?
2)Is it possible to set the Background of a JFrame to an image such as a gif, jpg or bmp?
3)How can i place an image(gif,jpg,bmp) at a certain point in my JFrame and size it?
4)Finally, how can i position and size the JFrame to my liking? Is it possible to have the window automatically maximized upon its creation? Can the minimize option be disabled?