/[classpath]/classpath/javax/swing/ToolTipManager.java
ViewVC logotype

Diff of /classpath/javax/swing/ToolTipManager.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by mark, Sat Jul 2 20:32:49 2005 UTC revision 1.13 by langel, Mon Sep 12 16:17:15 2005 UTC
# Line 526  public class ToolTipManager extends Mous Line 526  public class ToolTipManager extends Mous
526        }        }
527      else      else
528        {        {
529          SwingUtilities.convertPointToScreen(p, currentComponent);          if (currentComponent.isShowing())
530          tooltipWindow = new JWindow();            SwingUtilities.convertPointToScreen(p, currentComponent);
531          tooltipWindow.getContentPane().add(currentTip);          tooltipWindow = new JWindow();
532          tooltipWindow.setFocusable(false);          tooltipWindow.getContentPane().add(currentTip);
533          tooltipWindow.pack();          tooltipWindow.setFocusable(false);
534          tooltipWindow.setBounds(p.x, p.y, dims.width, dims.height);          tooltipWindow.pack();
535          tooltipWindow.show();          tooltipWindow.setBounds(p.x, p.y, dims.width, dims.height);
536            tooltipWindow.show();
537        }        }
538      currentTip.setVisible(true);      currentTip.setVisible(true);
539    }    }

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26