instruction
stringlengths
5
72
input
stringclasses
1 value
output
stringlengths
22
8.46k
How to Create a Custom About Window
20.6 How to Create a Custom About Window Create a class named apps.main.ServerInfoDialog that implements com.calypso.apps.main.ServerInfoDialogInterface. This class is invoked from com.calypso.apps.main.ServerInfoDialog (the dialog that appears under Help > About in the Calypso Navigator.)
How to Create Custom Keyboard Accelerators
20.7 How to Create Custom Keyboard Accelerators Create a class named apps.util.DefaultCustomListener which implements the interface com.calypso.apps.util.CustomListener. This class will be invoked from com.calypso.apps.util.AppUtil.
How to Allow Custom Date Patterns
20.8 How to Allow Custom Date Patterns Create a class named apps.util.CalypsoDateDocument that implements javax.swing.text.PlainDocument. Invoke this class from com.calypso.apps.util.AppUtil.
Adding a Non-Transient Attribute to an Externalizable Class
21.1 Adding a Non-Transient Attribute to an Externalizable Class
Release
21.1.1Release You are adding the attribute under release. 1. Look at AUDIT_VERSION in release.src.com.calypso.tk.core.CalypsoVersion. For example, it is 90100. 2. In the readExternal() method of the Externalizable class in release, call CalypsoVersion.checkAuditVersion(__auditVersion, 90100). This means that this attribute was added in version 90100.
Patch
21.1.2Patch You are patching the attribute into one code line. 1. Look at AUDIT_VERSION in patch.com.calypso.tk.core.CalypsoVersion. For example, it is 90200. 2. In the readExternal() method of the Externalizable class in both the release and the patch, call CalypsoVersion.checkAuditVersion(__auditVersion, 90100, 90200). This means that this attribute was added in version 90100 and patched in 90200. You are patching the attribute into two code lines. 1. Look at AUDIT_VERSION in patch.com.calypso.tk.core.CalypsoVersion. For example, it is 90200. 2. In the readExternal() method of the Externalizable class in the release and in both patches, call CalypsoVersion.checkAuditVersion(__ auditVersion, 80400, 80100, 60024). This means that this attribute was added in version 80400, and patched in 80100 and 60024.