mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -1743,7 +1743,6 @@ public abstract class DialogWrapper {
|
||||
UIUtil.removeQuaquaVisualMarginsIn(this);
|
||||
JBScrollPane pane =
|
||||
new JBScrollPane(myLabel, ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
|
||||
pane.setHaveBorder(false);
|
||||
pane.setBackground(null);
|
||||
pane.getViewport().setBackground(null);
|
||||
pane.setOpaque(false);
|
||||
|
||||
@@ -88,14 +88,6 @@ public class JBScrollPane extends JScrollPane {
|
||||
return new MyScrollBar(Adjustable.HORIZONTAL);
|
||||
}
|
||||
|
||||
public boolean isHaveBorder() {
|
||||
return getBorder() != null;
|
||||
}
|
||||
|
||||
public void setHaveBorder(boolean haveBorder) {
|
||||
setBorder(haveBorder ? IdeBorderFactory.createBorder() : null);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected JViewport createViewport() {
|
||||
return new JBViewport();
|
||||
|
||||
Reference in New Issue
Block a user