List of usage examples for javax.swing JPanel subclass-usage
From source file Main.java
public class Main extends JPanel { public void paint(Graphics g) { Graphics2D g2 = (Graphics2D) g; Ellipse2D e1 = new Ellipse2D.Double(20.0, 20.0, 80.0, 70.0);
From source file Main.java
public class Main extends JPanel implements ItemListener { public Main() { JComboBox jc = new JComboBox(); jc.addItem("France"); jc.addItem("Germany"); jc.addItem("Italy");
From source file Main.java
public class Main extends JPanel implements ItemListener { public Main() { JComboBox jc = new JComboBox(); jc.addItem("France"); jc.addItem("Germany"); jc.addItem("Italy");
From source file Main.java
public class Main extends JPanel { public void paint(Graphics g) { Graphics2D g2d = (Graphics2D) g; AlphaComposite ac = AlphaComposite.getInstance(AlphaComposite.SRC_ATOP, 0.5f);
From source file CompositingDST_ATOP.java
public class CompositingDST_ATOP extends JPanel { public void paint(Graphics g) { Graphics2D g2d = (Graphics2D) g; AlphaComposite ac = AlphaComposite.getInstance(AlphaComposite.SRC_OUT, 0.5f);
From source file CompositingDST_ATOP.java
public class CompositingDST_ATOP extends JPanel { public void paint(Graphics g) { Graphics2D g2d = (Graphics2D) g; AlphaComposite ac = AlphaComposite.getInstance(AlphaComposite.SRC_ATOP, 0.5f);
From source file CompositingDST_ATOP.java
public class CompositingDST_ATOP extends JPanel { public void paint(Graphics g) { Graphics2D g2d = (Graphics2D) g; AlphaComposite ac = AlphaComposite.getInstance(AlphaComposite.DST_ATOP, 0.5f);
From source file CompositingDST_ATOP.java
public class CompositingDST_ATOP extends JPanel { public void paint(Graphics g) { Graphics2D g2d = (Graphics2D) g; AlphaComposite ac = AlphaComposite.getInstance(AlphaComposite.SRC, 0.5f);
From source file Main.java
public class Main extends JPanel { public void paint(Graphics g) { Graphics2D g2d = (Graphics2D) g; AlphaComposite ac = AlphaComposite.getInstance(AlphaComposite.DST_ATOP, 0.5f);
From source file CompositingDST.java
public class CompositingDST extends JPanel { public void paint(Graphics g) { Graphics2D g2d = (Graphics2D) g; AlphaComposite ac = AlphaComposite.getInstance(AlphaComposite.DST, 0.5f);