826220679@qq.com
5 天以前 352da282b6c21700eb454407b92cabcf169a448e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Êþº¾7zhome/SingleInstanceLockjava/lang/Object    LOCK_FILELjava/lang/String;lockLjava/nio/channels/FileLock;channelLjava/nio/channels/FileChannel;<clinit>()VCodejava/lang/StringBuilder    user.home
java/lang/System  getProperty&(Ljava/lang/String;)Ljava/lang/String;
java/lang/String valueOf&(Ljava/lang/Object;)Ljava/lang/String;
  !<init>(Ljava/lang/String;)V    #%$ java/io/File &    separator
( )*append-(Ljava/lang/String;)Ljava/lang/StringBuilder;, .myapp.lock
. /0toString()Ljava/lang/String;    2 LineNumberTableLocalVariableTable
6   thisLhome/SingleInstanceLock;()Z
#
#< =9exists
#? @9deleteBjava/io/RandomAccessFileDrw
AF  G#(Ljava/io/File;Ljava/lang/String;)V
AI JK
getChannel!()Ljava/nio/channels/FileChannel;    M     
 
OQPjava/nio/channels/FileChannel RStryLock()Ljava/nio/channels/FileLock;    U Wjava/io/IOExceptionfileLjava/io/File;rafLjava/io/RandomAccessFile;eLjava/io/IOException; StackMapTablerelease
acbjava/nio/channels/FileLock d9isValid
af _
Oh i9isOpen
Ok l closeshowAlreadyRunningWarningo'程序已经打开,请勿重复打开q警告
sutjavax/swing/JOptionPane vwshowMessageDialog<(Ljava/awt/Component;Ljava/lang/Object;Ljava/lang/String;I)V
SourceFileSingleInstanceLock.java!
 
    
  M!»Y¸¸·²"¶'+¶'¶-³1±3
 
  4   /*·5±3    4 78    9 ÏC»#Y²1·:K*¶;™ *¶>š¬»AY*C·EL+¶H³L²L¶N³T²TƬ¬K¬@V?@V3&     & -#6&@'A)4  5XY&Z[A\]^ü#ü"AÿV    _  §F²TƲT¶`™    ²T¶e²LƲL¶g™    ²L¶j»#Y²1·:K*¶;™ *¶>W§K±ADV3&    347$8*;5<<=A?EB4 5 XY^    YV    m  >
np¸r±3HIJKH    L4xy