/ Sams Teach Yourself C in 21 Days (6th Edition)
/ STYC216E.ISO / mac / Examples / Day27 / PopUpWindow.java ![]() | < prev | next > |
MacBinary | 2002-05-26 | 896 b | [TEXT/LMAN] |
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:38:44 2002, modified Sun May 26 12:38:44 2002, creator 'LMAN', type ASCII, 376 bytes "PopUpWindow.java" , at 0x1f8 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] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 50 6f 70 55 70 57 | 69 6e 64 6f 77 2e 6a 61 |..PopUpW|indow.ja|
|00000010| 76 61 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |va......|........|
|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 01 78 00 | 00 01 1e b9 16 c0 14 b9 |......x.|........|
|00000060| 16 c0 14 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 01 cb 00 00 |........|........|
|00000080| 69 6d 70 6f 72 74 20 6a | 61 76 61 2e 61 77 74 2e |import j|ava.awt.|
|00000090| 2a 3b 0d 0a 0d 0a 63 6c | 61 73 73 20 50 6f 70 55 |*;....cl|ass PopU|
|000000a0| 70 57 69 6e 64 6f 77 20 | 65 78 74 65 6e 64 73 20 |pWindow |extends |
|000000b0| 46 72 61 6d 65 20 7b 0d | 0a 0d 0a 20 20 46 6c 6f |Frame {.|... Flo|
|000000c0| 77 4c 61 79 6f 75 74 20 | 6c 6d 20 3d 20 6e 65 77 |wLayout |lm = new|
|000000d0| 20 46 6c 6f 77 4c 61 79 | 6f 75 74 28 46 6c 6f 77 | FlowLay|out(Flow|
|000000e0| 4c 61 79 6f 75 74 2e 43 | 45 4e 54 45 52 29 3b 0d |Layout.C|ENTER);.|
|000000f0| 0a 0d 0a 20 20 70 75 62 | 6c 69 63 20 50 6f 70 55 |... pub|lic PopU|
|00000100| 70 57 69 6e 64 6f 77 28 | 53 74 72 69 6e 67 20 74 |pWindow(|String t|
|00000110| 69 74 6c 65 29 20 7b 0d | 0a 20 20 20 20 20 20 73 |itle) {.|. s|
|00000120| 75 70 65 72 28 74 69 74 | 6c 65 29 3b 0d 0a 20 20 |uper(tit|le);.. |
|00000130| 20 20 20 20 73 65 74 53 | 69 7a 65 28 33 30 30 2c | setS|ize(300,|
|00000140| 20 31 30 30 29 3b 0d 0a | 20 20 20 20 20 20 73 65 | 100);..| se|
|00000150| 74 4c 61 79 6f 75 74 28 | 6c 6d 29 3b 0d 0a 20 20 |tLayout(|lm);.. |
|00000160| 20 20 20 20 42 75 74 74 | 6f 6e 20 62 20 3d 20 6e | Butt|on b = n|
|00000170| 65 77 20 42 75 74 74 6f | 6e 28 22 43 6c 6f 73 65 |ew Butto|n("Close|
|00000180| 22 29 3b 0d 0a 20 20 20 | 20 20 20 61 64 64 28 62 |");.. | add(b|
|00000190| 29 3b 0d 0a 20 20 7d 0d | 0a 0d 0a 20 20 70 75 62 |);.. }.|... pub|
|000001a0| 6c 69 63 20 62 6f 6f 6c | 65 61 6e 20 61 63 74 69 |lic bool|ean acti|
|000001b0| 6f 6e 28 45 76 65 6e 74 | 20 65 76 74 2c 20 4f 62 |on(Event| evt, Ob|
|000001c0| 6a 65 63 74 20 61 72 67 | 29 20 7b 0d 0a 20 20 20 |ject arg|) {.. |
|000001d0| 20 20 20 68 69 64 65 28 | 29 3b 0d 0a 20 20 20 20 | hide(|);.. |
|000001e0| 20 20 72 65 74 75 72 6e | 20 74 72 75 65 3b 0d 0a | return| true;..|
|000001f0| 20 20 7d 0d 0a 7d 0d 0a | 00 00 00 00 00 00 00 00 | }..}..|........|
|00000200| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000210| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo|
|00000220| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally|
|00000230| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 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| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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 |........|........|
+--------+-------------------------+-------------------------+--------+--------+