Hi everybody I created a main class which displays a frame, then two JPanel are created and pointed. It is supposed for those Jpanel to give a visual display of some values incoming via serial port.
Everhing work fine..but the problem is that those panel are identical and I would need that one Japnel processes and visualizes value from one source and the other panel displays data coming from another source.
Because the JPanel are identical and have same characteristics how can I make sure that evary panel access to the variables one's source and the other to the other source?
Even saving values in static variable, is it possible to create a class that "realize" the existence of the other one so chooses to access variables of the second source???
I hope I va been clear enough, if not please tell me :) I wll clarify...
Thanks