MigrantFirmWorker
Programmer
I have a JPanel placed in a JTableHeader into which I intend to add other components. While attempting to determine mouse click locations in this panel I found that the x/y coordinates are negative (for the JPanel rectangle) and the height/width are 0/0.
The JPanel displays as I expect and certainly has nonzero dimensions. It is my intent to use getDeepestComponentAt() once I add the subcomponents but I need to derive the correct location for the "At". What am I missing?
-thanx
Chris
-------------------------------------------------------------
"Don't be deceived. We're all temporary employees.
The JPanel displays as I expect and certainly has nonzero dimensions. It is my intent to use getDeepestComponentAt() once I add the subcomponents but I need to derive the correct location for the "At". What am I missing?
-thanx
Chris
-------------------------------------------------------------
"Don't be deceived. We're all temporary employees.