Example usage for com.intellij.openapi.ui.popup Balloon show

List of usage examples for com.intellij.openapi.ui.popup Balloon show

Introduction

In this page you can find the example usage for com.intellij.openapi.ui.popup Balloon show.

Prototype

void show(JLayeredPane pane);

Source Link

Usage

From source file:com.intellij.ui.BalloonLayoutImpl.java

License:Apache License

@Override
public void add(final Balloon balloon) {
    myBalloons.add(balloon);//from  www.  java 2s  .c  o m
    Disposer.register(balloon, new Disposable() {
        @Override
        public void dispose() {
            myBalloons.remove(balloon);
            queueRelayout();
        }
    });

    relayout();
    balloon.show(myLayeredPane);
}