Eclipse underlines msg in red and says "msg can not be resolved to a variable" inside method start() and graph(). There should be slightest error which i am unable to figure out. Need Help
posted 4 years ago
Welcome to the Ranch!
msg is declared in the init() method. That means its scope is limited to the init() method, and you can't refer to it anywhere else. If you want to be able to refer to it in the other methods you need to declare it at the class level.
By the way, remember Java is case-sensitive and you need to be careful about case. Your Start() method won't work because it's supposed to be start().