Hi !
Why don't you try to implement tooltips of your own in the following way?

private void drawToolTip(String tTip, Point tpos)
  {
    Graphics2D g = (Graphics2D)getGraphics();
    Font tipFont = new Font("Helvetica", Font.BOLD, 12);
    Rectangle2D bRect = tipFont.getStringBounds(tTip,
g.getFontRenderContext());
    tipBounds = bRect.getBounds();
    Color oldColor = g.getColor();
    Font oldFont = g.getFont();

// make a back buffer
    int w = (int)tipBounds.getWidth() + 2;
     int h = (int)tipBounds.getHeight();
     Image image = createImage(w+2, h+2);
     Graphics2D imageGraph = (Graphics2D)image.getGraphics();

// draw the yellow background
    imageGraph.setColor(Color.yellow);
    imageGraph.fillRect(0, 0, w, h);

// draw the black border
    imageGraph.setColor(Color.black);
    imageGraph.drawRect(0, 0, w+1, h+1);

// draw the text
    imageGraph.drawString(tTip, 2, h-4);

    imageGraph.setColor(oldColor);
    imageGraph.setFont(oldFont);

// flip the image from the backbuffer
     g.drawImage(image, tpos.x - 2, tpos.y - (int)tipBounds.getHeight() +
2, w+2, h+2, null);
  }

Regards,
Ivailo

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to