public class sun.tools.jconsole.OutputViewer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jconsole.OutputViewer
super_class: java.lang.Object
{
private static javax.swing.JFrame frame;
descriptor: Ljavax/swing/JFrame;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.swing.JTextArea ta;
descriptor: Ljavax/swing/JTextArea;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "System.out"
invokestatic sun.tools.jconsole.OutputViewer$PipeListener.create:(Ljava/lang/String;)Ljava/io/PrintStream;
invokestatic java.lang.System.setOut:(Ljava/io/PrintStream;)V
1: ldc "System.err"
invokestatic sun.tools.jconsole.OutputViewer$PipeListener.create:(Ljava/lang/String;)Ljava/io/PrintStream;
invokestatic java.lang.System.setErr:(Ljava/io/PrintStream;)V
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/OutputViewer;
public static void init();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: return
LocalVariableTable:
Start End Slot Name Signature
private static void append(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: getstatic sun.tools.jconsole.OutputViewer.frame:Ljavax/swing/JFrame;
ifnonnull 9
1: new javax.swing.JFrame
dup
ldc "JConsole: Output"
invokespecial javax.swing.JFrame.<init>:(Ljava/lang/String;)V
putstatic sun.tools.jconsole.OutputViewer.frame:Ljavax/swing/JFrame;
2: new javax.swing.JTextArea
dup
invokespecial javax.swing.JTextArea.<init>:()V
putstatic sun.tools.jconsole.OutputViewer.ta:Ljavax/swing/JTextArea;
3: getstatic sun.tools.jconsole.OutputViewer.ta:Ljavax/swing/JTextArea;
iconst_0
invokevirtual javax.swing.JTextArea.setEditable:(Z)V
4: getstatic sun.tools.jconsole.OutputViewer.frame:Ljavax/swing/JFrame;
invokevirtual javax.swing.JFrame.getContentPane:()Ljava/awt/Container;
new javax.swing.JScrollPane
dup
getstatic sun.tools.jconsole.OutputViewer.ta:Ljavax/swing/JTextArea;
invokespecial javax.swing.JScrollPane.<init>:(Ljava/awt/Component;)V
invokevirtual java.awt.Container.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
5: getstatic sun.tools.jconsole.OutputViewer.ta:Ljavax/swing/JTextArea;
new java.awt.Font
dup
ldc "Monospaced"
iconst_1
bipush 14
invokespecial java.awt.Font.<init>:(Ljava/lang/String;II)V
invokevirtual javax.swing.JTextArea.setFont:(Ljava/awt/Font;)V
6: getstatic sun.tools.jconsole.OutputViewer.frame:Ljavax/swing/JFrame;
sipush 500
sipush 600
invokevirtual javax.swing.JFrame.setSize:(II)V
7: getstatic sun.tools.jconsole.OutputViewer.frame:Ljavax/swing/JFrame;
sipush 524
sipush 168
invokevirtual javax.swing.JFrame.setLocation:(II)V
8: getstatic sun.tools.jconsole.OutputViewer.frame:Ljavax/swing/JFrame;
new sun.tools.jconsole.OutputViewer$1
dup
invokespecial sun.tools.jconsole.OutputViewer$1.<init>:()V
invokevirtual javax.swing.JFrame.addWindowListener:(Ljava/awt/event/WindowListener;)V
9: StackMap locals:
StackMap stack:
getstatic sun.tools.jconsole.OutputViewer.ta:Ljavax/swing/JTextArea;
aload 0
invokevirtual javax.swing.JTextArea.append:(Ljava/lang/String;)V
10: getstatic sun.tools.jconsole.OutputViewer.ta:Ljavax/swing/JTextArea;
getstatic sun.tools.jconsole.OutputViewer.ta:Ljavax/swing/JTextArea;
invokevirtual javax.swing.JTextArea.getText:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
invokevirtual javax.swing.JTextArea.setCaretPosition:(I)V
11: getstatic sun.tools.jconsole.OutputViewer.frame:Ljavax/swing/JFrame;
iconst_1
invokevirtual javax.swing.JFrame.setVisible:(Z)V
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
private static void appendln(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.tools.jconsole.OutputViewer.append:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
}
SourceFile: "OutputViewer.java"
NestMembers:
sun.tools.jconsole.OutputViewer$1 sun.tools.jconsole.OutputViewer$PipeListener
InnerClasses:
sun.tools.jconsole.OutputViewer$1
private PipeListener = sun.tools.jconsole.OutputViewer$PipeListener of sun.tools.jconsole.OutputViewer