summaryrefslogtreecommitdiff
path: root/NET/worlds/console/AvMenuItem.java
blob: e33ddd962e531f604956d310c35a76a5607e75a2 (plain) (blame)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*    */ package NET.worlds.console;
/*    */ 
/*    */ import java.awt.CheckboxMenuItem;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ class AvMenuItem
/*    */   extends CheckboxMenuItem
/*    */ {
/*    */   private static final long serialVersionUID = 8358406033091883856L;
/*    */   public String intAvatar;
/*    */   public String prettyAvatar;
/*    */   
/*    */   AvMenuItem(String s, boolean b)
/*    */   {
/* 53 */     super(s, b);
/* 54 */     this.prettyAvatar = s;
/*    */   }
/*    */   
/*    */   public static String avify(String in, String ext) {
/* 58 */     int idx = in.indexOf('.');
/* 59 */     if (idx != -1) {
/* 60 */       return in.substring(0, idx).toLowerCase() + ext;
/*    */     }
/*    */     
/* 63 */     return in.toLowerCase() + ext;
/*    */   }
/*    */ }


/* Location:              C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\console\AvMenuItem.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */