Java Swing Empty Border getBigBorder()

Here you can find the source of getBigBorder()

Description

get Big Border

License

Apache License

Declaration

public static Border getBigBorder() 

Method Source Code

//package com.java2s;
/*/*from www. j a  va2s  .c o  m*/
 *    Copyright 2011-2012 University of Toronto
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

import javax.swing.border.Border;
import javax.swing.border.EmptyBorder;

public class Main {
    public static Border getBigBorder() {
        return new EmptyBorder(10, 10, 10, 10);
    }
}

Related

  1. contentPaneBorder(JComponent component)
  2. correctBorder(final JComponent comp)
  3. createEmptyBorder(int size)
  4. createInnerBorder(int size)
  5. getAlignBorder()
  6. getDefaultEmptyBorder()
  7. getEmpty5Border()
  8. getEmptyBorder()
  9. getEmptyBorder(int width)