diff options
| author | Fuwn <[email protected]> | 2021-05-03 16:38:41 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-03 16:38:41 -0700 |
| commit | e1e781bb2135ef78592226f1a3eaba4925702f1f (patch) | |
| tree | 8a5b590463ed413e1c6eabb719130e701b95ca63 /NET/worlds/console/AvMenuItem.java | |
| download | worlds.jar-e1e781bb2135ef78592226f1a3eaba4925702f1f.tar.xz worlds.jar-e1e781bb2135ef78592226f1a3eaba4925702f1f.zip | |
Diffstat (limited to 'NET/worlds/console/AvMenuItem.java')
| -rw-r--r-- | NET/worlds/console/AvMenuItem.java | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/NET/worlds/console/AvMenuItem.java b/NET/worlds/console/AvMenuItem.java new file mode 100644 index 0000000..e33ddd9 --- /dev/null +++ b/NET/worlds/console/AvMenuItem.java @@ -0,0 +1,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 + */
\ No newline at end of file |