This content has been marked as final. Show 3 replies
ryaliscs wrote:I always consider this approach to viewing a 'huge list of data' as being flawed. It seems silly to me to get the user to scroll through hundreds or thousands of lines to find a particular line. It is normally better to only show the lines that match some search criteria.
I use JTable to show the data. Since i have a huge list of data, we load data lazily,
As for the rest of your requirement . Since we have no view of your code, only you know enough about your design and code to stand a chance of suggesting the changes necessary.
You can put your own action in the table's action map, using the keys in BasicTableUI#Actions.1 person found this helpful
I also found another approach of handling the behaviour by adding a key listener to the JTable. eg:
private class MyTableKeyListener extends KeyAdapter
@Override public void keyPressed(KeyEvent aEvent)
if ((KeyEvent.VK_END == aEvent.getKeyCode()) && aEvent.isControlDown())