!7 p-awt { var button = new JButton("Yo yo yo"); // Create the look for our balloon tip EdgedBalloonStyle style = new(Color.WHITE, Color.BLUE); // Now construct the balloon tip BalloonTip balloonTip = new( button, new JLabel("The balloon tip is attached to the button."), style, BalloonTip.Orientation.LEFT_ABOVE, BalloonTip.AttachLocation.ALIGNED, 30, 10, true ); ToolTipUtils.balloonToToolTip(balloonTip, 200, 3000); showFrame(jfullcenter(button)); }