I have a JPanel
in which I need to add bunch of JLabel
s at a required coordinates. These JLabel
s will have key Listeners assigned to them that will determine new position using arrow keys.
To be more specific I know how to do it when there is only one JLabel
but whenever I put a more of them the things mess up. while I use arrow key the first JLabel
moves but all other JLabel
disappears.
Can Anyone give me some hints to write a method to put a JLabel
in a specific coordinate and also move them using arrow key later without making other JLabel
s dissapear?
Huge Thanks in Advance
No comments:
Post a Comment