class javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler implements javax.swing.event.MouseInputListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler
super_class: java.lang.Object
{
private boolean isMovingWindow;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int dragCursor;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int dragOffsetX;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int dragOffsetY;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int dragWidth;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int dragHeight;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final javax.swing.plaf.metal.MetalRootPaneUI this$0;
descriptor: Ljavax/swing/plaf/metal/MetalRootPaneUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(javax.swing.plaf.metal.MetalRootPaneUI);
descriptor: (Ljavax/swing/plaf/metal/MetalRootPaneUI;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.this$0:Ljavax/swing/plaf/metal/MetalRootPaneUI;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalRootPaneUI$MouseInputHandler;
MethodParameters:
Name Flags
this$0 final
public void mousePressed(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.this$0:Ljavax/swing/plaf/metal/MetalRootPaneUI;
invokevirtual javax.swing.plaf.metal.MetalRootPaneUI.getRootPane:()Ljavax/swing/JRootPane;
astore 2
start local 2 1: aload 2
invokevirtual javax.swing.JRootPane.getWindowDecorationStyle:()I
ifne 3
2: return
3: StackMap locals: javax.swing.JRootPane
StackMap stack:
aload 1
invokevirtual java.awt.event.MouseEvent.getPoint:()Ljava/awt/Point;
astore 3
start local 3 4: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast java.awt.Window
astore 4
start local 4 5: aload 4
ifnull 7
6: aload 4
invokevirtual java.awt.Window.toFront:()V
7: StackMap locals: java.awt.Point java.awt.Window
StackMap stack:
aload 4
aload 3
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.this$0:Ljavax/swing/plaf/metal/MetalRootPaneUI;
invokevirtual javax.swing.plaf.metal.MetalRootPaneUI.getTitlePane:()Ljavax/swing/JComponent;
8: invokestatic javax.swing.SwingUtilities.convertPoint:(Ljava/awt/Component;Ljava/awt/Point;Ljava/awt/Component;)Ljava/awt/Point;
astore 5
start local 5 9: aconst_null
astore 6
start local 6 10: aconst_null
astore 7
start local 7 11: aload 4
instanceof java.awt.Frame
ifeq 14
12: aload 4
checkcast java.awt.Frame
astore 6
13: goto 16
StackMap locals: java.awt.Point java.awt.Frame java.awt.Dialog
StackMap stack:
14: aload 4
instanceof java.awt.Dialog
ifeq 16
15: aload 4
checkcast java.awt.Dialog
astore 7
16: StackMap locals:
StackMap stack:
aload 6
ifnull 17
aload 6
invokevirtual java.awt.Frame.getExtendedState:()I
goto 18
StackMap locals:
StackMap stack:
17: iconst_0
StackMap locals:
StackMap stack: int
18: istore 8
start local 8 19: aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.this$0:Ljavax/swing/plaf/metal/MetalRootPaneUI;
invokevirtual javax.swing.plaf.metal.MetalRootPaneUI.getTitlePane:()Ljavax/swing/JComponent;
ifnull 31
20: aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.this$0:Ljavax/swing/plaf/metal/MetalRootPaneUI;
invokevirtual javax.swing.plaf.metal.MetalRootPaneUI.getTitlePane:()Ljavax/swing/JComponent;
aload 5
invokevirtual javax.swing.JComponent.contains:(Ljava/awt/Point;)Z
ifeq 31
21: aload 6
ifnull 22
iload 8
bipush 6
iand
ifeq 23
22: StackMap locals: int
StackMap stack:
aload 7
ifnull 41
23: StackMap locals:
StackMap stack:
aload 3
getfield java.awt.Point.y:I
iconst_5
if_icmplt 41
24: aload 3
getfield java.awt.Point.x:I
iconst_5
if_icmplt 41
25: aload 3
getfield java.awt.Point.x:I
aload 4
invokevirtual java.awt.Window.getWidth:()I
26: iconst_5
isub
if_icmpge 41
27: aload 0
iconst_1
putfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.isMovingWindow:Z
28: aload 0
aload 3
getfield java.awt.Point.x:I
putfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetX:I
29: aload 0
aload 3
getfield java.awt.Point.y:I
putfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetY:I
30: goto 41
31: StackMap locals:
StackMap stack:
aload 6
ifnull 33
aload 6
invokevirtual java.awt.Frame.isResizable:()Z
ifeq 33
32: iload 8
bipush 6
iand
ifeq 34
33: StackMap locals:
StackMap stack:
aload 7
ifnull 41
aload 7
invokevirtual java.awt.Dialog.isResizable:()Z
ifeq 41
34: StackMap locals:
StackMap stack:
aload 0
aload 3
getfield java.awt.Point.x:I
putfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetX:I
35: aload 0
aload 3
getfield java.awt.Point.y:I
putfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetY:I
36: aload 0
aload 4
invokevirtual java.awt.Window.getWidth:()I
putfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragWidth:I
37: aload 0
aload 4
invokevirtual java.awt.Window.getHeight:()I
putfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragHeight:I
38: aload 0
aload 0
aload 0
39: aload 4
aload 3
getfield java.awt.Point.x:I
aload 3
getfield java.awt.Point.y:I
40: invokevirtual javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.calculateCorner:(Ljava/awt/Window;II)I
invokevirtual javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.getCursor:(I)I
putfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragCursor:I
41: StackMap locals:
StackMap stack:
return
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 42 0 this Ljavax/swing/plaf/metal/MetalRootPaneUI$MouseInputHandler;
0 42 1 ev Ljava/awt/event/MouseEvent;
1 42 2 rootPane Ljavax/swing/JRootPane;
4 42 3 dragWindowOffset Ljava/awt/Point;
5 42 4 w Ljava/awt/Window;
9 42 5 convertedDragWindowOffset Ljava/awt/Point;
10 42 6 f Ljava/awt/Frame;
11 42 7 d Ljava/awt/Dialog;
19 42 8 frameState I
MethodParameters:
Name Flags
ev
public void mouseReleased(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragCursor:I
ifeq 3
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.this$0:Ljavax/swing/plaf/metal/MetalRootPaneUI;
getfield javax.swing.plaf.metal.MetalRootPaneUI.window:Ljava/awt/Window;
ifnull 3
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.this$0:Ljavax/swing/plaf/metal/MetalRootPaneUI;
getfield javax.swing.plaf.metal.MetalRootPaneUI.window:Ljava/awt/Window;
invokevirtual java.awt.Window.isValid:()Z
ifne 3
1: aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.this$0:Ljavax/swing/plaf/metal/MetalRootPaneUI;
getfield javax.swing.plaf.metal.MetalRootPaneUI.window:Ljava/awt/Window;
invokevirtual java.awt.Window.validate:()V
2: aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.this$0:Ljavax/swing/plaf/metal/MetalRootPaneUI;
invokevirtual javax.swing.plaf.metal.MetalRootPaneUI.getRootPane:()Ljavax/swing/JRootPane;
invokevirtual javax.swing.JRootPane.repaint:()V
3: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.isMovingWindow:Z
4: aload 0
iconst_0
putfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragCursor:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/metal/MetalRootPaneUI$MouseInputHandler;
0 6 1 ev Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
ev
public void mouseMoved(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.this$0:Ljavax/swing/plaf/metal/MetalRootPaneUI;
invokevirtual javax.swing.plaf.metal.MetalRootPaneUI.getRootPane:()Ljavax/swing/JRootPane;
astore 2
start local 2 1: aload 2
invokevirtual javax.swing.JRootPane.getWindowDecorationStyle:()I
ifne 3
2: return
3: StackMap locals: javax.swing.JRootPane
StackMap stack:
aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast java.awt.Window
astore 3
start local 3 4: aconst_null
astore 4
start local 4 5: aconst_null
astore 5
start local 5 6: aload 3
instanceof java.awt.Frame
ifeq 9
7: aload 3
checkcast java.awt.Frame
astore 4
8: goto 11
StackMap locals: java.awt.Window java.awt.Frame java.awt.Dialog
StackMap stack:
9: aload 3
instanceof java.awt.Dialog
ifeq 11
10: aload 3
checkcast java.awt.Dialog
astore 5
11: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 3
aload 1
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 1
invokevirtual java.awt.event.MouseEvent.getY:()I
invokevirtual javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.calculateCorner:(Ljava/awt/Window;II)I
invokevirtual javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.getCursor:(I)I
istore 6
start local 6 12: iload 6
ifeq 17
aload 4
ifnull 14
aload 4
invokevirtual java.awt.Frame.isResizable:()Z
ifeq 14
13: aload 4
invokevirtual java.awt.Frame.getExtendedState:()I
bipush 6
iand
ifeq 15
14: StackMap locals: int
StackMap stack:
aload 5
ifnull 17
aload 5
invokevirtual java.awt.Dialog.isResizable:()Z
ifeq 17
15: StackMap locals:
StackMap stack:
aload 3
iload 6
invokestatic java.awt.Cursor.getPredefinedCursor:(I)Ljava/awt/Cursor;
invokevirtual java.awt.Window.setCursor:(Ljava/awt/Cursor;)V
16: goto 18
17: StackMap locals:
StackMap stack:
aload 3
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.this$0:Ljavax/swing/plaf/metal/MetalRootPaneUI;
getfield javax.swing.plaf.metal.MetalRootPaneUI.lastCursor:Ljava/awt/Cursor;
invokevirtual java.awt.Window.setCursor:(Ljava/awt/Cursor;)V
18: StackMap locals:
StackMap stack:
return
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 19 0 this Ljavax/swing/plaf/metal/MetalRootPaneUI$MouseInputHandler;
0 19 1 ev Ljava/awt/event/MouseEvent;
1 19 2 root Ljavax/swing/JRootPane;
4 19 3 w Ljava/awt/Window;
5 19 4 f Ljava/awt/Frame;
6 19 5 d Ljava/awt/Dialog;
12 19 6 cursor I
MethodParameters:
Name Flags
ev
private void adjust(java.awt.Rectangle, java.awt.Dimension, int, int, int, int);
descriptor: (Ljava/awt/Rectangle;Ljava/awt/Dimension;IIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 1
dup
getfield java.awt.Rectangle.x:I
iload 3
iadd
putfield java.awt.Rectangle.x:I
1: aload 1
dup
getfield java.awt.Rectangle.y:I
iload 4
iadd
putfield java.awt.Rectangle.y:I
2: aload 1
dup
getfield java.awt.Rectangle.width:I
iload 5
iadd
putfield java.awt.Rectangle.width:I
3: aload 1
dup
getfield java.awt.Rectangle.height:I
iload 6
iadd
putfield java.awt.Rectangle.height:I
4: aload 2
ifnull 15
5: aload 1
getfield java.awt.Rectangle.width:I
aload 2
getfield java.awt.Dimension.width:I
if_icmpge 10
6: aload 2
getfield java.awt.Dimension.width:I
aload 1
getfield java.awt.Rectangle.width:I
isub
istore 7
start local 7 7: iload 3
ifeq 9
8: aload 1
dup
getfield java.awt.Rectangle.x:I
iload 7
isub
putfield java.awt.Rectangle.x:I
9: StackMap locals: int
StackMap stack:
aload 1
aload 2
getfield java.awt.Dimension.width:I
putfield java.awt.Rectangle.width:I
end local 7 10: StackMap locals:
StackMap stack:
aload 1
getfield java.awt.Rectangle.height:I
aload 2
getfield java.awt.Dimension.height:I
if_icmpge 15
11: aload 2
getfield java.awt.Dimension.height:I
aload 1
getfield java.awt.Rectangle.height:I
isub
istore 7
start local 7 12: iload 4
ifeq 14
13: aload 1
dup
getfield java.awt.Rectangle.y:I
iload 7
isub
putfield java.awt.Rectangle.y:I
14: StackMap locals: int
StackMap stack:
aload 1
aload 2
getfield java.awt.Dimension.height:I
putfield java.awt.Rectangle.height:I
end local 7 15: StackMap locals:
StackMap stack:
return
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 16 0 this Ljavax/swing/plaf/metal/MetalRootPaneUI$MouseInputHandler;
0 16 1 bounds Ljava/awt/Rectangle;
0 16 2 min Ljava/awt/Dimension;
0 16 3 deltaX I
0 16 4 deltaY I
0 16 5 deltaWidth I
0 16 6 deltaHeight I
7 10 7 correction I
12 15 7 correction I
MethodParameters:
Name Flags
bounds
min
deltaX
deltaY
deltaWidth
deltaHeight
public void mouseDragged(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast java.awt.Window
astore 2
start local 2 1: aload 1
invokevirtual java.awt.event.MouseEvent.getPoint:()Ljava/awt/Point;
astore 3
start local 3 2: aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.isMovingWindow:Z
ifeq 8
3: aload 1
invokevirtual java.awt.event.MouseEvent.getLocationOnScreen:()Ljava/awt/Point;
astore 4
start local 4 4: aload 2
aload 4
getfield java.awt.Point.x:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetX:I
isub
5: aload 4
getfield java.awt.Point.y:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetY:I
isub
6: invokevirtual java.awt.Window.setLocation:(II)V
end local 4 7: goto 57
8: StackMap locals: java.awt.Window java.awt.Point
StackMap stack:
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragCursor:I
ifeq 57
9: aload 2
invokevirtual java.awt.Window.getBounds:()Ljava/awt/Rectangle;
astore 4
start local 4 10: new java.awt.Rectangle
dup
aload 4
invokespecial java.awt.Rectangle.<init>:(Ljava/awt/Rectangle;)V
astore 5
start local 5 11: aload 2
invokevirtual java.awt.Window.getMinimumSize:()Ljava/awt/Dimension;
astore 6
start local 6 12: aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragCursor:I
tableswitch { // 4 - 11
4: 47
5: 34
6: 41
7: 29
8: 21
9: 17
10: 25
11: 13
default: 52
}
13: StackMap locals: java.awt.Rectangle java.awt.Rectangle java.awt.Dimension
StackMap stack:
aload 0
aload 4
aload 6
iconst_0
iconst_0
aload 3
getfield java.awt.Point.x:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragWidth:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetX:I
isub
iadd
14: aload 4
getfield java.awt.Rectangle.width:I
isub
iconst_0
15: invokevirtual javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.adjust:(Ljava/awt/Rectangle;Ljava/awt/Dimension;IIII)V
16: goto 52
17: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 6
iconst_0
iconst_0
iconst_0
aload 3
getfield java.awt.Point.y:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragHeight:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetY:I
isub
iadd
18: aload 4
getfield java.awt.Rectangle.height:I
isub
19: invokevirtual javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.adjust:(Ljava/awt/Rectangle;Ljava/awt/Dimension;IIII)V
20: goto 52
21: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 6
iconst_0
aload 3
getfield java.awt.Point.y:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetY:I
isub
iconst_0
22: aload 3
getfield java.awt.Point.y:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetY:I
isub
ineg
23: invokevirtual javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.adjust:(Ljava/awt/Rectangle;Ljava/awt/Dimension;IIII)V
24: goto 52
25: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 6
aload 3
getfield java.awt.Point.x:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetX:I
isub
iconst_0
26: aload 3
getfield java.awt.Point.x:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetX:I
isub
ineg
iconst_0
27: invokevirtual javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.adjust:(Ljava/awt/Rectangle;Ljava/awt/Dimension;IIII)V
28: goto 52
29: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 6
iconst_0
aload 3
getfield java.awt.Point.y:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetY:I
isub
30: aload 3
getfield java.awt.Point.x:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragWidth:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetX:I
isub
iadd
aload 4
getfield java.awt.Rectangle.width:I
isub
31: aload 3
getfield java.awt.Point.y:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetY:I
isub
ineg
32: invokevirtual javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.adjust:(Ljava/awt/Rectangle;Ljava/awt/Dimension;IIII)V
33: goto 52
34: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 6
iconst_0
iconst_0
35: aload 3
getfield java.awt.Point.x:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragWidth:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetX:I
isub
iadd
aload 4
getfield java.awt.Rectangle.width:I
isub
36: aload 3
getfield java.awt.Point.y:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragHeight:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetY:I
isub
iadd
37: aload 4
getfield java.awt.Rectangle.height:I
38: isub
39: invokevirtual javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.adjust:(Ljava/awt/Rectangle;Ljava/awt/Dimension;IIII)V
40: goto 52
41: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 6
aload 3
getfield java.awt.Point.x:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetX:I
isub
42: aload 3
getfield java.awt.Point.y:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetY:I
isub
43: aload 3
getfield java.awt.Point.x:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetX:I
isub
ineg
44: aload 3
getfield java.awt.Point.y:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetY:I
isub
ineg
45: invokevirtual javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.adjust:(Ljava/awt/Rectangle;Ljava/awt/Dimension;IIII)V
46: goto 52
47: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 6
aload 3
getfield java.awt.Point.x:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetX:I
isub
iconst_0
48: aload 3
getfield java.awt.Point.x:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetX:I
isub
ineg
49: aload 3
getfield java.awt.Point.y:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragHeight:I
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.dragOffsetY:I
isub
iadd
aload 4
getfield java.awt.Rectangle.height:I
isub
50: invokevirtual javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.adjust:(Ljava/awt/Rectangle;Ljava/awt/Dimension;IIII)V
51: goto 52
52: StackMap locals:
StackMap stack:
aload 4
aload 5
invokevirtual java.awt.Rectangle.equals:(Ljava/lang/Object;)Z
ifne 57
53: aload 2
aload 4
invokevirtual java.awt.Window.setBounds:(Ljava/awt/Rectangle;)V
54: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
invokevirtual java.awt.Toolkit.isDynamicLayoutActive:()Z
ifeq 57
55: aload 2
invokevirtual java.awt.Window.validate:()V
56: aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.this$0:Ljavax/swing/plaf/metal/MetalRootPaneUI;
invokevirtual javax.swing.plaf.metal.MetalRootPaneUI.getRootPane:()Ljavax/swing/JRootPane;
invokevirtual javax.swing.JRootPane.repaint:()V
end local 6 end local 5 end local 4 57: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 58 0 this Ljavax/swing/plaf/metal/MetalRootPaneUI$MouseInputHandler;
0 58 1 ev Ljava/awt/event/MouseEvent;
1 58 2 w Ljava/awt/Window;
2 58 3 pt Ljava/awt/Point;
4 7 4 eventLocationOnScreen Ljava/awt/Point;
10 57 4 r Ljava/awt/Rectangle;
11 57 5 startBounds Ljava/awt/Rectangle;
12 57 6 min Ljava/awt/Dimension;
MethodParameters:
Name Flags
ev
public void mouseEntered(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast java.awt.Window
astore 2
start local 2 1: aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.this$0:Ljavax/swing/plaf/metal/MetalRootPaneUI;
aload 2
invokevirtual java.awt.Window.getCursor:()Ljava/awt/Cursor;
putfield javax.swing.plaf.metal.MetalRootPaneUI.lastCursor:Ljava/awt/Cursor;
2: aload 0
aload 1
invokevirtual javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.mouseMoved:(Ljava/awt/event/MouseEvent;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/metal/MetalRootPaneUI$MouseInputHandler;
0 4 1 ev Ljava/awt/event/MouseEvent;
1 4 2 w Ljava/awt/Window;
MethodParameters:
Name Flags
ev
public void mouseExited(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast java.awt.Window
astore 2
start local 2 1: aload 2
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.this$0:Ljavax/swing/plaf/metal/MetalRootPaneUI;
getfield javax.swing.plaf.metal.MetalRootPaneUI.lastCursor:Ljava/awt/Cursor;
invokevirtual java.awt.Window.setCursor:(Ljava/awt/Cursor;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/metal/MetalRootPaneUI$MouseInputHandler;
0 3 1 ev Ljava/awt/event/MouseEvent;
1 3 2 w Ljava/awt/Window;
MethodParameters:
Name Flags
ev
public void mouseClicked(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.MouseEvent.getSource:()Ljava/lang/Object;
checkcast java.awt.Window
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aload 2
instanceof java.awt.Frame
ifeq 5
3: aload 2
checkcast java.awt.Frame
astore 3
4: goto 6
5: StackMap locals: java.awt.Window java.awt.Frame
StackMap stack:
return
6: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual java.awt.event.MouseEvent.getPoint:()Ljava/awt/Point;
aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.this$0:Ljavax/swing/plaf/metal/MetalRootPaneUI;
invokevirtual javax.swing.plaf.metal.MetalRootPaneUI.getTitlePane:()Ljavax/swing/JComponent;
7: invokestatic javax.swing.SwingUtilities.convertPoint:(Ljava/awt/Component;Ljava/awt/Point;Ljava/awt/Component;)Ljava/awt/Point;
astore 4
start local 4 8: aload 3
invokevirtual java.awt.Frame.getExtendedState:()I
istore 5
start local 5 9: aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.this$0:Ljavax/swing/plaf/metal/MetalRootPaneUI;
invokevirtual javax.swing.plaf.metal.MetalRootPaneUI.getTitlePane:()Ljavax/swing/JComponent;
ifnull 19
10: aload 0
getfield javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.this$0:Ljavax/swing/plaf/metal/MetalRootPaneUI;
invokevirtual javax.swing.plaf.metal.MetalRootPaneUI.getTitlePane:()Ljavax/swing/JComponent;
aload 4
invokevirtual javax.swing.JComponent.contains:(Ljava/awt/Point;)Z
ifeq 19
11: aload 1
invokevirtual java.awt.event.MouseEvent.getClickCount:()I
iconst_2
irem
ifne 19
12: aload 1
invokevirtual java.awt.event.MouseEvent.getModifiers:()I
bipush 16
iand
ifeq 19
13: aload 3
invokevirtual java.awt.Frame.isResizable:()Z
ifeq 19
14: iload 5
bipush 6
iand
ifeq 17
15: aload 3
iload 5
bipush -7
iand
invokevirtual java.awt.Frame.setExtendedState:(I)V
16: goto 18
17: StackMap locals: java.awt.Point int
StackMap stack:
aload 3
iload 5
bipush 6
ior
invokevirtual java.awt.Frame.setExtendedState:(I)V
18: StackMap locals:
StackMap stack:
return
19: StackMap locals:
StackMap stack:
return
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 20 0 this Ljavax/swing/plaf/metal/MetalRootPaneUI$MouseInputHandler;
0 20 1 ev Ljava/awt/event/MouseEvent;
1 20 2 w Ljava/awt/Window;
2 20 3 f Ljava/awt/Frame;
8 20 4 convertedPoint Ljava/awt/Point;
9 20 5 state I
MethodParameters:
Name Flags
ev
private int calculateCorner(java.awt.Window, int, int);
descriptor: (Ljava/awt/Window;II)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual java.awt.Window.getInsets:()Ljava/awt/Insets;
astore 4
start local 4 1: aload 0
iload 2
aload 4
getfield java.awt.Insets.left:I
isub
2: aload 1
invokevirtual java.awt.Window.getWidth:()I
aload 4
getfield java.awt.Insets.left:I
isub
aload 4
getfield java.awt.Insets.right:I
isub
3: invokevirtual javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.calculatePosition:(II)I
istore 5
start local 5 4: aload 0
iload 3
aload 4
getfield java.awt.Insets.top:I
isub
5: aload 1
invokevirtual java.awt.Window.getHeight:()I
aload 4
getfield java.awt.Insets.top:I
isub
aload 4
getfield java.awt.Insets.bottom:I
isub
6: invokevirtual javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler.calculatePosition:(II)I
istore 6
start local 6 7: iload 5
iconst_m1
if_icmpeq 8
iload 6
iconst_m1
if_icmpne 9
8: StackMap locals: java.awt.Insets int int
StackMap stack:
iconst_m1
ireturn
9: StackMap locals:
StackMap stack:
iload 6
iconst_5
imul
iload 5
iadd
ireturn
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 10 0 this Ljavax/swing/plaf/metal/MetalRootPaneUI$MouseInputHandler;
0 10 1 w Ljava/awt/Window;
0 10 2 x I
0 10 3 y I
1 10 4 insets Ljava/awt/Insets;
4 10 5 xPosition I
7 10 6 yPosition I
MethodParameters:
Name Flags
w
x
y
private int getCursor(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_m1
if_icmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
getstatic javax.swing.plaf.metal.MetalRootPaneUI.cursorMapping:[I
iload 1
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/metal/MetalRootPaneUI$MouseInputHandler;
0 3 1 corner I
MethodParameters:
Name Flags
corner
private int calculatePosition(int, int);
descriptor: (II)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_5
if_icmpge 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iload 1
bipush 16
if_icmpge 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iload 1
iload 2
iconst_5
isub
if_icmplt 6
5: iconst_4
ireturn
6: StackMap locals:
StackMap stack:
iload 1
iload 2
bipush 16
isub
if_icmplt 8
7: iconst_3
ireturn
8: StackMap locals:
StackMap stack:
iconst_2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/plaf/metal/MetalRootPaneUI$MouseInputHandler;
0 9 1 spot I
0 9 2 width I
MethodParameters:
Name Flags
spot
width
}
SourceFile: "MetalRootPaneUI.java"
NestHost: javax.swing.plaf.metal.MetalRootPaneUI
InnerClasses:
private MouseInputHandler = javax.swing.plaf.metal.MetalRootPaneUI$MouseInputHandler of javax.swing.plaf.metal.MetalRootPaneUI