package com.vci.client.ui.swing.components; import java.awt.FlowLayout; import java.awt.LayoutManager; import java.util.LinkedList; import java.util.List; import javax.swing.BorderFactory; import javax.swing.JPanel; import com.vci.client.ui.swing.VCISwingUtil; /** * *
Title:
*Description:
*Copyright: Copyright (c) 2012
*Company: VCI
* @author xchao * @time 2012-5-10 * @version 1.0 */ public class VCIJPanel extends JPanel{ /** * */ private static final long serialVersionUID = 4162022934080090540L; public VCIJPanel() { this(true); } public VCIJPanel(LayoutManager layout) { this(layout, true); } public VCIJPanel(boolean isDoubleBuffered) { this(new FlowLayout(), isDoubleBuffered); } public VCIJPanel(LayoutManager layout, boolean isDoubleBuffered) { super(layout, isDoubleBuffered); customConstructor(); } private void customConstructor(){ setFont(VCISwingUtil.FONT_DEFAULT); this.setBorder(BorderFactory.createEmptyBorder()); } private Object obj = null; public Object getObj() { return obj; } public void setObj(Object obj) { this.obj = obj; } private List