List of usage examples for javax.swing JComponent subclass-usage
From source file StaticGenerator.java
public class StaticGenerator extends JComponent implements Runnable { byte[] data; BufferedImage image; Random random;
From source file BasicDraw.java
class MyComponent extends JComponent { public void paint(Graphics g) { Graphics2D g2d = (Graphics2D) g; int x = 10; int y = 10;
From source file TransformTranslation.java
public class TransformTranslation extends JComponent { Shape axes, shape; int length = 54, arrowLength = 4, tickSize = 4; public TransformTranslation() {
From source file TransformersRotation.java
public class TransformersRotation extends JComponent { Shape axes, shape; int length = 54, arrowLength = 4, tickSize = 4; public TransformersRotation() {
From source file TransformTranslatedRotation.java
public class TransformTranslatedRotation extends JComponent { Shape axes, shape; int length = 54, arrowLength = 4, tickSize = 4; public TransformTranslatedRotation() {
From source file Main.java
public class Main extends JComponent { public static void main(String[] args) { JFrame frame = new JFrame(); final JButton activate = new JButton("Show");
From source file MainClass.java
class MyCanvas extends JComponent { public void paint(Graphics g) { Graphics2D g2 = (Graphics2D) g; Ellipse2D e = new Ellipse2D.Float(40, 40, 120, 120); GradientPaint gp = new GradientPaint(75, 75, Color.white, 95, 95, Color.gray, true); g2.setPaint(gp);
From source file MainClass.java
class MyCanvas extends JComponent { public void paint(Graphics g) { Graphics2D g2 = (Graphics2D) g; g2.setPaint(Color.black); g2.setStroke(new BasicStroke(8));
From source file TransformScale.java
public class TransformScale extends JComponent { Shape axes, shape; int length = 54, arrowLength = 4, tickSize = 4; public TransformScale() {
From source file TransformTransRotation.java
public class TransformTransRotation extends JComponent { Shape axes, shape; int length = 54, arrowLength = 4, tickSize = 4; public TransformTransRotation() {