home *** CD-ROM | disk | FTP | other *** search
/ Sams Teach Yourself C in 21 Days (6th Edition) / STYC216E.ISO / mac / Examples / Day27 / window.java < prev    next >
MacBinary  |  2002-05-26  |  1.0 KB  |  [TEXT/LMAN]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun May 26 12:16:44 2002, modified Sun May 26 12:16:44 2002, creator 'LMAN', type ASCII, 453 bytes "window.java" , at 0x245 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
keyvalue
macFileType[TEXT]
macFileCreator[LMAN]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 77 69 6e 64 6f 77 | 2e 6a 61 76 61 00 00 00 |..window|.java...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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 c5 00 | 00 01 1e b9 16 ba ec b9 |........|........|
|00000060| 16 ba ec 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 57 6a 00 00 |........|....Wj..|
|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 70 75 | 62 6c 69 63 20 63 6c 61 |*;....pu|blic cla|
|000000a0| 73 73 20 41 57 54 5f 54 | 65 73 74 31 20 65 78 74 |ss AWT_T|est1 ext|
|000000b0| 65 6e 64 73 20 46 72 61 | 6d 65 20 7b 0d 0a 0d 0a |ends Fra|me {....|
|000000c0| 20 20 2f 2f 20 43 6f 6e | 73 74 72 75 63 74 6f 72 | // Con|structor|
|000000d0| 2e 0d 0a 20 20 70 75 62 | 6c 69 63 20 41 57 54 5f |... pub|lic AWT_|
|000000e0| 54 65 73 74 31 28 53 74 | 72 69 6e 67 20 74 69 74 |Test1(St|ring tit|
|000000f0| 6c 65 29 20 7b 0d 0a 20 | 20 20 20 20 20 73 75 70 |le) {.. | sup|
|00000100| 65 72 28 74 69 74 6c 65 | 29 3b 0d 0a 20 20 20 20 |er(title|);.. |
|00000110| 20 20 4c 61 62 65 6c 20 | 6c 62 6c 20 3d 20 6e 65 | Label |lbl = ne|
|00000120| 77 20 4c 61 62 65 6c 28 | 22 48 65 6c 6c 6f 20 66 |w Label(|"Hello f|
|00000130| 72 6f 6d 20 4a 61 76 61 | 22 2c 20 4c 61 62 65 6c |rom Java|", Label|
|00000140| 2e 43 45 4e 54 45 52 29 | 3b 0d 0a 20 20 20 20 20 |.CENTER)|;.. |
|00000150| 20 6c 62 6c 2e 73 65 74 | 46 6f 6e 74 28 6e 65 77 | lbl.set|Font(new|
|00000160| 20 46 6f 6e 74 28 22 48 | 65 6c 76 65 74 69 63 61 | Font("H|elvetica|
|00000170| 22 2c 20 46 6f 6e 74 2e | 50 4c 41 49 4e 2c 20 31 |", Font.|PLAIN, 1|
|00000180| 36 29 29 3b 0d 0a 20 20 | 20 20 20 20 61 64 64 28 |6));.. | add(|
|00000190| 22 43 65 6e 74 65 72 22 | 2c 20 6c 62 6c 29 3b 0d |"Center"|, lbl);.|
|000001a0| 0a 20 20 7d 0d 0a 0d 0a | 20 20 70 75 62 6c 69 63 |. }....| public|
|000001b0| 20 73 74 61 74 69 63 20 | 76 6f 69 64 20 6d 61 69 | static |void mai|
|000001c0| 6e 28 53 74 72 69 6e 67 | 20 61 72 67 73 5b 5d 29 |n(String| args[])|
|000001d0| 20 7b 0d 0a 20 20 20 20 | 20 20 41 57 54 5f 54 65 | {.. | AWT_Te|
|000001e0| 73 74 31 20 54 65 73 74 | 20 3d 20 6e 65 77 20 41 |st1 Test| = new A|
|000001f0| 57 54 5f 54 65 73 74 31 | 28 22 41 20 4a 61 76 61 |WT_Test1|("A Java|
|00000200| 20 57 69 6e 64 6f 77 22 | 29 3b 0d 0a 20 20 20 20 | Window"|);.. |
|00000210| 20 20 54 65 73 74 2e 72 | 65 73 69 7a 65 28 33 35 | Test.r|esize(35|
|00000220| 30 2c 32 35 30 29 3b 0d | 0a 20 20 20 20 20 20 54 |0,250);.|. T|
|00000230| 65 73 74 2e 73 68 6f 77 | 28 29 3b 0d 0a 20 20 7d |est.show|();.. }|
|00000240| 0d 0a 7d 0d 0a 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 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000290| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo|
|000002a0| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally|
|000002b0| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..|
|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 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 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 |........|........|
|00000380| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 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 |........|........|
+--------+-------------------------+-------------------------+--------+--------+