Java Swing Empty Border createEmptyBorder(int size)

Here you can find the source of createEmptyBorder(int size)

Description

create Empty Border

License

Open Source License

Declaration

public static Border createEmptyBorder(int size) 

Method Source Code

//package com.java2s;

import javax.swing.BorderFactory;

import javax.swing.border.Border;

public class Main {
    public static Border createEmptyBorder(int size) {
        return BorderFactory.createEmptyBorder(size, size, size, size);
    }/*from   w  w w .ja v  a  2  s. co  m*/
}

Related

  1. borderlessScrollPane(final Component component)
  2. buildInfoPanelEmptyBorderScroll(final JComponent content)
  3. buildPanelEmptyBorder(final JComponent content, final int top, final int left, final int bottom, final int right)
  4. contentPaneBorder(JComponent component)
  5. correctBorder(final JComponent comp)
  6. createInnerBorder(int size)
  7. getAlignBorder()
  8. getBigBorder()
  9. getDefaultEmptyBorder()