List of usage examples for com.intellij.openapi.ui.popup.util MinimizeButton MinimizeButton
public MinimizeButton(final String tooltip)
From source file:com.intellij.find.impl.RegExHelpPopup.java
License:Apache License
public static JBPopup createRegExHelpPopup() throws BadLocationException { final ComponentPopupBuilder builder = JBPopupFactory.getInstance() .createComponentPopupBuilder(new RegExHelpPopup(), null); return builder.setCancelOnClickOutside(false).setBelongsToGlobalPopupStack(true).setFocusable(true) .setRequestFocus(true).setMovable(true).setResizable(true).setCancelOnOtherWindowOpen(false) .setCancelButton(new MinimizeButton("Hide")).setTitle("Regular expressions syntax") .setDimensionServiceKey(null, "RegExHelpPopup", true).createPopup(); }