Scrolling in com.borland.dbswing.JdbTable

mos
mos used Ask the Experts™
on
A question about a borland dbswing component:

The code:
----------
JdbTable jdbTable = new JdbTable();
TableScrollPane tableScrollPane = new TableScrollPane();
jPanelCenter.add(tableScrollPane, BorderLayout.CENTER);
tableScrollPane.getViewport().add(jdbTable, null);

Scrolling with mouse, page-down-key, up-key is working

But the "down-key" doesn't work.

Any idea?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hi,
in JdbTable "down-key" event is used to invoke the JdbTable.AppendRowAction class (inner class in JdbTable, extends AbstractAction class).
in order to use "down-key" the same as "up-key" insert this line in your code:

jdbTable.unregisterKeyboardAction(KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, 0));

-gkern

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial