I have overridden the default ENTER keystroke for a JTable to allow for a customized function when ENTER is pressed.
I also want the UP and DOWN arrow keys to allow the user to move through each table cell vertically. This works by default, but no longer works after the first time ENTER
is pressed, even though I have used requestFocus on JTable after the dismissal of custom JDialog that appears upon pressing ENTER. Do I also have to reprogram the UP and DOWN keystrokes to keep vertical movement in the JTable?
I am using a JXLayer<JComponent>layer with Blur effect over the JInternalFrame in which I have the JTable. When the custom dialog is launched the Layer and blur effect kick in which has the effect of making the contents of the undecorated custom JDialog appear sharper. It could have something to do with this, so I will check this.
Just as I suspected, it has to do with the JXLayer with Blur effect over the JInternalFrame in which I have placed the JTable.
posted 7 years ago
Just as I suspected, it has to do with the JXLayer
Just as I suspected, your original question did not contain enough information for us to solve your problem.
I have answered several of your questions in the past and several times I have asked for a SSCCE with your original question.
Yet again you did not provide a SSCCE so you have again wasted the time of everyone who has taken the time in an attempt to answer this question. The whole point of a SSCCE is for you to narrow down the problem so we don't waste time guessing!
I for one will no longer be answering your questions unless a proper SSCCE is posted, I've wasted too much time guessing and asking for a SSCCE in the past.
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database