.class public ShowColors

.super java/applet/Applet

.field private protected red I
.field private protected green I
.field private protected blue I

.method public <init>()V
  .limit locals 1
  .limit stack 1
  aload_0
  invokenonvirtual java/applet/Applet/<init>()V
  return
.end method

.method public init()V
  .limit locals 1
  .limit stack 3
  aload_0
  ldc 100
  putfield ShowColors/red I
  aload_0
  ldc 255
  putfield ShowColors/blue I
  aload_0
  ldc 125
  putfield ShowColors/green I
  return
.end method

.method public paint(Ljava/awt/Graphics;)V
  .limit locals 3
  .limit stack 6
  aload_1
  invokevirtual java/awt/Graphics/getColor()Ljava/awt/Color;
  astore_2
  aload_1
  new java/awt/Color
  dup
  aload_0
  getfield ShowColors/red I
  aload_0
  getfield ShowColors/green I
  aload_0
  getfield ShowColors/blue I
  invokenonvirtual java/awt/Color/<init>(III)V
  invokevirtual java/awt/Graphics/setColor(Ljava/awt/Color;)V
  aload_1
  ldc "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
  ldc 50
  ldc 33
  invokevirtual java/awt/Graphics/drawString(Ljava/lang/String;II)V
  aload_0
  ldc "Current RGB: "
  aload_1
  invokevirtual java/awt/Graphics/getColor()Ljava/awt/Color;
  invokevirtual java/awt/Color/toString()Ljava/lang/String;
  dup
  ifnonnull stop_3
  pop
  ldc "null"
  stop_3:
  invokevirtual java/lang/String/concat(Ljava/lang/String;)Ljava/lang/String;
  invokevirtual java/applet/Applet/showStatus(Ljava/lang/String;)V
  return
.end method

