Results 1 to 2 of 2
- 06-27-2012, 02:39 PM #1Member
- Join Date
- Feb 2012
- Rep Power
- 06-27-2012, 02:55 PM #2
Re: How i can change a variable in the main class from the class with gui?
You need to have a reference to the main class in the gui class, then call a method that modifies the variable.
- By EStrike in forum New To JavaReplies: 13Last Post: 01-02-2012, 09:32 PM
- By hkp30 in forum New To JavaReplies: 0Last Post: 10-23-2011, 10:49 PM
- By gloomy1991 in forum New To JavaReplies: 2Last Post: 01-08-2011, 02:50 AM
- By batya in forum AWT / SwingReplies: 2Last Post: 11-17-2009, 08:55 PM
- By itsme in forum New To JavaReplies: 1Last Post: 12-18-2007, 04:35 PM