Customizing JPanel Look and Feel : JPanel « Swing « Java Tutorial






Property StringObject Type
Panel.backgroundColor
Panel.borderBorder
Panel.fontFont
Panel.foregroundColor
PanelUIString










14.45.JPanel
14.45.1.Using JPanel as a containerUsing JPanel as a container
14.45.2.Using JPanel as a canvasUsing JPanel as a canvas
14.45.3.Subclass JPanelSubclass JPanel
14.45.4.Customizing JPanel Look and Feel
14.45.5.A basic panel that displays a small up or down arrow.
14.45.6.A panel that allows the user to select a date.
14.45.7.A JPanel with a textured background.
14.45.8.Gradient Panel