List of usage examples for javax.swing JPanel subclass-usage
From source file MainClass.java
public class MainClass extends JPanel { public void paint(Graphics g) { g.drawString(g.getClipBounds().toString(), 10, 30); g.clipRect(10, 40, getSize().width - 20, getSize().height - 80);
From source file Main.java
public class Main extends JPanel { public void paint(Graphics g) { g.drawString(g.getClipBounds().toString(), 10, 30); g.clipRect(10, 40, getSize().width - 20, getSize().height - 80);
From source file Main.java
public class Main extends JPanel { String s = "Underlined text"; int x = 10; int y = 10;
From source file Main.java
public class Main extends JPanel { public void paint(Graphics g) { g.drawString(g.getColor() + "", 10, 30); }
From source file Main.java
public class Main extends JPanel { public void paint(Graphics g) { g.drawString(g.getFont() + "", 10, 30); }
From source file Main.java
public class Main extends JPanel { public void paint(Graphics g) { g.drawString(g.getClipRect() + "", 10, 30); }
From source file Main.java
public class Main extends JPanel { public void paint(Graphics g) { g.drawString(g.getClip() + "", 10, 30); }
From source file Main.java
public class Main extends JPanel { public void paint(Graphics g) { g.fillRect(100, 10, 60, 50); }
From source file Main.java
public class Main extends JPanel { public void paint(Graphics g) { g.drawString(g.toString() + "", 10, 30); }
From source file Main.java
public class Main extends JPanel { public void paint(Graphics g) { g.drawArc(25, 25, 120, 120, 45, 270); }