<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>curious codes</title>
	<atom:link href="http://curiouscodes.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://curiouscodes.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Wed, 27 May 2009 17:56:11 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='curiouscodes.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/33749b74ebf0cb8b6dfcd805cdddd8ce?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>curious codes</title>
		<link>http://curiouscodes.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://curiouscodes.wordpress.com/osd.xml" title="curious codes" />
	<atom:link rel='hub' href='http://curiouscodes.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Testing availability of your webserver from the Internet without NAT-loopback</title>
		<link>http://curiouscodes.wordpress.com/2009/05/27/testing-availability-of-your-webserver-from-the-internet-without-nat-loopback/</link>
		<comments>http://curiouscodes.wordpress.com/2009/05/27/testing-availability-of-your-webserver-from-the-internet-without-nat-loopback/#comments</comments>
		<pubDate>Wed, 27 May 2009 17:56:11 +0000</pubDate>
		<dc:creator>thomaswiese</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[LAN]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[WAN]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://curiouscodes.wordpress.com/?p=14</guid>
		<description><![CDATA[Testing availability of your webserver from the Internet without NAT-loopback and doing this all from home<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curiouscodes.wordpress.com&amp;blog=7417663&amp;post=14&amp;subd=curiouscodes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wanted to test, wether my webserver is available from the Internet. But there was a little problem with the DSL-Router which doesn&#8217;t support NAT loopback.<br />
I configured the Router with port-forwarding for port 80 to my webserver. When I tried to use the WAN IP of the Router in my Browser, I connected always to the configuration site of my router (which isn&#8217;t available from the Internet but inside the LAN. The problem is, that the Router finds &#8222;the other side&#8220; (itself via the WAN-IP) but is then using a connection directly from the computer to the router without notice if the port-forwarding rule.<br />
The workaround here is usage of one of the numerous free web proxies e.g. http://anonymouse.org/<br />
Because the proxy starts his own request from the WAN side, the above effect does not occur.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/curiouscodes.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/curiouscodes.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/curiouscodes.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/curiouscodes.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/curiouscodes.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/curiouscodes.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/curiouscodes.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/curiouscodes.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/curiouscodes.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/curiouscodes.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/curiouscodes.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/curiouscodes.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/curiouscodes.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/curiouscodes.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curiouscodes.wordpress.com&amp;blog=7417663&amp;post=14&amp;subd=curiouscodes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://curiouscodes.wordpress.com/2009/05/27/testing-availability-of-your-webserver-from-the-internet-without-nat-loopback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/840fc0278d16ccbe8eddd27f5ab2d2e1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomaswiese</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing PHP5 with Apache webserver 2.2</title>
		<link>http://curiouscodes.wordpress.com/2009/05/27/installing-php5-with-apache-webserver-2-2/</link>
		<comments>http://curiouscodes.wordpress.com/2009/05/27/installing-php5-with-apache-webserver-2-2/#comments</comments>
		<pubDate>Wed, 27 May 2009 17:34:35 +0000</pubDate>
		<dc:creator>thomaswiese</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://curiouscodes.wordpress.com/?p=12</guid>
		<description><![CDATA[Installing PHP5 with Apache webserver 2.2<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curiouscodes.wordpress.com&amp;blog=7417663&amp;post=12&amp;subd=curiouscodes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this example, the php-installation is in C:\PHP, the Apache installation in C:\Program Files\Apache Software Foundation\Apache2.2</p>
<p>1. Copy php5apache2_2.dll to:<br />
C:\Program Files\Apache Software Foundation\Apache2.2\modules<br />
(or the equivalent directory for your installation)</p>
<p>2. Copy php5ts.dll to:<br />
C:\Program Files\Apache Software Foundation\Apache2.2\bin<br />
(or the equivalent directory for your installation)</p>
<p>3. Edit httpd.conf adding:<br />
LoadModule php5_module modules/php5apache2_2.dll<br />
AddType application/x-httpd-php .php<br />
PHPIniDir &#8222;C:/PHP/&#8220;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/curiouscodes.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/curiouscodes.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/curiouscodes.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/curiouscodes.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/curiouscodes.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/curiouscodes.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/curiouscodes.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/curiouscodes.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/curiouscodes.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/curiouscodes.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/curiouscodes.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/curiouscodes.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/curiouscodes.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/curiouscodes.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curiouscodes.wordpress.com&amp;blog=7417663&amp;post=12&amp;subd=curiouscodes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://curiouscodes.wordpress.com/2009/05/27/installing-php5-with-apache-webserver-2-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/840fc0278d16ccbe8eddd27f5ab2d2e1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomaswiese</media:title>
		</media:content>
	</item>
		<item>
		<title>The Number of JInternalFrames</title>
		<link>http://curiouscodes.wordpress.com/2009/04/22/the-number-of-jinternalframes/</link>
		<comments>http://curiouscodes.wordpress.com/2009/04/22/the-number-of-jinternalframes/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 20:58:44 +0000</pubDate>
		<dc:creator>thomaswiese</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://curiouscodes.wordpress.com/?p=8</guid>
		<description><![CDATA[To get the number of the created JInternalFrames it is the easiest way to work with a static variable within a class extended from JInternalFrame:    public class CompanyFrame extends javax.swing.JInternalFrame { static int count; // the static counter public CompanyFrame() { // constructor count++; // your code here jLabel1.setText(String.valueOf(count)); }<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curiouscodes.wordpress.com&amp;blog=7417663&amp;post=8&amp;subd=curiouscodes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To get the number of the created JInternalFrames it is the easiest way to work with a static variable within a class extended from JInternalFrame:    <BR><br />
<CODE><br />
public class CompanyFrame extends javax.swing.JInternalFrame {<br />
    static int count;  // the static counter<br />
    public CompanyFrame() {                   // constructor<br />
        count++;<br />
        // your code here<br />
        jLabel1.setText(String.valueOf(count));<br />
    }<br />
</CODE></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/curiouscodes.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/curiouscodes.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/curiouscodes.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/curiouscodes.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/curiouscodes.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/curiouscodes.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/curiouscodes.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/curiouscodes.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/curiouscodes.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/curiouscodes.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/curiouscodes.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/curiouscodes.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/curiouscodes.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/curiouscodes.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curiouscodes.wordpress.com&amp;blog=7417663&amp;post=8&amp;subd=curiouscodes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://curiouscodes.wordpress.com/2009/04/22/the-number-of-jinternalframes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/840fc0278d16ccbe8eddd27f5ab2d2e1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomaswiese</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting the System look and feel</title>
		<link>http://curiouscodes.wordpress.com/2009/04/19/setting-the-system-look-and-feel/</link>
		<comments>http://curiouscodes.wordpress.com/2009/04/19/setting-the-system-look-and-feel/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 11:49:44 +0000</pubDate>
		<dc:creator>thomaswiese</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Java look and feel]]></category>

		<guid isPermaLink="false">http://curiouscodes.wordpress.com/2009/04/19/setting-the-system-look-and-feel/</guid>
		<description><![CDATA[@Override protected void initialize(String[] args){ JFrame.setDefaultLookAndFeelDecorated(true); try { // Set System L&#38;F UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName()); } catch (UnsupportedLookAndFeelException e) { // handle exception } catch (ClassNotFoundException e) { // handle exception } catch (InstantiationException e) { // handle exception } catch (IllegalAccessException e) { // handle exception }<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curiouscodes.wordpress.com&amp;blog=7417663&amp;post=5&amp;subd=curiouscodes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>    @Override protected void initialize(String[] args){<br />
         JFrame.setDefaultLookAndFeelDecorated(true);<br />
    try {<br />
	    // Set System L&amp;F<br />
        UIManager.setLookAndFeel(<br />
            UIManager.getSystemLookAndFeelClassName());<br />
    }<br />
    catch (UnsupportedLookAndFeelException e) {<br />
       // handle exception<br />
    }<br />
    catch (ClassNotFoundException e) {<br />
       // handle exception<br />
    }<br />
    catch (InstantiationException e) {<br />
       // handle exception<br />
    }<br />
    catch (IllegalAccessException e) {<br />
       // handle exception<br />
    }</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/curiouscodes.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/curiouscodes.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/curiouscodes.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/curiouscodes.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/curiouscodes.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/curiouscodes.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/curiouscodes.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/curiouscodes.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/curiouscodes.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/curiouscodes.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/curiouscodes.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/curiouscodes.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/curiouscodes.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/curiouscodes.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curiouscodes.wordpress.com&amp;blog=7417663&amp;post=5&amp;subd=curiouscodes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://curiouscodes.wordpress.com/2009/04/19/setting-the-system-look-and-feel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/840fc0278d16ccbe8eddd27f5ab2d2e1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomaswiese</media:title>
		</media:content>
	</item>
		<item>
		<title>Substance look and feel with Swing Application Framework</title>
		<link>http://curiouscodes.wordpress.com/2009/04/19/substance-look-and-feel-with-swing-application-framework/</link>
		<comments>http://curiouscodes.wordpress.com/2009/04/19/substance-look-and-feel-with-swing-application-framework/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 11:35:59 +0000</pubDate>
		<dc:creator>thomaswiese</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://curiouscodes.wordpress.com/2009/04/19/substance-look-and-feel-with-swing-application-framework/</guid>
		<description><![CDATA[Both won&#8217;t work together if the laf-setting is not in the initialize()-Method. Used in this method, there will still be an error, but the laf will be set correctly. @Override protected void initialize(String[] args){ JFrame.setDefaultLookAndFeelDecorated(true); try { UIManager.setLookAndFeel(new SubstanceChallengerDeepLookAndFeel()); } catch (Exception e) { System.out.println(&#8222;Look and feel failed to initialize&#8220;); } ERROR:&#8220;Component creation must be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curiouscodes.wordpress.com&amp;blog=7417663&amp;post=3&amp;subd=curiouscodes&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Both won&#8217;t work together if the laf-setting is not in the initialize()-Method. Used in this method, there will still be an error, but the laf will be set correctly.<br />
    @Override protected void initialize(String[] args){<br />
         JFrame.setDefaultLookAndFeelDecorated(true);<br />
    try {<br />
      UIManager.setLookAndFeel(new SubstanceChallengerDeepLookAndFeel());<br />
    } catch (Exception e) {<br />
      System.out.println(&#8222;Look and feel failed to initialize&#8220;);<br />
    }</p>
<p>ERROR:&#8220;Component creation must be done on Event Dispatch Thread&#8220;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/curiouscodes.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/curiouscodes.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/curiouscodes.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/curiouscodes.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/curiouscodes.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/curiouscodes.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/curiouscodes.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/curiouscodes.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/curiouscodes.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/curiouscodes.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/curiouscodes.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/curiouscodes.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/curiouscodes.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/curiouscodes.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=curiouscodes.wordpress.com&amp;blog=7417663&amp;post=3&amp;subd=curiouscodes&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://curiouscodes.wordpress.com/2009/04/19/substance-look-and-feel-with-swing-application-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/840fc0278d16ccbe8eddd27f5ab2d2e1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomaswiese</media:title>
		</media:content>
	</item>
	</channel>
</rss>
