addMouseListener(new MouseListener() {
public void mouseReleased(MouseEvent e) {
if (e.isPopupTrigger()) {
addMouseListener(new MouseListener() {
public void mouseReleased(MouseEvent e) {
if (e.isPopupTrigger()) {
- listener.select((LocalReaderBook.this));
- listener.popupRequested(LocalReaderBook.this, e);
+ listener.select((GuiReaderBook.this));
+ listener.popupRequested(GuiReaderBook.this, e);
* Draw a partially transparent overlay if needed depending upon the
* selection and mouse-hover states on top of the normal component, as well
* as a possible "cached" icon if the item is cached.
* Draw a partially transparent overlay if needed depending upon the
* selection and mouse-hover states on top of the normal component, as well
* as a possible "cached" icon if the item is cached.