Java JPanel Create createStandardJPanel()

Here you can find the source of createStandardJPanel()

Description

create Standard J Panel

License

Apache License

Declaration

public static JPanel createStandardJPanel() 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.awt.BorderLayout;

import javax.swing.BorderFactory;
import javax.swing.JPanel;

public class Main {
    public static JPanel createStandardJPanel() {
        JPanel panel = new JPanel();
        panel.setBorder(BorderFactory.createEmptyBorder());
        panel.setLayout(new BorderLayout());
        return panel;
    }//from  w  ww . ja  v a2  s.  c  o  m
}

Related

  1. createFlowJPanelLeft(JComponent parent, int alignment)
  2. createGridedJPanel(JComponent parent, int columns)
  3. createJPanel()
  4. createJPanel(String name, LayoutManager lm, ComponentListener cl)
  5. createPaletteJPanel(String title)
  6. createVerticalBoxJPanel(JComponent parent)
  7. initPanel(Color color)
  8. newJPanel(Component... c)
  9. newJPanel(int layoutAxis, Component... components)