Free Programming E-Books
Free download ebooks on computer and programming

Free Ebook Computer Programming

Free Ebook Computer Programming :
Java 1.4 Info.plist Java Dictionary Keys.pdf
Publisher :
Apple
Pages :14
Format :pdf
Size :0.2 MB
Upload date :11-23-05

Table of content

Coming soon

Other HOT and Free ebooks!!

Coming Soon

Free Ebook Computer Programming : Java 1.4 Info.plist Java Dictionary Keys.pdf

This document discusses the settings for the Info.plist Java Dictionary for Java 1.4 developers. Although the information is specific to Java 1.4.2, most of the information is also applicable for Java 1.4.1 (Java 1.4.1 is provided by default in Mac OS X version 10.3 and is an optional installation in Mac OS X version 10.2). Note that Java 1.4.2 is an optional installation for Mac OS X version 10.3. You customers can download it through Mac OS X's Software Update mechanism.

What is an Info.plist Java Dictionary Key?

The Info.plist file is an XML property list file in a native Mac OS X application bundle. It defines certain attributes of the application for use by the operating system. The Info.plist file for a Java application wrapped as a Mac OS X application bundle contains a Java dictionary. This dictionary is just a subset of the Info.plist file that begins with:

<key>Java</key>
	<dict>
and ends with
	</dict>
.........more

Download free ebook : Apple--Java_1.4_Info.plist_Java_Dictionary_Keys.pdf
discusses the settings for the Info.plist Java Dictionary for Java 1.4 developers

The Java dictionary allows you to set certain Java-specific attributes of your Mac OS X application. Inside this Java dictionary you can have key and string combinations or key and dictionary combinations as illustrated in Listing I-1 (page 7).

Listing I-1 Sample Info.plist Java dictionary

<key>Java</key>
	<dict>
		<key>JVMVersion</key>
		<string>1.4*</string>
		<key>MainClass</key>
		<string>com.yourCompanyName.YourApplication</string>
		<key>Properties</key>
			<dict>
				<key>apple.laf.useScreenMenuBar</key>
				<string>true</string>
				<key>apple.awt.showGrowBox</key>
				<string>true</string>
			</dict>
		<key>VMOptions</key>
		<string>-Xmx512m</string>
	</dict>
Note that each key tag has a corresponding string or dict tag. Each dict tag surrounds other key/string or key/dict combinations.

Top