< prev index next >

src/java.desktop/unix/classes/sun/awt/X11/XTrayIconPeer.java

Print this page

        

*** 475,484 **** --- 475,485 ---- // other class tries to cast source field to Component). // We already filter DRAG events out (CR 6565779). e.setSource(xtiPeer.target); XToolkit.postEvent(XToolkit.targetToAppContext(e.getSource()), e); } + @SuppressWarnings("deprecation") public void mouseClicked(MouseEvent e) { if ((e.getClickCount() == 1 || xtiPeer.balloon.isVisible()) && e.getButton() == MouseEvent.BUTTON1) { ActionEvent aev = new ActionEvent(xtiPeer.target, ActionEvent.ACTION_PERFORMED,
< prev index next >