<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://vh.cmp.uea.ac.uk/index.php?action=history&amp;feed=atom&amp;title=Developing_new_JASigning_Apps</id>
	<title>Developing new JASigning Apps - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://vh.cmp.uea.ac.uk/index.php?action=history&amp;feed=atom&amp;title=Developing_new_JASigning_Apps"/>
	<link rel="alternate" type="text/html" href="http://vh.cmp.uea.ac.uk/index.php?title=Developing_new_JASigning_Apps&amp;action=history"/>
	<updated>2026-05-24T19:26:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>http://vh.cmp.uea.ac.uk/index.php?title=Developing_new_JASigning_Apps&amp;diff=408&amp;oldid=prev</id>
		<title>John.Glauert at 11:17, 5 September 2017</title>
		<link rel="alternate" type="text/html" href="http://vh.cmp.uea.ac.uk/index.php?title=Developing_new_JASigning_Apps&amp;diff=408&amp;oldid=prev"/>
		<updated>2017-09-05T11:17:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:17, 5 September 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Home]] &amp;gt;&amp;gt; [[JASigning]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Main Page|&lt;/ins&gt;Home]] &amp;gt;&amp;gt; [[JASigning]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Developing new JASigning Apps =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Developing new JASigning Apps =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l37&quot;&gt;Line 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;JASApp.jar&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;lib&amp;lt;/code&amp;gt; folder containing runtime &amp;lt;code&amp;gt;jar&amp;lt;/code&amp;gt; files could be placed elsewhere as long as suitable parameters are provided to locate data files. Note that URLs can be used so data for the standard release can be accessed.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;JASApp.jar&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;lib&amp;lt;/code&amp;gt; folder containing runtime &amp;lt;code&amp;gt;jar&amp;lt;/code&amp;gt; files could be placed elsewhere as long as suitable parameters are provided to locate data files. Note that URLs can be used so data for the standard release can be accessed.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Home]] &amp;gt;&amp;gt; [[JASigning]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Main Page|&lt;/ins&gt;Home]] &amp;gt;&amp;gt; [[JASigning]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>John.Glauert</name></author>
	</entry>
	<entry>
		<id>http://vh.cmp.uea.ac.uk/index.php?title=Developing_new_JASigning_Apps&amp;diff=353&amp;oldid=prev</id>
		<title>John.Glauert: /* Developing new Apps */</title>
		<link rel="alternate" type="text/html" href="http://vh.cmp.uea.ac.uk/index.php?title=Developing_new_JASigning_Apps&amp;diff=353&amp;oldid=prev"/>
		<updated>2015-05-26T16:36:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Developing new Apps&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:36, 26 May 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The classes in &amp;lt;code&amp;gt;use-jarp&amp;lt;/code&amp;gt; create GUIs for the apps and then accept SiGML data on a socket, or play SiGML files specified by URLs. By copying and modifying an existing class, new apps can be built with access to the main methods used by apps and applets.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The classes in &amp;lt;code&amp;gt;use-jarp&amp;lt;/code&amp;gt; create GUIs for the apps and then accept SiGML data on a socket, or play SiGML files specified by URLs. By copying and modifying an existing class, new apps can be built with access to the main methods used by apps and applets.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Assuming that the installation is in a directory &amp;lt;code&amp;gt;loc2015&amp;lt;/code&amp;gt; the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Netneans &lt;/del&gt;project is &amp;lt;code&amp;gt;loc2015/JASApp&amp;lt;/code&amp;gt;. Netbeans will create  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Assuming that the installation is in a directory &amp;lt;code&amp;gt;loc2015&amp;lt;/code&amp;gt; the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Netbeans &lt;/ins&gt;project is &amp;lt;code&amp;gt;loc2015/JASApp&amp;lt;/code&amp;gt;. Netbeans will create  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;loc2015/JASApp/dist/JASApp.jar&amp;lt;/code&amp;gt;. To use the application outside Netbeans, a command such as:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;loc2015/JASApp/dist/JASApp.jar&amp;lt;/code&amp;gt;. To use the application outside Netbeans, a command such as:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  java -Djava.library.path=jas-libs -Dlog4j.configurationFile=../log4j2.xml -jar dist/JASApp.jar \&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  java -Djava.library.path=jas-libs -Dlog4j.configurationFile=../log4j2.xml -jar dist/JASApp.jar \&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>John.Glauert</name></author>
	</entry>
	<entry>
		<id>http://vh.cmp.uea.ac.uk/index.php?title=Developing_new_JASigning_Apps&amp;diff=352&amp;oldid=prev</id>
		<title>John.Glauert: Initial version.</title>
		<link rel="alternate" type="text/html" href="http://vh.cmp.uea.ac.uk/index.php?title=Developing_new_JASigning_Apps&amp;diff=352&amp;oldid=prev"/>
		<updated>2015-05-24T17:58:46Z</updated>

		<summary type="html">&lt;p&gt;Initial version.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Home]] &amp;gt;&amp;gt; [[JASigning]]&lt;br /&gt;
----&lt;br /&gt;
= Developing new JASigning Apps =&lt;br /&gt;
&lt;br /&gt;
The standard [[JASigning]] installation at [http://vhg.cmp.uea.ac.uk/tech/jas/std/ JASigning Current Release] provides access to Javadoc files for some of the key&lt;br /&gt;
modules of the avatar signing system. It also provides access to the source code for &amp;lt;code&amp;gt;use-jarp&amp;lt;/code&amp;gt; which contains classes&lt;br /&gt;
for the main example applications and applets.&lt;br /&gt;
&lt;br /&gt;
== Downloading and Building Freestanding [[JASigning]] Apps ==&lt;br /&gt;
&lt;br /&gt;
A version of the [[JASigning]] installation configured for a server running on &amp;lt;code&amp;gt;localhost&amp;lt;/code&amp;gt; is documented at [[JASigning Local Installation]] with instructions for downloading and installation.&lt;br /&gt;
&lt;br /&gt;
Within the installation is a NetBeans project &amp;lt;code&amp;gt;JASApp&amp;lt;/code&amp;gt; containing the &amp;lt;code&amp;gt;use-jarp&amp;lt;/code&amp;gt; sources and configured to access the &amp;lt;code&amp;gt;jar&amp;lt;/code&amp;gt; files containing the main [[JASigning]] classes. A few project properties may need to be adjusted to build the project on a user&amp;#039;s system. The code is compiled using Java 1.7. It should be possible to make a clean build of the project and run the &amp;lt;code&amp;gt;SiGMLPlayer&amp;lt;/code&amp;gt; app.&lt;br /&gt;
&lt;br /&gt;
== Developing new Apps ==&lt;br /&gt;
&lt;br /&gt;
The classes in &amp;lt;code&amp;gt;use-jarp&amp;lt;/code&amp;gt; create GUIs for the apps and then accept SiGML data on a socket, or play SiGML files specified by URLs. By copying and modifying an existing class, new apps can be built with access to the main methods used by apps and applets.&lt;br /&gt;
&lt;br /&gt;
Assuming that the installation is in a directory &amp;lt;code&amp;gt;loc2015&amp;lt;/code&amp;gt; the Netneans project is &amp;lt;code&amp;gt;loc2015/JASApp&amp;lt;/code&amp;gt;. Netbeans will create &lt;br /&gt;
&amp;lt;code&amp;gt;loc2015/JASApp/dist/JASApp.jar&amp;lt;/code&amp;gt;. To use the application outside Netbeans, a command such as:&lt;br /&gt;
 java -Djava.library.path=jas-libs -Dlog4j.configurationFile=../log4j2.xml -jar dist/JASApp.jar \&lt;br /&gt;
   -session file:../SiGMLPlayer -ja.version.tag=loc2015 -ja.remote.base.url=file:../../loc2015/&lt;br /&gt;
can be used from the &amp;lt;code&amp;gt;JASApp&amp;lt;/code&amp;gt; directory. For information on arguments see [[Passing Arguments to JASigning Apps]].&lt;br /&gt;
&lt;br /&gt;
== Implementation Details ==&lt;br /&gt;
&lt;br /&gt;
The following information from the [[JASigning]] installation directory is used when building apps in the NetBeans project:&lt;br /&gt;
* &amp;lt;code&amp;gt;jar&amp;lt;/code&amp;gt; files from the &amp;lt;code&amp;gt;jars&amp;lt;/code&amp;gt; folder&lt;br /&gt;
* &amp;lt;code&amp;gt;jar&amp;lt;/code&amp;gt; files from the &amp;lt;code&amp;gt;jogl&amp;lt;/code&amp;gt; folder&lt;br /&gt;
&lt;br /&gt;
When run from the &amp;lt;code&amp;gt;JASApp&amp;lt;/code&amp;gt; directory with the parameters shown above, the following data is accessed &lt;br /&gt;
from the installation directory:&lt;br /&gt;
* Avatar definitions from the &amp;lt;code&amp;gt;avatars&amp;lt;/code&amp;gt; folder&lt;br /&gt;
* Application properties from the installation directory&lt;br /&gt;
* Logging configuration from the installation directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;JASApp.jar&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;lib&amp;lt;/code&amp;gt; folder containing runtime &amp;lt;code&amp;gt;jar&amp;lt;/code&amp;gt; files could be placed elsewhere as long as suitable parameters are provided to locate data files. Note that URLs can be used so data for the standard release can be accessed.&lt;br /&gt;
----&lt;br /&gt;
[[Home]] &amp;gt;&amp;gt; [[JASigning]]&lt;/div&gt;</summary>
		<author><name>John.Glauert</name></author>
	</entry>
</feed>