Enabling shortcut keys in a panel
Hi,
I have used JDK6 + Swing + JasperReports 1.3.0.
Then, I had customized JasperViewer default viewer from JasperReports, to enable some usable buttons in top of viewer. The class JasperViewer.java is a JDialog with a Panel into, where JasperReports puts their components.
Now, I'd like to allow keys:
- up/down arrows to move into report page;
- pgdown/pgup: to move fastly to down/up of report page and to change to other pages.
I'd like to know if there is some behaviour in JPanel to enable these shortcut keys to move the page.

