posted 14 years ago
I am having a problem about my program. My mouselistener - mouseclicked - has to get a point and check all my panels if they have that point. Every time I click on a square, the selected square is always the upper left corner. The squares are individual panels on a main panel that has a grid layout. What is wrong with my code?
Thanks