JPanel
JDK Doc(JAVA)Download this dictionary
JPanel
- class javax.swing..JPanel 
public class JPanel extends JComponent implements Accessible 
Tree:java.lang.Object - java.awt.Component - java.awt.Container - javax.swing.JComponent - javax.swing.JPanel
JPanel is a generic lightweight container.
 
JPanel()
- Constructor for class javax.swing.JPanel 
public JPanel ()
Create a new JPanel with a double buffer and a flow layout
 
JPanel(LayoutManager)
- Constructor for class javax.swing.JPanel 
public JPanel (LayoutManager  layout)
Create a new buffered JPanel with the specified layout managerParameters: layout - the LayoutManager to use
 
JPanel(LayoutManager, boolean)
- Constructor for class javax.swing.JPanel 
public JPanel (LayoutManager  layout, boolean isDoubleBuffered)
Creates a new JPanel with the specified layout manager and buffering strategy.Parameters: layout - the LayoutManager to use - a boolean, true for double-buffering, which uses additional memory space to achieve fast, flicker-free updatesisDoubleBuffered - a boolean, true for double-buffering, which uses additional memory space to achieve fast, flicker-free updates
 
JPanel(boolean)
- Constructor for class javax.swing.JPanel 
public JPanel (boolean isDoubleBuffered)
Create a new JPanel with FlowLayout and the specified buffering strategy. If isDoubleBuffered is true, the JPanel will use a double buffer.Parameters: layout - the LayoutManager to use - a boolean, true for double-buffering, which uses additional memory space to achieve fast, flicker-free updatesisDoubleBuffered - a boolean, true for double-buffering, which uses additional memory space to achieve fast, flicker-free updates


| JPanel in English