class sun.tools.jconsole.ThreadTab$PromptingTextField extends javax.swing.JTextField implements java.awt.event.FocusListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.tools.jconsole.ThreadTab$PromptingTextField
super_class: javax.swing.JTextField
{
private java.lang.String prompt;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
boolean promptRemoved;
descriptor: Z
flags: (0x0000)
java.awt.Color fg;
descriptor: Ljava/awt/Color;
flags: (0x0000)
final sun.tools.jconsole.ThreadTab this$0;
descriptor: Lsun/tools/jconsole/ThreadTab;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(sun.tools.jconsole.ThreadTab, java.lang.String, int);
descriptor: (Lsun/tools/jconsole/ThreadTab;Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield sun.tools.jconsole.ThreadTab$PromptingTextField.this$0:Lsun/tools/jconsole/ThreadTab;
1: aload 0
aload 2
iload 3
invokespecial javax.swing.JTextField.<init>:(Ljava/lang/String;I)V
2: aload 0
iconst_0
putfield sun.tools.jconsole.ThreadTab$PromptingTextField.promptRemoved:Z
3: aload 0
aload 2
putfield sun.tools.jconsole.ThreadTab$PromptingTextField.prompt:Ljava/lang/String;
4: aload 0
invokevirtual sun.tools.jconsole.ThreadTab$PromptingTextField.updateForeground:()V
5: aload 0
aload 0
invokevirtual sun.tools.jconsole.ThreadTab$PromptingTextField.addFocusListener:(Ljava/awt/event/FocusListener;)V
6: aload 0
aload 2
invokestatic sun.tools.jconsole.Utilities.setAccessibleName:(Ljavax/accessibility/Accessible;Ljava/lang/String;)V
7: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/tools/jconsole/ThreadTab$PromptingTextField;
0 8 2 prompt Ljava/lang/String;
0 8 3 columns I
MethodParameters:
Name Flags
this$0 final
prompt
columns
public void revalidate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.JTextField.revalidate:()V
1: aload 0
invokevirtual sun.tools.jconsole.ThreadTab$PromptingTextField.updateForeground:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jconsole/ThreadTab$PromptingTextField;
private void updateForeground();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "TextField.foreground"
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
putfield sun.tools.jconsole.ThreadTab$PromptingTextField.fg:Ljava/awt/Color;
1: aload 0
getfield sun.tools.jconsole.ThreadTab$PromptingTextField.promptRemoved:Z
ifeq 4
2: aload 0
aload 0
getfield sun.tools.jconsole.ThreadTab$PromptingTextField.fg:Ljava/awt/Color;
invokevirtual sun.tools.jconsole.ThreadTab$PromptingTextField.setForeground:(Ljava/awt/Color;)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
getstatic java.awt.Color.gray:Ljava/awt/Color;
invokevirtual sun.tools.jconsole.ThreadTab$PromptingTextField.setForeground:(Ljava/awt/Color;)V
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/tools/jconsole/ThreadTab$PromptingTextField;
public java.lang.String getText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.ThreadTab$PromptingTextField.promptRemoved:Z
ifne 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokespecial javax.swing.JTextField.getText:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jconsole/ThreadTab$PromptingTextField;
public void focusGained(java.awt.event.FocusEvent);
descriptor: (Ljava/awt/event/FocusEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.ThreadTab$PromptingTextField.promptRemoved:Z
ifne 4
1: aload 0
ldc ""
invokevirtual sun.tools.jconsole.ThreadTab$PromptingTextField.setText:(Ljava/lang/String;)V
2: aload 0
aload 0
getfield sun.tools.jconsole.ThreadTab$PromptingTextField.fg:Ljava/awt/Color;
invokevirtual sun.tools.jconsole.ThreadTab$PromptingTextField.setForeground:(Ljava/awt/Color;)V
3: aload 0
iconst_1
putfield sun.tools.jconsole.ThreadTab$PromptingTextField.promptRemoved:Z
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/ThreadTab$PromptingTextField;
0 5 1 e Ljava/awt/event/FocusEvent;
MethodParameters:
Name Flags
e
public void focusLost(java.awt.event.FocusEvent);
descriptor: (Ljava/awt/event/FocusEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.ThreadTab$PromptingTextField.promptRemoved:Z
ifeq 4
aload 0
invokevirtual sun.tools.jconsole.ThreadTab$PromptingTextField.getText:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
1: aload 0
aload 0
getfield sun.tools.jconsole.ThreadTab$PromptingTextField.prompt:Ljava/lang/String;
invokevirtual sun.tools.jconsole.ThreadTab$PromptingTextField.setText:(Ljava/lang/String;)V
2: aload 0
getstatic java.awt.Color.gray:Ljava/awt/Color;
invokevirtual sun.tools.jconsole.ThreadTab$PromptingTextField.setForeground:(Ljava/awt/Color;)V
3: aload 0
iconst_0
putfield sun.tools.jconsole.ThreadTab$PromptingTextField.promptRemoved:Z
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/ThreadTab$PromptingTextField;
0 5 1 e Ljava/awt/event/FocusEvent;
MethodParameters:
Name Flags
e
}
SourceFile: "ThreadTab.java"
NestHost: sun.tools.jconsole.ThreadTab
InnerClasses:
private PromptingTextField = sun.tools.jconsole.ThreadTab$PromptingTextField of sun.tools.jconsole.ThreadTab