How to use the same variable in various JPanel?

Printable View