List of usage examples for javax.swing JPanel subclass-usage
From source file Main.java
public class Main extends JPanel implements KeyListener { public Main() { addKeyListener(this); } public void keyPressed(KeyEvent evt) {
From source file Main.java
public class Main extends JPanel implements KeyListener { public Main() { addKeyListener(this); } public void keyPressed(KeyEvent evt) {
From source file Main.java
public class Main extends JPanel implements KeyListener { public Main() { addKeyListener(this); } public void keyPressed(KeyEvent evt) {
From source file Main.java
public class Main extends JPanel implements KeyListener { public Main() { addKeyListener(this); } public void keyPressed(KeyEvent evt) {
From source file MainClass.java
public class MainClass extends JPanel { public void paint(Graphics g) { g.fillRect(0, 0, 20, 20);
From source file LinesDashes3.java
public class LinesDashes3 extends JPanel { public void paintComponent(Graphics g) { super.paintComponent(g); Graphics2D g2d = (Graphics2D) g;
From source file LinesDashes2.java
public class LinesDashes2 extends JPanel { public void paintComponent(Graphics g) { super.paintComponent(g); Graphics2D g2d = (Graphics2D) g;
From source file LinesDashes4.java
public class LinesDashes4 extends JPanel { public void paintComponent(Graphics g) { super.paintComponent(g); Graphics2D g2d = (Graphics2D) g;
From source file MainClass.java
public class MainClass extends JPanel { public void paint(Graphics g) { Image img = createImage(); g.drawImage(img, 20, 20, this); }
From source file Main.java
public class Main extends JPanel { private JScrollPane vertical; private JTextArea console; public Main() { setPreferredSize(new Dimension(200, 250));