hscroll.addAdjustmentListener(this);\r
vscroll.addAdjustmentListener(this);\r
\r
- setFocusable(true);\r
- addKeyListener(new KeyAdapter()\r
+ af.addKeyListener(new KeyAdapter()\r
{\r
public void keyPressed(KeyEvent evt)\r
{\r
seqPanel.seqCanvas.decreaseAARation();\r
break;\r
}\r
-\r
}\r
});\r
}\r
annotationScroller.setBorder(null);\r
annotationScroller.setPreferredSize(new Dimension(10, 80));\r
this.setPreferredSize(new Dimension(220, 166));\r
- this.setRequestFocusEnabled(true);\r
\r
sequenceHolderPanel.add(scalePanelHolder, BorderLayout.NORTH);\r
sequenceHolderPanel.add(seqPanelHolder, BorderLayout.CENTER);\r