public class sun.awt.motif.MTextAreaPeer extends sun.awt.motif.MComponentPeer implements java.awt.peer.TextAreaPeer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.motif.MTextAreaPeer
super_class: sun.awt.motif.MComponentPeer
{
private boolean firstChangeSkipped;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static final int MARGIN;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int BORDER;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int SCROLLBAR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 16
int fontHeight;
descriptor: I
flags: (0x0000)
int fontAscent;
descriptor: I
flags: (0x0000)
int fontLeading;
descriptor: I
flags: (0x0000)
int topLine;
descriptor: I
flags: (0x0000)
int numLines;
descriptor: I
flags: (0x0000)
int textLength;
descriptor: I
flags: (0x0000)
java.util.Vector lines;
descriptor: Ljava/util/Vector;
flags: (0x0000)
int selStart;
descriptor: I
flags: (0x0000)
int selEnd;
descriptor: I
flags: (0x0000)
int movedRight;
descriptor: I
flags: (0x0000)
transient boolean hscrollbar;
descriptor: Z
flags: (0x0080) ACC_TRANSIENT
transient boolean vscrollbar;
descriptor: Z
flags: (0x0080) ACC_TRANSIENT
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: invokestatic sun.awt.motif.MTextAreaPeer.initIDs:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
native void pCreate(sun.awt.motif.MComponentPeer);
descriptor: (Lsun/awt/motif/MComponentPeer;)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
parent
private static native void initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
void create(sun.awt.motif.MComponentPeer);
descriptor: (Lsun/awt/motif/MComponentPeer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
putfield sun.awt.motif.MTextAreaPeer.firstChangeSkipped:Z
1: aload 0
aload 1
invokevirtual sun.awt.motif.MTextAreaPeer.pCreate:(Lsun/awt/motif/MComponentPeer;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/motif/MTextAreaPeer;
0 3 1 parent Lsun/awt/motif/MComponentPeer;
MethodParameters:
Name Flags
parent
void initialize();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield sun.awt.motif.MTextAreaPeer.target:Ljava/awt/Component;
checkcast java.awt.TextArea
astore 3
start local 3 1: aload 3
invokevirtual java.awt.TextArea.getText:()Ljava/lang/String;
dup
astore 4
start local 4 2: ifnull 4
3: aload 0
aload 4
invokevirtual sun.awt.motif.MTextAreaPeer.setText:(Ljava/lang/String;)V
4: StackMap locals: sun.awt.motif.MTextAreaPeer top top java.awt.TextArea java.lang.String
StackMap stack:
aload 3
invokevirtual java.awt.TextArea.getSelectionStart:()I
istore 1
start local 1 5: aload 3
invokevirtual java.awt.TextArea.getSelectionEnd:()I
istore 2
start local 2 6: iload 2
iload 1
if_icmple 9
7: aload 0
iload 1
iload 2
invokevirtual sun.awt.motif.MTextAreaPeer.select:(II)V
8: goto 10
9: StackMap locals: sun.awt.motif.MTextAreaPeer int int java.awt.TextArea java.lang.String
StackMap stack:
aload 0
iload 1
invokevirtual sun.awt.motif.MTextAreaPeer.setCaretPosition:(I)V
10: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.awt.motif.MTextAreaPeer.target:Ljava/awt/Component;
invokestatic sun.awt.motif.MTextAreaPeer.getParent_NoClientCode:(Ljava/awt/Component;)Ljava/awt/Container;
invokevirtual java.awt.Container.getBackground:()Ljava/awt/Color;
invokespecial sun.awt.motif.MComponentPeer.pSetScrollbarBackground:(Ljava/awt/Color;)V
11: aload 0
getfield sun.awt.motif.MTextAreaPeer.target:Ljava/awt/Component;
invokevirtual java.awt.Component.isBackgroundSet:()Z
ifne 13
12: aload 0
getstatic java.awt.SystemColor.text:Ljava/awt/SystemColor;
invokevirtual sun.awt.motif.MTextAreaPeer.setTargetBackground:(Ljava/awt/Color;)V
13: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.motif.MTextAreaPeer.target:Ljava/awt/Component;
invokevirtual java.awt.Component.isForegroundSet:()Z
ifne 15
14: aload 0
getfield sun.awt.motif.MTextAreaPeer.target:Ljava/awt/Component;
getstatic java.awt.SystemColor.textText:Ljava/awt/SystemColor;
invokevirtual java.awt.Component.setForeground:(Ljava/awt/Color;)V
15: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual java.awt.TextArea.isEditable:()Z
invokevirtual sun.awt.motif.MTextAreaPeer.setEditable:(Z)V
16: aload 0
invokespecial sun.awt.motif.MComponentPeer.initialize:()V
17: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/awt/motif/MTextAreaPeer;
5 18 1 start I
6 18 2 end I
1 18 3 txt Ljava/awt/TextArea;
2 18 4 text Ljava/lang/String;
public void <init>(java.awt.TextArea);
descriptor: (Ljava/awt/TextArea;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.motif.MComponentPeer.<init>:(Ljava/awt/Component;)V
1: aload 0
iconst_0
putfield sun.awt.motif.MTextAreaPeer.topLine:I
2: aload 0
iconst_0
putfield sun.awt.motif.MTextAreaPeer.numLines:I
3: aload 0
iconst_0
putfield sun.awt.motif.MTextAreaPeer.textLength:I
4: aload 0
iconst_0
putfield sun.awt.motif.MTextAreaPeer.selStart:I
5: aload 0
iconst_0
putfield sun.awt.motif.MTextAreaPeer.selEnd:I
6: aload 0
iconst_0
putfield sun.awt.motif.MTextAreaPeer.movedRight:I
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/motif/MTextAreaPeer;
0 8 1 target Ljava/awt/TextArea;
MethodParameters:
Name Flags
target
public void setEditable(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual sun.awt.motif.MTextAreaPeer.pSetEditable:(Z)V
1: aload 0
aload 0
getfield sun.awt.motif.MTextAreaPeer.target:Ljava/awt/Component;
invokevirtual java.awt.Component.getBackground:()Ljava/awt/Color;
invokevirtual sun.awt.motif.MTextAreaPeer.setBackground:(Ljava/awt/Color;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/motif/MTextAreaPeer;
0 3 1 editable Z
MethodParameters:
Name Flags
editable
public void setBackground(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.awt.motif.MTextAreaPeer.setTextBackground:(Ljava/awt/Color;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/motif/MTextAreaPeer;
0 2 1 c Ljava/awt/Color;
MethodParameters:
Name Flags
c
public void setForeground(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.awt.motif.MTextAreaPeer.pSetInnerForeground:(Ljava/awt/Color;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/motif/MTextAreaPeer;
0 2 1 c Ljava/awt/Color;
MethodParameters:
Name Flags
c
native int ();
descriptor: ()I
flags: (0x0100) ACC_NATIVE
native int ();
descriptor: ()I
flags: (0x0100) ACC_NATIVE
public native void setTextBackground(java.awt.Color);
descriptor: (Ljava/awt/Color;)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
c
public native void pSetEditable(boolean);
descriptor: (Z)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
e
public native void select(int, int);
descriptor: (II)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
selStart
selEnd
public native int getSelectionStart();
descriptor: ()I
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
public native int getSelectionEnd();
descriptor: ()I
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
public native void setText(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
txt
public native java.lang.String getText();
descriptor: ()Ljava/lang/String;
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
public native void insert(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
txt
pos
public native void replaceRange(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
txt
start
end
public native void setFont(java.awt.Font);
descriptor: (Ljava/awt/Font;)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
f
public native void setCaretPosition(int);
descriptor: (I)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
pos
public native int getCaretPosition();
descriptor: ()I
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
public native void pSetCursor(java.awt.Cursor);
descriptor: (Ljava/awt/Cursor;)V
flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
MethodParameters:
Name Flags
c
native void pShow2();
descriptor: ()V
flags: (0x0100) ACC_NATIVE
native void pMakeCursorVisible();
descriptor: ()V
flags: (0x0100) ACC_NATIVE
public java.awt.Dimension getMinimumSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
bipush 10
bipush 60
invokevirtual sun.awt.motif.MTextAreaPeer.getMinimumSize:(II)Ljava/awt/Dimension;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MTextAreaPeer;
public java.awt.Dimension getPreferredSize(int, int);
descriptor: (II)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokevirtual sun.awt.motif.MTextAreaPeer.getMinimumSize:(II)Ljava/awt/Dimension;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MTextAreaPeer;
0 1 1 rows I
0 1 2 cols I
MethodParameters:
Name Flags
rows
cols
public java.awt.Dimension getMinimumSize(int, int);
descriptor: (II)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield sun.awt.motif.MTextAreaPeer.target:Ljava/awt/Component;
invokevirtual java.awt.Component.getFont:()Ljava/awt/Font;
invokevirtual sun.awt.motif.MTextAreaPeer.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 3
start local 3 1: aload 3
bipush 48
invokevirtual java.awt.FontMetrics.charWidth:(C)I
istore 4
start local 4 2: aload 3
invokevirtual java.awt.FontMetrics.getMaxAscent:()I
aload 3
invokevirtual java.awt.FontMetrics.getMaxDescent:()I
iadd
istore 5
start local 5 3: new java.awt.Dimension
dup
iload 2
iload 4
imul
aload 0
invokevirtual sun.awt.motif.MTextAreaPeer.getExtraWidth:()I
iadd
4: iload 1
iload 5
imul
aload 0
invokevirtual sun.awt.motif.MTextAreaPeer.getExtraHeight:()I
iadd
5: invokespecial java.awt.Dimension.<init>:(II)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/motif/MTextAreaPeer;
0 6 1 rows I
0 6 2 cols I
1 6 3 fm Ljava/awt/FontMetrics;
2 6 4 colWidth I
3 6 5 rowHeight I
MethodParameters:
Name Flags
rows
cols
public boolean isFocusable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MTextAreaPeer;
public void pasteFromClipboard();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.awt.motif.MTextAreaPeer.target:Ljava/awt/Component;
invokevirtual java.awt.Component.getToolkit:()Ljava/awt/Toolkit;
invokevirtual java.awt.Toolkit.getSystemClipboard:()Ljava/awt/datatransfer/Clipboard;
astore 1
start local 1 1: aload 1
aload 0
invokevirtual java.awt.datatransfer.Clipboard.getContents:(Ljava/lang/Object;)Ljava/awt/datatransfer/Transferable;
astore 2
start local 2 2: aload 2
ifnull 10
3: aload 2
getstatic java.awt.datatransfer.DataFlavor.stringFlavor:Ljava/awt/datatransfer/DataFlavor;
invokeinterface java.awt.datatransfer.Transferable.getTransferData:(Ljava/awt/datatransfer/DataFlavor;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 4: aload 3
ifnonnull 5
ldc ""
goto 6
StackMap locals: java.awt.datatransfer.Clipboard java.awt.datatransfer.Transferable java.lang.String
StackMap stack:
5: aload 3
StackMap locals:
StackMap stack: java.lang.String
6: astore 3
7: aload 0
aload 3
aload 0
invokevirtual sun.awt.motif.MTextAreaPeer.getSelectionStart:()I
aload 0
invokevirtual sun.awt.motif.MTextAreaPeer.getSelectionEnd:()I
invokevirtual sun.awt.motif.MTextAreaPeer.replaceRange:(Ljava/lang/String;II)V
end local 3 8: goto 10
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.datatransfer.Clipboard java.awt.datatransfer.Transferable
StackMap stack: java.lang.Exception
9: pop
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/awt/motif/MTextAreaPeer;
1 11 1 clipboard Ljava/awt/datatransfer/Clipboard;
2 11 2 content Ljava/awt/datatransfer/Transferable;
4 8 3 data Ljava/lang/String;
Exception table:
from to target type
3 8 9 Class java.lang.Exception
public void print(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=31, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.motif.MTextAreaPeer.target:Ljava/awt/Component;
checkcast java.awt.TextArea
astore 2
start local 2 1: aload 2
invokevirtual java.awt.TextArea.size:()Ljava/awt/Dimension;
astore 3
start local 3 2: aload 2
invokevirtual java.awt.TextArea.getBackground:()Ljava/awt/Color;
astore 4
start local 4 3: aload 2
invokevirtual java.awt.TextArea.getForeground:()Ljava/awt/Color;
astore 5
start local 5 4: aload 0
aload 2
invokevirtual java.awt.TextArea.getFont:()Ljava/awt/Font;
invokevirtual sun.awt.motif.MTextAreaPeer.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 6
start local 6 5: iconst_0
istore 15
start local 15 6: aload 2
invokevirtual java.awt.TextArea.getText:()Ljava/lang/String;
astore 16
start local 16 7: aload 0
aload 16
invokevirtual java.lang.String.length:()I
putfield sun.awt.motif.MTextAreaPeer.textLength:I
8: new java.io.BufferedReader
dup
new java.io.StringReader
dup
aload 16
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 17
start local 17 9: iconst_0
istore 19
start local 19 10: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.awt.motif.MTextAreaPeer.lines:Ljava/util/Vector;
11: aload 0
getfield sun.awt.motif.MTextAreaPeer.target:Ljava/awt/Component;
checkcast java.awt.TextArea
invokevirtual java.awt.TextArea.getScrollbarVisibility:()I
istore 20
start local 20 12: aload 0
iload 20
ifeq 14
13: iload 20
iconst_1
if_icmpeq 14
iconst_0
goto 15
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.TextArea java.awt.Dimension java.awt.Color java.awt.Color java.awt.FontMetrics top top top top top top top top int java.lang.String java.io.BufferedReader top int int
StackMap stack: sun.awt.motif.MTextAreaPeer
14: iconst_1
15: StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.TextArea java.awt.Dimension java.awt.Color java.awt.Color java.awt.FontMetrics top top top top top top top top int java.lang.String java.io.BufferedReader top int int
StackMap stack: sun.awt.motif.MTextAreaPeer int
putfield sun.awt.motif.MTextAreaPeer.vscrollbar:Z
16: aload 0
iload 20
ifeq 18
17: iload 20
iconst_2
if_icmpeq 18
iconst_0
goto 19
StackMap locals:
StackMap stack: sun.awt.motif.MTextAreaPeer
18: iconst_1
19: StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.TextArea java.awt.Dimension java.awt.Color java.awt.Color java.awt.FontMetrics top top top top top top top top int java.lang.String java.io.BufferedReader top int int
StackMap stack: sun.awt.motif.MTextAreaPeer int
putfield sun.awt.motif.MTextAreaPeer.hscrollbar:Z
20: aload 0
getfield sun.awt.motif.MTextAreaPeer.hscrollbar:Z
ifeq 21
iconst_0
goto 22
StackMap locals:
StackMap stack:
21: iconst_1
StackMap locals:
StackMap stack: int
22: istore 21
start local 21 23: aload 3
getfield java.awt.Dimension.width:I
aload 0
getfield sun.awt.motif.MTextAreaPeer.vscrollbar:Z
ifeq 24
bipush 16
goto 25
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.TextArea java.awt.Dimension java.awt.Color java.awt.Color java.awt.FontMetrics top top top top top top top top int java.lang.String java.io.BufferedReader top int int int
StackMap stack: int
24: iconst_0
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.TextArea java.awt.Dimension java.awt.Color java.awt.Color java.awt.FontMetrics top top top top top top top top int java.lang.String java.io.BufferedReader top int int int
StackMap stack: int int
25: isub
istore 22
start local 22 26: aload 3
getfield java.awt.Dimension.height:I
aload 0
getfield sun.awt.motif.MTextAreaPeer.hscrollbar:Z
ifeq 27
bipush 16
goto 28
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.TextArea java.awt.Dimension java.awt.Color java.awt.Color java.awt.FontMetrics top top top top top top top top int java.lang.String java.io.BufferedReader top int int int int
StackMap stack: int
27: iconst_0
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.TextArea java.awt.Dimension java.awt.Color java.awt.Color java.awt.FontMetrics top top top top top top top top int java.lang.String java.io.BufferedReader top int int int int
StackMap stack: int int
28: isub
istore 23
start local 23 29: aload 0
iconst_0
putfield sun.awt.motif.MTextAreaPeer.numLines:I
30: goto 64
start local 18 31: StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.TextArea java.awt.Dimension java.awt.Color java.awt.Color java.awt.FontMetrics top top top top top top top top int java.lang.String java.io.BufferedReader java.lang.String int int int int int
StackMap stack:
aload 6
aload 18
invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
istore 24
start local 24 32: iload 24
iload 22
if_icmple 57
iload 21
ifeq 57
33: iconst_0
istore 25
start local 25 34: iconst_0
istore 26
start local 26 35: aload 18
invokevirtual java.lang.String.length:()I
istore 27
start local 27 36: StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.TextArea java.awt.Dimension java.awt.Color java.awt.Color java.awt.FontMetrics top top top top top top top top int java.lang.String java.io.BufferedReader java.lang.String int int int int int int int int int
StackMap stack:
iconst_0
istore 28
start local 28 37: iload 25
iconst_1
iadd
istore 26
38: goto 45
39: StackMap locals: int
StackMap stack:
aload 18
iload 26
invokevirtual java.lang.String.charAt:(I)C
istore 29
start local 29 40: aload 6
iload 29
invokevirtual java.awt.FontMetrics.charWidth:(C)I
istore 30
start local 30 41: iload 28
iload 30
iadd
bipush 10
iadd
iload 22
if_icmple 43
42: goto 46
43: StackMap locals: int int
StackMap stack:
iload 28
iload 30
iadd
istore 28
44: iinc 26 1
end local 30 end local 29 45: StackMap locals:
StackMap stack:
iload 26
iload 27
if_icmplt 39
46: StackMap locals:
StackMap stack:
aload 18
iload 25
iload 26
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 29
start local 29 47: new sun.awt.motif.TextLine
dup
invokespecial sun.awt.motif.TextLine.<init>:()V
astore 30
start local 30 48: aload 30
aload 29
putfield sun.awt.motif.TextLine.text:Ljava/lang/String;
49: aload 30
iload 19
iload 25
iadd
putfield sun.awt.motif.TextLine.pos:I
50: aload 0
getfield sun.awt.motif.MTextAreaPeer.lines:Ljava/util/Vector;
aload 30
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
51: iload 26
istore 25
52: iload 15
iload 24
invokestatic java.lang.Math.max:(II)I
istore 15
53: aload 0
dup
getfield sun.awt.motif.MTextAreaPeer.numLines:I
iconst_1
iadd
putfield sun.awt.motif.MTextAreaPeer.numLines:I
54: iload 26
iload 27
if_icmpne 36
55: iload 19
aload 18
invokevirtual java.lang.String.length:()I
iconst_1
iadd
iadd
istore 19
end local 30 end local 29 end local 28 end local 27 end local 26 end local 25 56: goto 64
57: StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.TextArea java.awt.Dimension java.awt.Color java.awt.Color java.awt.FontMetrics top top top top top top top top int java.lang.String java.io.BufferedReader java.lang.String int int int int int int
StackMap stack:
new sun.awt.motif.TextLine
dup
invokespecial sun.awt.motif.TextLine.<init>:()V
astore 25
start local 25 58: aload 25
aload 18
putfield sun.awt.motif.TextLine.text:Ljava/lang/String;
59: aload 25
iload 19
putfield sun.awt.motif.TextLine.pos:I
60: aload 0
getfield sun.awt.motif.MTextAreaPeer.lines:Ljava/util/Vector;
aload 25
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
61: iload 19
aload 18
invokevirtual java.lang.String.length:()I
iconst_1
iadd
iadd
istore 19
62: iload 15
iload 24
invokestatic java.lang.Math.max:(II)I
istore 15
63: aload 0
dup
getfield sun.awt.motif.MTextAreaPeer.numLines:I
iconst_1
iadd
putfield sun.awt.motif.MTextAreaPeer.numLines:I
end local 25 end local 24 end local 18 64: StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.TextArea java.awt.Dimension java.awt.Color java.awt.Color java.awt.FontMetrics top top top top top top top top int java.lang.String java.io.BufferedReader top int int int int int
StackMap stack:
aload 17
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
dup
astore 18
start local 18 65: ifnonnull 31
66: aload 17
invokevirtual java.io.BufferedReader.close:()V
67: goto 69
end local 18 StackMap locals:
StackMap stack: java.io.IOException
68: pop
69: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual java.awt.FontMetrics.getHeight:()I
putfield sun.awt.motif.MTextAreaPeer.fontHeight:I
70: aload 0
aload 6
invokevirtual java.awt.FontMetrics.getAscent:()I
putfield sun.awt.motif.MTextAreaPeer.fontAscent:I
71: aload 0
aload 6
invokevirtual java.awt.FontMetrics.getLeading:()I
putfield sun.awt.motif.MTextAreaPeer.fontLeading:I
72: iconst_0
dup
istore 7
start local 7 73: istore 11
start local 11 74: aload 0
iconst_1
invokevirtual sun.awt.motif.MTextAreaPeer.linesInWindow:(Z)I
istore 10
start local 10 75: aload 0
getfield sun.awt.motif.MTextAreaPeer.numLines:I
iload 10
isub
iconst_0
invokestatic java.lang.Math.max:(II)I
istore 8
start local 8 76: iconst_0
istore 9
start local 9 77: iload 22
iconst_4
isub
istore 14
start local 14 78: iload 15
iload 14
isub
iconst_0
invokestatic java.lang.Math.max:(II)I
istore 12
start local 12 79: iconst_0
istore 13
start local 13 80: aload 1
aload 4
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
81: aload 1
iconst_1
iconst_1
iload 22
iload 23
invokevirtual java.awt.Graphics.fillRect:(IIII)V
82: aload 0
getfield sun.awt.motif.MTextAreaPeer.vscrollbar:Z
ifeq 97
83: aload 3
getfield java.awt.Dimension.height:I
aload 0
getfield sun.awt.motif.MTextAreaPeer.hscrollbar:Z
ifeq 84
bipush 16
goto 85
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.TextArea java.awt.Dimension java.awt.Color java.awt.Color java.awt.FontMetrics int int int int int int int int int java.lang.String java.io.BufferedReader top int int int int int
StackMap stack: int
84: iconst_0
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.TextArea java.awt.Dimension java.awt.Color java.awt.Color java.awt.FontMetrics int int int int int int int int int java.lang.String java.io.BufferedReader top int int int int int
StackMap stack: int int
85: isub
istore 24
start local 24 86: aload 1
aload 3
getfield java.awt.Dimension.width:I
bipush 16
isub
iconst_3
isub
iconst_1
bipush 13
iload 24
iconst_1
isub
invokevirtual java.awt.Graphics.fillRect:(IIII)V
87: aload 1
invokevirtual java.awt.Graphics.create:()Ljava/awt/Graphics;
astore 25
start local 25 88: aload 25
aload 3
getfield java.awt.Dimension.width:I
bipush 14
isub
iconst_0
invokevirtual java.awt.Graphics.translate:(II)V
89: aload 0
aload 25
aload 4
bipush 14
iload 24
90: iload 7
iload 8
iload 9
iload 10
iconst_0
91: invokevirtual sun.awt.motif.MTextAreaPeer.drawScrollbar:(Ljava/awt/Graphics;Ljava/awt/Color;IIIIIIZ)V
92: goto 96
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.TextArea java.awt.Dimension java.awt.Color java.awt.Color java.awt.FontMetrics int int int int int int int int int java.lang.String java.io.BufferedReader top int int int int int int java.awt.Graphics
StackMap stack: java.lang.Throwable
93: astore 26
94: aload 25
invokevirtual java.awt.Graphics.dispose:()V
95: aload 26
athrow
96: StackMap locals:
StackMap stack:
aload 25
invokevirtual java.awt.Graphics.dispose:()V
end local 25 end local 24 97: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.motif.MTextAreaPeer.hscrollbar:Z
ifeq 112
98: aload 3
getfield java.awt.Dimension.width:I
aload 0
getfield sun.awt.motif.MTextAreaPeer.vscrollbar:Z
ifeq 99
bipush 16
goto 100
StackMap locals:
StackMap stack: int
99: iconst_0
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.TextArea java.awt.Dimension java.awt.Color java.awt.Color java.awt.FontMetrics int int int int int int int int int java.lang.String java.io.BufferedReader top int int int int int
StackMap stack: int int
100: isub
istore 24
start local 24 101: aload 1
iconst_1
aload 3
getfield java.awt.Dimension.height:I
bipush 16
isub
iconst_3
isub
iload 24
iconst_1
isub
bipush 13
invokevirtual java.awt.Graphics.fillRect:(IIII)V
102: aload 1
invokevirtual java.awt.Graphics.create:()Ljava/awt/Graphics;
astore 25
start local 25 103: aload 25
iconst_0
aload 3
getfield java.awt.Dimension.height:I
bipush 14
isub
invokevirtual java.awt.Graphics.translate:(II)V
104: aload 0
aload 25
aload 4
bipush 14
iload 24
105: iload 11
iload 12
iload 13
iload 14
iconst_1
106: invokevirtual sun.awt.motif.MTextAreaPeer.drawScrollbar:(Ljava/awt/Graphics;Ljava/awt/Color;IIIIIIZ)V
107: goto 111
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.TextArea java.awt.Dimension java.awt.Color java.awt.Color java.awt.FontMetrics int int int int int int int int int java.lang.String java.io.BufferedReader top int int int int int int java.awt.Graphics
StackMap stack: java.lang.Throwable
108: astore 26
109: aload 25
invokevirtual java.awt.Graphics.dispose:()V
110: aload 26
athrow
111: StackMap locals:
StackMap stack:
aload 25
invokevirtual java.awt.Graphics.dispose:()V
end local 25 end local 24 112: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 4
iconst_0
iconst_0
iload 22
iconst_1
isub
iload 23
iconst_1
isub
iconst_0
invokevirtual sun.awt.motif.MTextAreaPeer.draw3DRect:(Ljava/awt/Graphics;Ljava/awt/Color;IIIIZ)V
113: aload 16
ifnull 118
114: aload 0
iconst_1
invokevirtual sun.awt.motif.MTextAreaPeer.linesInWindow:(Z)I
istore 24
start local 24 115: aload 3
getfield java.awt.Dimension.height:I
bipush 20
isub
istore 23
116: aload 0
getfield sun.awt.motif.MTextAreaPeer.numLines:I
iconst_1
isub
aload 0
getfield sun.awt.motif.MTextAreaPeer.topLine:I
iload 24
iadd
iconst_1
isub
invokestatic java.lang.Math.min:(II)I
istore 25
start local 25 117: aload 0
aload 1
aload 4
aload 5
aload 0
getfield sun.awt.motif.MTextAreaPeer.topLine:I
iload 25
invokevirtual sun.awt.motif.MTextAreaPeer.paintLines:(Ljava/awt/Graphics;Ljava/awt/Color;Ljava/awt/Color;II)V
end local 25 end local 24 118: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.motif.MTextAreaPeer.target:Ljava/awt/Component;
aload 1
invokevirtual java.awt.Component.print:(Ljava/awt/Graphics;)V
119: return
end local 23 end local 22 end local 21 end local 20 end local 19 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 120 0 this Lsun/awt/motif/MTextAreaPeer;
0 120 1 g Ljava/awt/Graphics;
1 120 2 area Ljava/awt/TextArea;
2 120 3 d Ljava/awt/Dimension;
3 120 4 bg Ljava/awt/Color;
4 120 5 fg Ljava/awt/Color;
5 120 6 fm Ljava/awt/FontMetrics;
73 120 7 vmin I
76 120 8 vmax I
77 120 9 vval I
75 120 10 vvis I
74 120 11 hmin I
79 120 12 hmax I
80 120 13 hval I
78 120 14 hvis I
6 120 15 max I
7 120 16 text Ljava/lang/String;
9 120 17 is Ljava/io/BufferedReader;
31 64 18 line Ljava/lang/String;
65 68 18 line Ljava/lang/String;
10 120 19 pos I
12 120 20 sv I
23 120 21 wrap Z
26 120 22 w I
29 120 23 h I
32 64 24 len I
34 56 25 start I
35 56 26 end I
36 56 27 string_length I
37 56 28 line_width I
40 45 29 c C
41 45 30 cw I
47 56 29 substr Ljava/lang/String;
48 56 30 tline Lsun/awt/motif/TextLine;
58 64 25 tline Lsun/awt/motif/TextLine;
86 97 24 sbh I
88 97 25 ng Ljava/awt/Graphics;
101 112 24 sbw I
103 112 25 ng Ljava/awt/Graphics;
115 118 24 l I
117 118 25 e I
Exception table:
from to target type
29 67 68 Class java.io.IOException
88 93 93 any
103 108 108 any
MethodParameters:
Name Flags
g
int linesInWindow(boolean);
descriptor: (Z)I
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.motif.MTextAreaPeer.target:Ljava/awt/Component;
invokevirtual java.awt.Component.size:()Ljava/awt/Dimension;
astore 2
start local 2 1: aload 2
getfield java.awt.Dimension.height:I
iconst_4
iload 1
ifeq 2
bipush 16
goto 3
StackMap locals: sun.awt.motif.MTextAreaPeer int java.awt.Dimension
StackMap stack: int int
2: iconst_0
StackMap locals: sun.awt.motif.MTextAreaPeer int java.awt.Dimension
StackMap stack: int int int
3: iadd
isub
istore 3
start local 3 4: iload 3
aload 0
getfield sun.awt.motif.MTextAreaPeer.fontHeight:I
idiv
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/motif/MTextAreaPeer;
0 5 1 horizScrollbar Z
1 5 2 d Ljava/awt/Dimension;
4 5 3 htotal I
MethodParameters:
Name Flags
horizScrollbar
void paintLines(java.awt.Graphics, java.awt.Color, java.awt.Color, int, int);
descriptor: (Ljava/awt/Graphics;Ljava/awt/Color;Ljava/awt/Color;II)V
flags: (0x0000)
Code:
stack=6, locals=13, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield sun.awt.motif.MTextAreaPeer.target:Ljava/awt/Component;
invokevirtual java.awt.Component.size:()Ljava/awt/Dimension;
astore 6
start local 6 1: aload 6
getfield java.awt.Dimension.width:I
iconst_2
aload 0
getfield sun.awt.motif.MTextAreaPeer.vscrollbar:Z
ifeq 2
bipush 16
goto 3
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.Color java.awt.Color int int java.awt.Dimension
StackMap stack: int int
2: iconst_0
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.Color java.awt.Color int int java.awt.Dimension
StackMap stack: int int int
3: iadd
isub
istore 7
start local 7 4: aload 6
getfield java.awt.Dimension.height:I
iconst_2
aload 0
getfield sun.awt.motif.MTextAreaPeer.hscrollbar:Z
ifeq 5
bipush 16
goto 6
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.Color java.awt.Color int int java.awt.Dimension int
StackMap stack: int int
5: iconst_0
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.Color java.awt.Color int int java.awt.Dimension int
StackMap stack: int int int
6: iadd
isub
istore 8
start local 8 7: aload 0
iconst_1
invokevirtual sun.awt.motif.MTextAreaPeer.linesInWindow:(Z)I
aload 0
getfield sun.awt.motif.MTextAreaPeer.topLine:I
iadd
istore 9
start local 9 8: aload 0
getfield sun.awt.motif.MTextAreaPeer.topLine:I
iload 4
invokestatic java.lang.Math.max:(II)I
istore 4
9: iload 5
iload 9
iconst_1
isub
invokestatic java.lang.Math.min:(II)I
istore 5
10: aload 1
invokevirtual java.awt.Graphics.create:()Ljava/awt/Graphics;
astore 10
start local 10 11: aload 10
iconst_3
iconst_3
iload 7
iconst_4
isub
12: iload 8
iconst_4
isub
13: invokevirtual java.awt.Graphics.clipRect:(IIII)V
14: aload 10
aload 0
getfield sun.awt.motif.MTextAreaPeer.target:Ljava/awt/Component;
invokevirtual java.awt.Component.getFont:()Ljava/awt/Font;
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
15: iload 4
istore 11
start local 11 16: goto 19
17: StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.Color java.awt.Color int int java.awt.Dimension int int int java.awt.Graphics int
StackMap stack:
aload 0
aload 10
aload 2
aload 3
iload 11
invokevirtual sun.awt.motif.MTextAreaPeer.paintLine:(Ljava/awt/Graphics;Ljava/awt/Color;Ljava/awt/Color;I)V
18: iinc 11 1
StackMap locals:
StackMap stack:
19: iload 11
iload 5
if_icmple 17
end local 11 20: goto 24
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.Color java.awt.Color int int java.awt.Dimension int int int java.awt.Graphics
StackMap stack: java.lang.Throwable
21: astore 12
22: aload 10
invokevirtual java.awt.Graphics.dispose:()V
23: aload 12
athrow
24: StackMap locals:
StackMap stack:
aload 10
invokevirtual java.awt.Graphics.dispose:()V
25: return
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lsun/awt/motif/MTextAreaPeer;
0 26 1 g Ljava/awt/Graphics;
0 26 2 bg Ljava/awt/Color;
0 26 3 fg Ljava/awt/Color;
0 26 4 s I
0 26 5 e I
1 26 6 d Ljava/awt/Dimension;
4 26 7 w I
7 26 8 h I
8 26 9 lm I
11 26 10 ng Ljava/awt/Graphics;
16 20 11 i I
Exception table:
from to target type
11 21 21 any
MethodParameters:
Name Flags
g
bg
fg
s
e
void paintLine(java.awt.Graphics, java.awt.Color, java.awt.Color, int);
descriptor: (Ljava/awt/Graphics;Ljava/awt/Color;Ljava/awt/Color;I)V
flags: (0x0000)
Code:
stack=5, locals=16, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield sun.awt.motif.MTextAreaPeer.target:Ljava/awt/Component;
invokevirtual java.awt.Component.size:()Ljava/awt/Dimension;
astore 5
start local 5 1: aload 0
iconst_1
invokevirtual sun.awt.motif.MTextAreaPeer.linesInWindow:(Z)I
istore 6
start local 6 2: iload 4
aload 0
getfield sun.awt.motif.MTextAreaPeer.topLine:I
if_icmplt 3
iload 4
iload 6
aload 0
getfield sun.awt.motif.MTextAreaPeer.topLine:I
iadd
if_icmplt 4
3: StackMap locals: java.awt.Dimension int
StackMap stack:
return
4: StackMap locals:
StackMap stack:
aload 5
getfield java.awt.Dimension.width:I
iconst_2
aload 0
getfield sun.awt.motif.MTextAreaPeer.hscrollbar:Z
ifeq 5
bipush 16
goto 6
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.Color java.awt.Color int java.awt.Dimension int
StackMap stack: int int
5: iconst_0
StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.Color java.awt.Color int java.awt.Dimension int
StackMap stack: int int int
6: iadd
isub
istore 7
start local 7 7: iconst_2
aload 0
getfield sun.awt.motif.MTextAreaPeer.fontLeading:I
iadd
iload 4
aload 0
getfield sun.awt.motif.MTextAreaPeer.topLine:I
isub
aload 0
getfield sun.awt.motif.MTextAreaPeer.fontHeight:I
imul
iadd
istore 8
start local 8 8: aload 0
getfield sun.awt.motif.MTextAreaPeer.lines:Ljava/util/Vector;
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast sun.awt.motif.TextLine
getfield sun.awt.motif.TextLine.text:Ljava/lang/String;
astore 9
start local 9 9: aload 9
invokevirtual java.lang.String.length:()I
istore 10
start local 10 10: iload 4
aload 0
getfield sun.awt.motif.MTextAreaPeer.numLines:I
iconst_1
isub
if_icmple 14
11: aload 1
aload 2
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
12: aload 1
iconst_1
iload 8
aload 0
getfield sun.awt.motif.MTextAreaPeer.fontLeading:I
isub
iload 7
aload 0
getfield sun.awt.motif.MTextAreaPeer.fontHeight:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
13: return
14: StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.Color java.awt.Color int java.awt.Dimension int int int java.lang.String int
StackMap stack:
iconst_0
istore 11
start local 11 15: iload 4
aload 0
getfield sun.awt.motif.MTextAreaPeer.numLines:I
iconst_1
isub
if_icmpge 16
iload 10
goto 17
StackMap locals: int
StackMap stack:
16: aload 0
getfield sun.awt.motif.MTextAreaPeer.textLength:I
StackMap locals:
StackMap stack: int
17: istore 12
start local 12 18: aload 0
aload 0
getfield sun.awt.motif.MTextAreaPeer.selStart:I
invokevirtual sun.awt.motif.MTextAreaPeer.pos2x:(I)I
aload 0
getfield sun.awt.motif.MTextAreaPeer.movedRight:I
isub
istore 13
start local 13 19: aload 0
aload 0
getfield sun.awt.motif.MTextAreaPeer.selEnd:I
invokevirtual sun.awt.motif.MTextAreaPeer.pos2x:(I)I
aload 0
getfield sun.awt.motif.MTextAreaPeer.movedRight:I
isub
istore 14
start local 14 20: aload 2
invokevirtual java.awt.Color.brighter:()Ljava/awt/Color;
astore 15
start local 15 21: aload 0
getfield sun.awt.motif.MTextAreaPeer.selStart:I
iload 11
if_icmpge 25
aload 0
getfield sun.awt.motif.MTextAreaPeer.selEnd:I
iload 12
if_icmple 25
22: aload 1
aload 15
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
23: aload 1
iconst_1
iload 8
aload 0
getfield sun.awt.motif.MTextAreaPeer.fontLeading:I
isub
iload 7
aload 0
getfield sun.awt.motif.MTextAreaPeer.fontHeight:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
24: goto 38
25: StackMap locals: sun.awt.motif.MTextAreaPeer java.awt.Graphics java.awt.Color java.awt.Color int java.awt.Dimension int int int java.lang.String int int int int int java.awt.Color
StackMap stack:
aload 1
aload 2
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
26: aload 1
iconst_1
iload 8
aload 0
getfield sun.awt.motif.MTextAreaPeer.fontLeading:I
isub
iload 7
aload 0
getfield sun.awt.motif.MTextAreaPeer.fontHeight:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
27: aload 0
getfield sun.awt.motif.MTextAreaPeer.selStart:I
iload 11
if_icmplt 35
aload 0
getfield sun.awt.motif.MTextAreaPeer.selStart:I
iload 12
if_icmpgt 35
28: aload 1
aload 15
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
29: aload 0
getfield sun.awt.motif.MTextAreaPeer.selEnd:I
iload 12
if_icmple 32
30: aload 1
iload 13
iload 8
aload 0
getfield sun.awt.motif.MTextAreaPeer.fontLeading:I
isub
iload 7
iconst_1
iadd
iload 13
isub
aload 0
getfield sun.awt.motif.MTextAreaPeer.fontHeight:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
31: goto 38
StackMap locals:
StackMap stack:
32: aload 0
getfield sun.awt.motif.MTextAreaPeer.selStart:I
aload 0
getfield sun.awt.motif.MTextAreaPeer.selEnd:I
if_icmpeq 38
33: aload 1
iload 13
iload 8
aload 0
getfield sun.awt.motif.MTextAreaPeer.fontLeading:I
isub
iload 14
iload 13
isub
aload 0
getfield sun.awt.motif.MTextAreaPeer.fontHeight:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
34: goto 38
StackMap locals:
StackMap stack:
35: aload 0
getfield sun.awt.motif.MTextAreaPeer.selEnd:I
iload 11
if_icmplt 38
aload 0
getfield sun.awt.motif.MTextAreaPeer.selEnd:I
iload 12
if_icmpgt 38
36: aload 1
aload 15
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
37: aload 1
iconst_1
iload 8
aload 0
getfield sun.awt.motif.MTextAreaPeer.fontLeading:I
isub
iload 14
iconst_1
isub
aload 0
getfield sun.awt.motif.MTextAreaPeer.fontHeight:I
invokevirtual java.awt.Graphics.fillRect:(IIII)V
38: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
39: aload 1
aload 9
iconst_2
aload 0
getfield sun.awt.motif.MTextAreaPeer.movedRight:I
isub
iload 8
aload 0
getfield sun.awt.motif.MTextAreaPeer.fontAscent:I
iadd
invokevirtual java.awt.Graphics.drawString:(Ljava/lang/String;II)V
40: return
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lsun/awt/motif/MTextAreaPeer;
0 41 1 g Ljava/awt/Graphics;
0 41 2 bg Ljava/awt/Color;
0 41 3 fg Ljava/awt/Color;
0 41 4 lnr I
1 41 5 d Ljava/awt/Dimension;
2 41 6 l I
7 41 7 w I
8 41 8 y I
9 41 9 text Ljava/lang/String;
10 41 10 len I
15 41 11 s I
18 41 12 e I
19 41 13 xs I
20 41 14 xe I
21 41 15 highlight Ljava/awt/Color;
MethodParameters:
Name Flags
g
bg
fg
lnr
int pos2x(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield sun.awt.motif.MTextAreaPeer.target:Ljava/awt/Component;
invokevirtual java.awt.Component.getFont:()Ljava/awt/Font;
invokevirtual sun.awt.motif.MTextAreaPeer.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
astore 2
start local 2 1: aload 2
invokevirtual java.awt.FontMetrics.getWidths:()[I
astore 3
start local 3 2: aload 0
getfield sun.awt.motif.MTextAreaPeer.lines:Ljava/util/Vector;
iconst_0
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast sun.awt.motif.TextLine
astore 4
start local 4 3: iconst_0
istore 6
start local 6 4: goto 11
5: StackMap locals: sun.awt.motif.MTextAreaPeer int java.awt.FontMetrics int[] sun.awt.motif.TextLine top int
StackMap stack:
aload 0
getfield sun.awt.motif.MTextAreaPeer.lines:Ljava/util/Vector;
iload 6
iconst_1
iadd
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast sun.awt.motif.TextLine
astore 5
start local 5 6: iload 1
aload 4
getfield sun.awt.motif.TextLine.pos:I
if_icmplt 9
iload 1
aload 5
getfield sun.awt.motif.TextLine.pos:I
if_icmpge 9
7: iload 6
pop
8: goto 12
9: StackMap locals: sun.awt.motif.MTextAreaPeer int java.awt.FontMetrics int[] sun.awt.motif.TextLine sun.awt.motif.TextLine int
StackMap stack:
aload 5
astore 4
10: iinc 6 1
end local 5 StackMap locals: sun.awt.motif.MTextAreaPeer int java.awt.FontMetrics int[] sun.awt.motif.TextLine top int
StackMap stack:
11: iload 6
aload 0
getfield sun.awt.motif.MTextAreaPeer.lines:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
iconst_1
isub
if_icmplt 5
end local 6 12: StackMap locals: sun.awt.motif.MTextAreaPeer int java.awt.FontMetrics int[] sun.awt.motif.TextLine
StackMap stack:
iconst_2
istore 6
start local 6 13: iconst_0
istore 7
start local 7 14: goto 17
15: StackMap locals: sun.awt.motif.MTextAreaPeer int java.awt.FontMetrics int[] sun.awt.motif.TextLine top int int
StackMap stack:
iload 6
aload 3
aload 4
getfield sun.awt.motif.TextLine.text:Ljava/lang/String;
iload 7
invokevirtual java.lang.String.charAt:(I)C
iaload
iadd
istore 6
16: iinc 7 1
StackMap locals:
StackMap stack:
17: iload 7
iload 1
aload 4
getfield sun.awt.motif.TextLine.pos:I
isub
iconst_1
isub
if_icmplt 15
end local 7 18: iload 6
ireturn
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/awt/motif/MTextAreaPeer;
0 19 1 pos I
1 19 2 fm Ljava/awt/FontMetrics;
2 19 3 widths [I
3 19 4 tl1 Lsun/awt/motif/TextLine;
6 11 5 tl2 Lsun/awt/motif/TextLine;
4 12 6 i I
13 19 6 x I
14 18 7 i I
MethodParameters:
Name Flags
pos
public void insertText(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokevirtual sun.awt.motif.MTextAreaPeer.insert:(Ljava/lang/String;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/motif/MTextAreaPeer;
0 2 1 txt Ljava/lang/String;
0 2 2 pos I
MethodParameters:
Name Flags
txt
pos
public void replaceText(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
invokevirtual sun.awt.motif.MTextAreaPeer.replaceRange:(Ljava/lang/String;II)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/motif/MTextAreaPeer;
0 2 1 txt Ljava/lang/String;
0 2 2 start I
0 2 3 end I
MethodParameters:
Name Flags
txt
start
end
public java.awt.Dimension minimumSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.motif.MTextAreaPeer.getMinimumSize:()Ljava/awt/Dimension;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MTextAreaPeer;
public java.awt.Dimension preferredSize(int, int);
descriptor: (II)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokevirtual sun.awt.motif.MTextAreaPeer.getPreferredSize:(II)Ljava/awt/Dimension;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MTextAreaPeer;
0 1 1 rows I
0 1 2 cols I
MethodParameters:
Name Flags
rows
cols
public java.awt.Dimension minimumSize(int, int);
descriptor: (II)Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokevirtual sun.awt.motif.MTextAreaPeer.getMinimumSize:(II)Ljava/awt/Dimension;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MTextAreaPeer;
0 1 1 rows I
0 1 2 cols I
MethodParameters:
Name Flags
rows
cols
public void valueChanged();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
new java.awt.event.TextEvent
dup
aload 0
getfield sun.awt.motif.MTextAreaPeer.target:Ljava/awt/Component;
sipush 900
invokespecial java.awt.event.TextEvent.<init>:(Ljava/lang/Object;I)V
invokevirtual sun.awt.motif.MTextAreaPeer.postEvent:(Ljava/awt/AWTEvent;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/motif/MTextAreaPeer;
void pShow();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.motif.MTextAreaPeer.pShow2:()V
1: aload 0
iconst_1
invokevirtual sun.awt.motif.MTextAreaPeer.notifyTextComponentChange:(Z)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/motif/MTextAreaPeer;
void pHide();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual sun.awt.motif.MTextAreaPeer.notifyTextComponentChange:(Z)V
1: aload 0
invokespecial sun.awt.motif.MComponentPeer.pHide:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/motif/MTextAreaPeer;
void pDispose();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual sun.awt.motif.MTextAreaPeer.notifyTextComponentChange:(Z)V
1: aload 0
invokespecial sun.awt.motif.MComponentPeer.pDispose:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/motif/MTextAreaPeer;
public boolean handlesWheelScrolling();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MTextAreaPeer;
public void handleEvent(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.AWTEvent.getID:()I
sipush 507
if_icmpne 7
1: aload 1
checkcast java.awt.event.MouseWheelEvent
astore 2
start local 2 2: aload 0
aload 2
invokevirtual java.awt.event.MouseWheelEvent.getScrollType:()I
3: aload 2
invokevirtual java.awt.event.MouseWheelEvent.getScrollAmount:()I
4: aload 2
invokevirtual java.awt.event.MouseWheelEvent.getWheelRotation:()I
5: invokevirtual sun.awt.motif.MTextAreaPeer.nativeHandleMouseWheel:(III)V
end local 2 6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial sun.awt.motif.MComponentPeer.handleEvent:(Ljava/awt/AWTEvent;)V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/motif/MTextAreaPeer;
0 9 1 e Ljava/awt/AWTEvent;
2 6 2 mwe Ljava/awt/event/MouseWheelEvent;
MethodParameters:
Name Flags
e
public java.awt.im.InputMethodRequests getInputMethodRequests();
descriptor: ()Ljava/awt/im/InputMethodRequests;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MTextAreaPeer;
native void nativeHandleMouseWheel(int, int, int);
descriptor: (III)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
scrollType
scrollAmount
wheelRotation
public int getIndexAtPoint(int, int);
descriptor: (II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_m1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MTextAreaPeer;
0 1 1 x I
0 1 2 y I
MethodParameters:
Name Flags
x
y
public java.awt.Rectangle getCharacterBounds(int);
descriptor: (I)Ljava/awt/Rectangle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MTextAreaPeer;
0 1 1 i I
MethodParameters:
Name Flags
i
public long filterEvents(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: lconst_0
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/motif/MTextAreaPeer;
0 1 1 mask J
MethodParameters:
Name Flags
mask
}
SourceFile: "MTextAreaPeer.java"