Im not sure how I would do that. let see if i can explain it better.
my code:
public class menuClass(){
//constructor
//methods to create JFrame and buttons
public void updatePic(){
//code to update picture
}
//listener for Configuration button that calls other class...
Hi, I am writing a Java program that uses a menu that is set up as a JFrame and one of the panels in it contain a ImageIcon. I then have a configuration JFrame that is created in a separate class from the menu class, but is created when the user clicks the config button in the menu panel. In...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.