In swing based application, Parent Frame filled with multiple Panels, for each panel i created separate class and added the required swing component.
components in one panel class require to update/modify components in another panel class.
For solving this problem i made the components & required methods in a class as STATIC and directly access from another class.
Is it right approach?
is there any other approach to solve this issue?Yes. Learn about the MVC design pattern.