So i basically have a GUI set up one one class with several jtextfields
then i have listeners attached to each one and have something like this
class gui extends jframe etcetcetcetc
String a = somethinghere.getText();
durpdurp = Integer.parseInt(a);
in one class
then i have class SOMETHING that tries to use "durpdurp"
it dosent work. . how can i change my code so class SOMETHING
can access durpdurp in class gui?