<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://protegewiki.stanford.edu/index.php?action=history&amp;feed=atom&amp;title=SwingSwtProblems</id>
		<title>SwingSwtProblems - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://protegewiki.stanford.edu/index.php?action=history&amp;feed=atom&amp;title=SwingSwtProblems"/>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/index.php?title=SwingSwtProblems&amp;action=history"/>
		<updated>2026-04-19T14:35:11Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://protegewiki.stanford.edu/index.php?title=SwingSwtProblems&amp;diff=5499&amp;oldid=prev</id>
		<title>Tredmond at 21:47, February 4, 2009</title>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/index.php?title=SwingSwtProblems&amp;diff=5499&amp;oldid=prev"/>
				<updated>2009-02-04T21:47:04Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 21:47, February 4, 2009&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='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Building an &lt;/del&gt;OSGi runnable on a Mac doesn't seem to work.&amp;#160; The splash screen comes up but it then hangs.&amp;#160; Messages in the log include the following &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;Running a Swing based &lt;/ins&gt;OSGi runnable on a Mac doesn't seem to work.&amp;#160; The splash screen comes up but it then hangs.&amp;#160; Messages in the log include the following &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; 2009-02-04 09:54:41.815 java[32900:10b] [Java CocoaComponent compatibility mode]: Enabled&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; 2009-02-04 09:54:41.815 java[32900:10b] [Java CocoaComponent compatibility mode]: Enabled&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; 2009-02-04 09:54:41.819 java[32900:10b] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; 2009-02-04 09:54:41.819 java[32900:10b] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tredmond</name></author>	</entry>

	<entry>
		<id>https://protegewiki.stanford.edu/index.php?title=SwingSwtProblems&amp;diff=5494&amp;oldid=prev</id>
		<title>Tredmond at 21:06, February 4, 2009</title>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/index.php?title=SwingSwtProblems&amp;diff=5494&amp;oldid=prev"/>
				<updated>2009-02-04T21:06:45Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 21:06, February 4, 2009&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='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Building an OSGi runnable on a Mac doesn't seem to work.&amp;#160; The splash screen comes up but it then hangs.&amp;#160; Messages in the log include the following &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Building an OSGi runnable on a Mac doesn't seem to work.&amp;#160; The splash screen comes up but it then hangs.&amp;#160; Messages in the log include the following &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; 2009-02-04 09:54:41.815 java[32900:10b] [Java CocoaComponent compatibility mode]: Enabled&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; 2009-02-04 09:54:41.815 java[32900:10b] [Java CocoaComponent compatibility mode]: Enabled&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-l8&quot; &gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# maybe there is some setting on the OSGi runnable that will fix the problem.&amp;#160; I tried a couple of things like changing the Java Executable and changing the execution environment but I didn't succeed.&amp;#160; I also tried restricting the set of bundles from the target envrionment to a minimum.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# maybe there is some setting on the OSGi runnable that will fix the problem.&amp;#160; I tried a couple of things like changing the Java Executable and changing the execution environment but I didn't succeed.&amp;#160; I also tried restricting the set of bundles from the target envrionment to a minimum.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# I tried Eclipse on Swing (EOS).&amp;#160; Seems cool but I found that it hung on the Eclipse splash screen so I don't know if it would help.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# I tried Eclipse on Swing (EOS).&amp;#160; Seems cool but I found that it hung on the Eclipse splash screen so I don't know if it would help.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;# I wondered whether using a different OSGi Framework would help.&amp;#160; By default, eclipse only comes with Equinox.&amp;#160; But Protege 4 will run happily in the Felix and Knopflerfish OSGi distributions.&amp;#160; There are [http://wiki.eclipse.org/OSGI_component_support_in_Service_Creation#How_to_deploy_OSGI_component_to_runtime instructions] on how to setup &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;these distributions &lt;/del&gt;in eclipse but I didn't manage to get this working.&amp;#160; In particular, I could not find the eclipse pluugin that has&amp;#160; the FelixInitializer class.&amp;#160; I don't know if it would have helped.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;# I wondered whether using a different OSGi Framework would help.&amp;#160; By default, eclipse only comes with Equinox.&amp;#160; But Protege 4 will run happily in the Felix and Knopflerfish OSGi distributions.&amp;#160; There are [http://wiki.eclipse.org/OSGI_component_support_in_Service_Creation#How_to_deploy_OSGI_component_to_runtime instructions] on how to setup &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the felix distribution &lt;/ins&gt;in eclipse but I didn't manage to get this working.&amp;#160; In particular, I could not find the eclipse pluugin that has&amp;#160; the FelixInitializer class.&amp;#160; I don't know if it would have helped.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tredmond</name></author>	</entry>

	<entry>
		<id>https://protegewiki.stanford.edu/index.php?title=SwingSwtProblems&amp;diff=5493&amp;oldid=prev</id>
		<title>Tredmond: New page:  Building an OSGi runnable on a Mac doesn't seem to work.  The splash screen comes up but it then hangs.  Messages in the log include the following    2009-02-04 09:54:41.815 java[32900:10...</title>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/index.php?title=SwingSwtProblems&amp;diff=5493&amp;oldid=prev"/>
				<updated>2009-02-04T21:04:15Z</updated>
		
		<summary type="html">&lt;p&gt;New page:  Building an OSGi runnable on a Mac doesn&amp;#039;t seem to work.  The splash screen comes up but it then hangs.  Messages in the log include the following    2009-02-04 09:54:41.815 java[32900:10...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
Building an OSGi runnable on a Mac doesn't seem to work.  The splash screen comes up but it then hangs.  Messages in the log include the following &lt;br /&gt;
  2009-02-04 09:54:41.815 java[32900:10b] [Java CocoaComponent compatibility mode]: Enabled&lt;br /&gt;
  2009-02-04 09:54:41.819 java[32900:10b] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000&lt;br /&gt;
&lt;br /&gt;
There is a [http://www.eclipse.org/swt/faq.php#swtawtosx web page] that suggests that this bug has already been fixed but I was not able to follow these instructions.  In particular I was not able to find the SWT Compatibility libraries on connect.apple.com and updating to the latest java version did not help.  Possibly this will work on the intel macs though.  I tried a couple of other things to see if I could get around this:&lt;br /&gt;
&lt;br /&gt;
# maybe there is some setting on the OSGi runnable that will fix the problem.  I tried a couple of things like changing the Java Executable and changing the execution environment but I didn't succeed.  I also tried restricting the set of bundles from the target envrionment to a minimum.&lt;br /&gt;
# I tried Eclipse on Swing (EOS).  Seems cool but I found that it hung on the Eclipse splash screen so I don't know if it would help.&lt;br /&gt;
# I wondered whether using a different OSGi Framework would help.  By default, eclipse only comes with Equinox.  But Protege 4 will run happily in the Felix and Knopflerfish OSGi distributions.  There are [http://wiki.eclipse.org/OSGI_component_support_in_Service_Creation#How_to_deploy_OSGI_component_to_runtime instructions] on how to setup these distributions in eclipse but I didn't manage to get this working.  In particular, I could not find the eclipse pluugin that has  the FelixInitializer class.  I don't know if it would have helped.&lt;/div&gt;</summary>
		<author><name>Tredmond</name></author>	</entry>

	</feed>