I'm having a problem with a GUI i'm building. I have a separate class called Calculations.class which does nothing except hold certain variables and do calculations with them. One of my classes requires a user to enter numerical data, and when a button is pressed, these variables are set in calculations.class, which is fine. However, when I try to access these variables in Calculations.class from another class, it seems like all the variables are set back to zero, and do not have the values set by the user originally. Any help would be fantastic!!
matt_5104 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.