home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2002-05-26 | 1.1 KB | [ TEXT/LMAN]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, Sun May 26 12:59:50 2002, modified Sun May 26 12:59:50 2002, creator 'LMAN', type ASCII, 533 bytes "AppletTest.java" , at 0x295 286 bytes resource
default (weak)
99%
file
data
default
74%
TrID
Macintosh plain text (MacBinary)
default
25%
TrID
MacBinary 2
default (weak)
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ TEXT] macFileCreator [ LMAN]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 0f 41 70 70 6c 65 74 | 54 65 73 74 2e 6a 61 76 |..Applet|Test.jav| |00000010| 61 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |a.......|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 54 45 58 54 4c 4d 41 | 4e 00 00 ff ff ff ff 00 |.TEXTLMA|N.......| |00000050| 00 00 00 00 00 02 15 00 | 00 01 1e b9 16 c5 06 b9 |........|........| |00000060| 16 c5 06 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 d8 02 00 00 |........|........| |00000080| 69 6d 70 6f 72 74 20 6a | 61 76 61 2e 61 70 70 6c |import j|ava.appl| |00000090| 65 74 2e 41 70 70 6c 65 | 74 3b 0d 0a 69 6d 70 6f |et.Apple|t;..impo| |000000a0| 72 74 20 6a 61 76 61 2e | 61 77 74 2e 2a 3b 0d 0a |rt java.|awt.*;..| |000000b0| 0d 0a 70 75 62 6c 69 63 | 20 63 6c 61 73 73 20 41 |..public| class A| |000000c0| 70 70 6c 65 74 54 65 73 | 74 20 65 78 74 65 6e 64 |ppletTes|t extend| |000000d0| 73 20 41 70 70 6c 65 74 | 20 7b 0d 0a 20 20 46 6f |s Applet| {.. Fo| |000000e0| 6e 74 20 66 20 3d 20 6e | 65 77 20 46 6f 6e 74 28 |nt f = n|ew Font(| |000000f0| 22 54 69 6d 65 73 52 6f | 6d 61 6e 22 2c 20 46 6f |"TimesRo|man", Fo| |00000100| 6e 74 2e 42 4f 4c 44 2c | 20 33 36 29 3b 0d 0a 20 |nt.BOLD,| 36);.. | |00000110| 20 62 6f 6f 6c 65 61 6e | 20 75 73 65 52 65 64 20 | boolean| useRed | |00000120| 3d 20 74 72 75 65 3b 0d | 0a 0d 0a 20 20 70 75 62 |= true;.|... pub| |00000130| 6c 69 63 20 76 6f 69 64 | 20 70 61 69 6e 74 28 47 |lic void| paint(G| |00000140| 72 61 70 68 69 63 73 20 | 73 63 72 65 65 6e 29 20 |raphics |screen) | |00000150| 7b 0d 0a 20 20 20 20 20 | 20 73 63 72 65 65 6e 2e |{.. | screen.| |00000160| 73 65 74 46 6f 6e 74 28 | 66 29 3b 0d 0a 20 20 20 |setFont(|f);.. | |00000170| 20 20 20 69 66 20 28 75 | 73 65 52 65 64 29 0d 0a | if (u|seRed)..| |00000180| 20 20 20 20 20 20 20 20 | 20 73 63 72 65 65 6e 2e | | screen.| |00000190| 73 65 74 43 6f 6c 6f 72 | 28 43 6f 6c 6f 72 2e 72 |setColor|(Color.r| |000001a0| 65 64 29 3b 0d 0a 20 20 | 20 20 20 20 65 6c 73 65 |ed);.. | else| |000001b0| 0d 0a 20 20 20 20 20 20 | 20 20 20 73 63 72 65 65 |.. | scree| |000001c0| 6e 2e 73 65 74 43 6f 6c | 6f 72 28 43 6f 6c 6f 72 |n.setCol|or(Color| |000001d0| 2e 62 6c 75 65 29 3b 0d | 0a 20 20 20 20 20 20 73 |.blue);.|. s| |000001e0| 63 72 65 65 6e 2e 64 72 | 61 77 53 74 72 69 6e 67 |creen.dr|awString| |000001f0| 28 22 54 68 69 73 20 69 | 73 20 61 6e 20 61 70 70 |("This i|s an app| |00000200| 6c 65 74 21 22 2c 20 35 | 2c 20 33 30 29 3b 0d 0a |let!", 5|, 30);..| |00000210| 20 20 7d 0d 0a 0d 0a 20 | 20 70 75 62 6c 69 63 20 | }.... | public | |00000220| 62 6f 6f 6c 65 61 6e 20 | 6d 6f 75 73 65 44 6f 77 |boolean |mouseDow| |00000230| 6e 28 45 76 65 6e 74 20 | 65 76 74 2c 20 69 6e 74 |n(Event |evt, int| |00000240| 20 78 2c 20 69 6e 74 20 | 79 29 20 7b 0d 0a 20 20 | x, int |y) {.. | |00000250| 20 20 20 20 75 73 65 52 | 65 64 20 3d 20 21 75 73 | useR|ed = !us| |00000260| 65 52 65 64 3b 0d 0a 20 | 20 20 20 20 20 72 65 70 |eRed;.. | rep| |00000270| 61 69 6e 74 28 29 3b 0d | 0a 20 20 20 20 20 20 72 |aint();.|. r| |00000280| 65 74 75 72 6e 20 74 72 | 75 65 3b 0d 0a 20 20 7d |eturn tr|ue;.. }| |00000290| 0d 0a 7d 0d 0a 00 00 00 | 00 00 00 00 00 00 00 00 |..}.....|........| |000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000300| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........| |00000310| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo| |00000320| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally| |00000330| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..| |00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000400| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........| |00000410| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........| |00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| +--------+-------------------------+-------------------------+--------+--------+