Results 1 to 2 of 2
- 06-27-2012, 02:39 PM #1
Member
- Join Date
- Feb 2012
- Posts
- 61
- Rep Power
- 0
- 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.
How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
Similar Threads
-
change variable value from another class?
By EStrike in forum New To JavaReplies: 13Last Post: 01-02-2012, 08:32 PM -
Can't Get variable calculated in another class to function in main class
By hkp30 in forum New To JavaReplies: 0Last Post: 10-23-2011, 10:49 PM -
can i listen to variable change in diffrent class
By gloomy1991 in forum New To JavaReplies: 2Last Post: 01-08-2011, 01:50 AM -
How can I change the main class of a project?
By batya in forum AWT / SwingReplies: 2Last Post: 11-17-2009, 07:55 PM -
Calling a variable from main to another class
By itsme in forum New To JavaReplies: 1Last Post: 12-18-2007, 03:35 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks