@Override protected void init() { super.init(); setUndecorated(true); getRootPane().setWindowDecorationStyle(JRootPane.NONE); myPanel.setBorder(PopupBorder.Factory.create(true, true)); }
@Override protected void init() { super.init(); setUndecorated(true); myPanel.setBorder(PopupBorder.Factory.create(true, true)); }
@Override @NotNull protected MyContentPanel createContentPanel(final boolean resizable, final PopupBorder border, final boolean isToDrawMacCorner) { return new MyContainer(resizable, border, isToDrawMacCorner); }
private MyContainer(final boolean resizable, final PopupBorder border, final boolean drawMacCorner) { super(resizable, border, drawMacCorner); setOpaque(true); setFocusCycleRoot(true); }
protected void init() { super.init(); setUndecorated(true); myPanel.setBorder(PopupBorder.Factory.create(true, true)); }
@Override @Nonnull protected MyContentPanel createContentPanel(final boolean resizable, final PopupBorder border, final boolean isToDrawMacCorner) { return new MyContainer(resizable, border, isToDrawMacCorner); }