<?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>Anchialas&#039; Java Blog</title>
	<atom:link href="http://anchialas.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://anchialas.wordpress.com</link>
	<description>Java and NetBeans Platform related stuff</description>
	<lastBuildDate>Wed, 30 May 2012 05:50:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='anchialas.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Anchialas&#039; Java Blog</title>
		<link>http://anchialas.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://anchialas.wordpress.com/osd.xml" title="Anchialas&#039; Java Blog" />
	<atom:link rel='hub' href='http://anchialas.wordpress.com/?pushpress=hub'/>
		<item>
		<title>RedmineNB V1.0-Beta (Update)</title>
		<link>http://anchialas.wordpress.com/2012/04/19/redminenb-v1-0-beta/</link>
		<comments>http://anchialas.wordpress.com/2012/04/19/redminenb-v1-0-beta/#comments</comments>
		<pubDate>Thu, 19 Apr 2012 14:14:42 +0000</pubDate>
		<dc:creator>anchialas</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Redmine]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[RedmineNB]]></category>
		<category><![CDATA[UpdateCenter]]></category>

		<guid isPermaLink="false">http://anchialas.wordpress.com/?p=126</guid>
		<description><![CDATA[The V1.0 Beta release of the RedmineNB Plugin for NetBeans is available. RedmineNB adds support for Redmine issue tracker (Version 1.3.0+) to NetBeans and is built on top of the redmine-java-api library. Many bug fixes and several improvements are featured in the Beta release: [REDMINENB-1] &#8211; New Issue: Casting exception leads to messed up UI [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=126&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The <strong>V1.0 Beta release of the RedmineNB Plugin for NetBeans</strong> is available. RedmineNB adds support for <a title="Redmine Home Page" href="http://www.redmine.org" target="_blank">Redmine issue tracker</a> (Version 1.3.0+) to NetBeans and is built on top of the <a title="redmine-java-api library" href="https://github.com/redminedev/redmine-java-api" target="_blank">redmine-java-api library</a>.</p>
<p><a href="http://anchialas.files.wordpress.com/2012/04/issuepanel.png"><img class="aligncenter size-full wp-image-129" title="issuePanel-V1.0-Beta" src="http://anchialas.files.wordpress.com/2012/04/issuepanel.png?w=600&h=415" alt="" width="600" height="415" /></a></p>
<p>Many bug fixes and several improvements are featured in the Beta release:</p>
<ul>
<li>[<a href="http://kenai.com/jira/browse/REDMINENB-1">REDMINENB-1</a>] &#8211; New Issue: Casting exception leads to messed up UI</li>
<li>[<a href="http://kenai.com/jira/browse/REDMINENB-2">REDMINENB-2</a>] &#8211; Update issue: Hours cast Long-&gt;Double exception</li>
<li>[<a href="http://kenai.com/jira/browse/REDMINENB-6">REDMINENB-6</a>] &#8211; Implement add comment (used from commit dialog box)</li>
<li>[<a href="http://kenai.com/jira/browse/REDMINENB-7">REDMINENB-7</a>] &#8211; Class Cast Exception makes UI unusable</li>
<li>[<a href="http://kenai.com/jira/browse/REDMINENB-11">REDMINENB-11</a>] &#8211; Can&#8217;t create Redmine issue tracker</li>
<li>[<a href="http://kenai.com/jira/browse/REDMINENB-16">REDMINENB-16</a>] &#8211; Exception occurs when specifying parent task number</li>
<li>[<a href="http://kenai.com/jira/browse/REDMINENB-3">REDMINENB-3</a>] &#8211; Update issue: Give feedback when successfully updated</li>
<li>[<a href="http://kenai.com/jira/browse/REDMINENB-19">REDMINENB-19</a>] &#8211; Add Update Center</li>
</ul>
<p>Since RedmineNB has an implementation dependency to the Issue Tracking module the plugin is <strong>only compatible with NetBeans 7.1.1</strong>. A Redmine V1.3.0+ installation is required for best compatibility (tested with V1.3.1 and V1.4.0). There are some <a title="RedmineNB Release Notes" href="http://anchialas.wordpress.com/2012/04/16/toolbar-icons-with-label/" target="_blank">limitations in the functionality</a> since the used Redmine REST API is not yet fully developed.</p>
<p>The plugin can be downloaded from the <a title="RedmineNB" href="http://kenai.com/projects/redminenb" target="_blank">RedmineNB project@kenai</a> or installed by the new Update Center:</p>
<ul>
<li>Name: RedmineNB Update Center</li>
<li>URL: <a href="http://kenai.com/projects/redminenb/sources/redminenb/content/trunk/dist/updates/updates.xml?raw=true" target="_blank">http://kenai.com/projects/redminenb/sources/redminenb/content/trunk/dist/updates/updates.xml?raw=true</a></li>
</ul>
<p>The downloaded distribution also installs the Update Center for automatically receive updates. For more information please consult the project&#8217;s <a href="http://kenai.com/projects/redminenb/pages/Home" target="_blank">Wiki</a>. Please report bugs and feature request in the project&#8217;s <a title="RedmineNB JIRA" href="http://kenai.com/jira/browse/REDMINENB" target="_blank">JIRA</a>.</p>
<p>Please note that RedmineNB is still under development and not intended for production use.</p>
<p><strong>Update (2012-04-25):</strong></p>
<p><strong></strong>The &#8220;Can’t find resource for bundle &#8230;&#8221;-Problem has been fixed with Version 1.0.7 (available fron the Update Center).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anchialas.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anchialas.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anchialas.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anchialas.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anchialas.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anchialas.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anchialas.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anchialas.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anchialas.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anchialas.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anchialas.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anchialas.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anchialas.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anchialas.wordpress.com/126/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=126&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anchialas.wordpress.com/2012/04/19/redminenb-v1-0-beta/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71768a3a3b2cd519bc43d8893c271851?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anchialas</media:title>
		</media:content>

		<media:content url="http://anchialas.files.wordpress.com/2012/04/issuepanel.png" medium="image">
			<media:title type="html">issuePanel-V1.0-Beta</media:title>
		</media:content>
	</item>
		<item>
		<title>Toolbar buttons with label</title>
		<link>http://anchialas.wordpress.com/2012/04/16/toolbar-icons-with-label/</link>
		<comments>http://anchialas.wordpress.com/2012/04/16/toolbar-icons-with-label/#comments</comments>
		<pubDate>Mon, 16 Apr 2012 08:15:00 +0000</pubDate>
		<dc:creator>anchialas</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[NB Platform]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Action]]></category>
		<category><![CDATA[ServiceProvider]]></category>
		<category><![CDATA[Toolbar]]></category>

		<guid isPermaLink="false">http://anchialas.wordpress.com/?p=111</guid>
		<description><![CDATA[As default, any action in a NetBeans toolbar is displayed with an icon only. If you want to show also a label for a desired action you have to implement a Presenter.TOOLBAR. If you don&#8217;t want do this for each action, register a custom org.openide.awt.Actions.ButtonActionConnector like this: If the property menuText is set, the the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=111&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As default, any action in a NetBeans toolbar is displayed with an icon only. If you want to show also a label for a desired action you have to implement a <code>Presenter.TOOLBAR</code>. If you don&#8217;t want do this for each action, register a custom <code>org.openide.awt.Actions.ButtonActionConnector</code> like this:</p>
<p><pre class="brush: java;">
/**
 * @see org.openide.awt.Actions#connect(AbstractButton, Action)
 */
@ServiceProvider(service = ButtonActionConnector.class, position = 100)
public class MyButtonActionConnector implements ButtonActionConnector {

   @Override
   public boolean connect(AbstractButton button, Action action) {
      String text = (String)action.getValue(&amp;quot;menuText&amp;quot;); // NOI18N
      if (text != null) {
         button.setAction(action);
         button.setText(Actions.cutAmpersand(text));
         String desc = (String)action.getValue(Action.SHORT_DESCRIPTION);
         if (desc != null) {
            button.setToolTipText(desc);
         } else {
            button.setToolTipText((String)action.getValue(Action.NAME));
         }
         return true;
      }
      return false;
   }

   @Override
   public boolean connect(JMenuItem item, Action action, boolean popup) {
      return false; // use default implementation
   }
}
</pre></p>
<p>If the property <code>menuText</code> is set, the the button is configured with icon <strong>and text</strong>. The basic use of the <code>menuText</code> Property is (copied from <code>@ActionRegistration</code>&#8216;s javadoc):</p>
<blockquote><p>Provides the JMenuItem text if one wants to use other than the name of the action returned by ActionRegistration.displayName().</p></blockquote>
<p>With the custom ButtonActionConnector this property is &#8220;extended&#8221; to show a toolbar button text if supplied.</p>
<p>Provide a value for the @ActionRegistration&#8217;s menuText Attribute for the desired action(s): </p>
<p><pre class="brush: java;">
@ActionRegistration(displayName = &amp;quot;#CTL_PwdChangeAction&amp;quot;,
                    menuText = &amp;quot;#CTL_PwdChangeAction&amp;quot;,
                    iconBase = &amp;quot;resources/key1.png&amp;quot;)
@ActionReference(path = &amp;quot;Toolbars/User&amp;quot;)
@Messages(&amp;quot;CTL_PwdChangeAction=Change Password…&amp;quot;)
public final class PwdChangeAction implements ActionListener {
   ...
}
</pre></p>
<p>Result:<br />
<a href="http://anchialas.files.wordpress.com/2012/04/changepwd.png"><img src="http://anchialas.files.wordpress.com/2012/04/changepwd.png?w=600" alt="" title="&quot;Change Password&quot;: toolbar button with text"   class="aligncenter size-full wp-image-114" /></a><br />
or<br />
<a href="http://anchialas.files.wordpress.com/2012/04/changepwd2.png"><img src="http://anchialas.files.wordpress.com/2012/04/changepwd2.png?w=600" alt="" title="Toolbar button with label below the icon"   class="aligncenter size-full wp-image-122" /></a><br />
Tested with NetBeans 7.1.1 (see comments)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anchialas.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anchialas.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anchialas.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anchialas.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anchialas.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anchialas.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anchialas.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anchialas.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anchialas.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anchialas.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anchialas.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anchialas.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anchialas.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anchialas.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=111&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anchialas.wordpress.com/2012/04/16/toolbar-icons-with-label/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71768a3a3b2cd519bc43d8893c271851?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anchialas</media:title>
		</media:content>

		<media:content url="http://anchialas.files.wordpress.com/2012/04/changepwd.png" medium="image">
			<media:title type="html">&#34;Change Password&#34;: toolbar button with text</media:title>
		</media:content>

		<media:content url="http://anchialas.files.wordpress.com/2012/04/changepwd2.png" medium="image">
			<media:title type="html">Toolbar button with label below the icon</media:title>
		</media:content>
	</item>
		<item>
		<title>Fastest way to clear the Lookup contents</title>
		<link>http://anchialas.wordpress.com/2012/03/20/fastest-way-to-clear-the-lookup-contents/</link>
		<comments>http://anchialas.wordpress.com/2012/03/20/fastest-way-to-clear-the-lookup-contents/#comments</comments>
		<pubDate>Tue, 20 Mar 2012 06:10:27 +0000</pubDate>
		<dc:creator>anchialas</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[NB Platform]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Lookup]]></category>

		<guid isPermaLink="false">http://anchialas.wordpress.com/?p=106</guid>
		<description><![CDATA[Suppose you have an AbstractLookup with a registered InstanceContent: The fastest way to clear all the Lookup contents: Now I&#8217;m looking for a convenience command to remove all instances of a given type. I want to replace this code: Perhaps someone has an idea?<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=106&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Suppose you have an AbstractLookup with a registered InstanceContent:</p>
<p><pre class="brush: java;">
InstanceContent ic = new InstanceContent();
Lookup lkp = new AbstractLookup(ic);
</pre></p>
<p>The fastest way to clear all the Lookup contents:<br />
<pre class="brush: java;">
ic.set(Collections.emptyList(), null);
</pre></p>
<p>Now I&#8217;m looking for a convenience command to remove all instances of a given type. I want to replace this code:<br />
<pre class="brush: java;">
for (MyClass my : lkp.lookupAll(MyClass.class)) {  
   ic.remove(my);
}
</pre><br />
Perhaps someone has an idea?</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anchialas.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anchialas.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anchialas.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anchialas.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anchialas.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anchialas.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anchialas.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anchialas.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anchialas.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anchialas.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anchialas.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anchialas.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anchialas.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anchialas.wordpress.com/106/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=106&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anchialas.wordpress.com/2012/03/20/fastest-way-to-clear-the-lookup-contents/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71768a3a3b2cd519bc43d8893c271851?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anchialas</media:title>
		</media:content>
	</item>
		<item>
		<title>Redmine Plugin for NetBeans</title>
		<link>http://anchialas.wordpress.com/2012/03/09/redmine-plugin-for-netbeans/</link>
		<comments>http://anchialas.wordpress.com/2012/03/09/redmine-plugin-for-netbeans/#comments</comments>
		<pubDate>Fri, 09 Mar 2012 07:05:00 +0000</pubDate>
		<dc:creator>anchialas</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Redmine]]></category>
		<category><![CDATA[nbm]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[RedmineNB]]></category>

		<guid isPermaLink="false">http://anchialas.wordpress.com/?p=99</guid>
		<description><![CDATA[The RedmineNB dev team is pleased to announce the first alpha release of the RedmineNB Plugin for NetBeans. RedmineNB adds support for Redmine issue tracker (Version 1.3.0+) to NetBeans and is built on top of the redmine-java-api library (V1.8.0). Since RedmineNB has an implementation dependency to the Issue Tracking module the plugin is only compatible [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=99&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The <a title="RedmineNB" href="http://kenai.com/projects/redminenb" target="_blank">RedmineNB</a> dev team is pleased to announce the first alpha release of the RedmineNB Plugin for NetBeans. RedmineNB adds support for <a title="Redmine Home Page" href="http://www.redmine.org" target="_blank">Redmine issue tracker</a> (Version 1.3.0+) to NetBeans and is built on top of the <a title="redmine-java-api library" href="http://code.google.com/p/redmine-java-api" target="_blank">redmine-java-api library</a> (V1.8.0).</p>
<p>Since RedmineNB has an implementation dependency to the Issue Tracking module the plugin is only compatible with NetBeans 7.1.1. A Redmine V1.3.0+ installation is required for best compatibility (tested with V1.3.1). There are some limitations in the functionality since the used Redmine REST API is not yet fully developed. <a title="Redmine REST API" href="http://www.redmine.org/projects/redmine/wiki/Rest_api" target="_blank">This page</a> gives an overview of the Redmine REST API.</p>
<p>The plugin can be downloaded from the <a title="RedmineNB" href="http://kenai.com/projects/redminenb" target="_blank">RedmineNB project@kenai</a> and for more information consult the project&#8217;s Wiki. Please note that RedmineNB is still under development and not yet intended for production use.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anchialas.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anchialas.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anchialas.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anchialas.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anchialas.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anchialas.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anchialas.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anchialas.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anchialas.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anchialas.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anchialas.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anchialas.wordpress.com/99/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anchialas.wordpress.com/99/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anchialas.wordpress.com/99/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=99&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anchialas.wordpress.com/2012/03/09/redmine-plugin-for-netbeans/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71768a3a3b2cd519bc43d8893c271851?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anchialas</media:title>
		</media:content>
	</item>
		<item>
		<title>CoolEditorActions V1.1.19 released</title>
		<link>http://anchialas.wordpress.com/2012/02/06/cooleditoractions-v1-1-19-released/</link>
		<comments>http://anchialas.wordpress.com/2012/02/06/cooleditoractions-v1-1-19-released/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 22:23:07 +0000</pubDate>
		<dc:creator>anchialas</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Action]]></category>
		<category><![CDATA[Editor]]></category>
		<category><![CDATA[nbm]]></category>
		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://anchialas.wordpress.com/?p=87</guid>
		<description><![CDATA[This is a minor update of the CoolEditorActions NetBeans Plugin and includes the following changes: New and noteworthy in V1.1.19 Update Center integration Added new actions to the Project folder sub menu: The &#8220;Open in System&#8221; behavior can be configured in the new Options Panel: The NetBeans Default implementation of &#8220;Open in System&#8221; depends on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=87&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a minor update of the CoolEditorActions NetBeans Plugin and includes the following changes:</p>
<p><strong>New and noteworthy in V1.1.19</strong></p>
<ul>
<li>Update Center integration</li>
<li>Added new actions to the Project folder sub menu:<br />
<a href="http://anchialas.files.wordpress.com/2012/02/filecontextaction-popup-osx-v1-1-191.png"><img class="aligncenter size-full wp-image-90" title="FileContextAction-Popup-OSX-V1.1.19" src="http://anchialas.files.wordpress.com/2012/02/filecontextaction-popup-osx-v1-1-191.png?w=600" alt="CoolEditorActions Popup Menu"   /></a></li>
<li>The &#8220;Open in System&#8221; behavior can be configured in the new Options Panel:<br />
<a href="http://anchialas.files.wordpress.com/2012/02/optionspanel-osx-v1-1-19.png"><img class="aligncenter size-full wp-image-91" title="OptionsPanel-OSX-V1.1.19" src="http://anchialas.files.wordpress.com/2012/02/optionspanel-osx-v1-1-19.png?w=600&h=438" alt="" width="600" height="438" /></a></li>
<li>The NetBeans Default implementation of &#8220;Open in System&#8221; depends on the Java Desktop API. On the SunOS and Linux Platforms, this API is dependent on Gnome libraries. If those libraries are unavailable, the Desktop API is not available. But now you can define <strong>Custom Commands for opening files and folders</strong>! The Command of the general File Type &#8220;file&#8221; is used if no special command is set to the specific MIME Type of a file.<br />
<a href="http://anchialas.files.wordpress.com/2012/02/optionspanel-ubuntu-v1-1-19.png"><img class="aligncenter size-full wp-image-92" title="OptionsPanel-Ubuntu-V1.1.19" src="http://anchialas.files.wordpress.com/2012/02/optionspanel-ubuntu-v1-1-19.png?w=600&h=515" alt="" width="600" height="515" /></a></li>
</ul>
<p>The Plugin is compatible with NetBeans 7.1 and can be downloaded from here:</p>
<ul>
<li><a href="http://kenai.com/projects/nbcooleditoractions/downloads">Kenai Project</a></li>
<li><a title="Plugin Portal" href="http://plugins.netbeans.org/plugin/39634">Plugin Portal @ netbeans.org</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anchialas.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anchialas.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anchialas.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anchialas.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anchialas.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anchialas.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anchialas.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anchialas.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anchialas.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anchialas.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anchialas.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anchialas.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anchialas.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anchialas.wordpress.com/87/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=87&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anchialas.wordpress.com/2012/02/06/cooleditoractions-v1-1-19-released/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71768a3a3b2cd519bc43d8893c271851?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anchialas</media:title>
		</media:content>

		<media:content url="http://anchialas.files.wordpress.com/2012/02/filecontextaction-popup-osx-v1-1-191.png" medium="image">
			<media:title type="html">FileContextAction-Popup-OSX-V1.1.19</media:title>
		</media:content>

		<media:content url="http://anchialas.files.wordpress.com/2012/02/optionspanel-osx-v1-1-19.png" medium="image">
			<media:title type="html">OptionsPanel-OSX-V1.1.19</media:title>
		</media:content>

		<media:content url="http://anchialas.files.wordpress.com/2012/02/optionspanel-ubuntu-v1-1-19.png" medium="image">
			<media:title type="html">OptionsPanel-Ubuntu-V1.1.19</media:title>
		</media:content>
	</item>
		<item>
		<title>CoolEditorActions V1.0.5 released</title>
		<link>http://anchialas.wordpress.com/2012/01/16/cooleditoractions-v1-0-5-released/</link>
		<comments>http://anchialas.wordpress.com/2012/01/16/cooleditoractions-v1-0-5-released/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 20:55:09 +0000</pubDate>
		<dc:creator>anchialas</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Action]]></category>
		<category><![CDATA[Editor]]></category>
		<category><![CDATA[nbm]]></category>
		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://anchialas.wordpress.com/?p=80</guid>
		<description><![CDATA[I&#8217;ve been updated my CoolEditorActions NetBeans Plugin which is now compatible with NetBeans 7.1. Other improvements: The Button&#8217;s Popup Menu is lazy loaded Improved Open &#38; Select Project action Added Close Project action minor bug fixes The Plugin can be downloaded from here: Kenai Project Plugin Portal @ netbeans.org<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=80&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been updated my <strong>CoolEditorActions</strong> NetBeans Plugin which is now compatible with NetBeans 7.1.</p>
<p>Other improvements:</p>
<ul>
<li>The Button&#8217;s Popup Menu is lazy loaded</li>
<li>Improved Open &amp; Select Project action</li>
<li>Added Close Project action</li>
<li>minor bug fixes</li>
</ul>
<p>The Plugin can be downloaded from here:</p>
<ul>
<li><a href="http://kenai.com/projects/nbcooleditoractions">Kenai Project</a></li>
<li><a title="Plugin Portal" href="http://plugins.netbeans.org/plugin/39634">Plugin Portal @ netbeans.org</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anchialas.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anchialas.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anchialas.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anchialas.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anchialas.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anchialas.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anchialas.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anchialas.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anchialas.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anchialas.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anchialas.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anchialas.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anchialas.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anchialas.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=80&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anchialas.wordpress.com/2012/01/16/cooleditoractions-v1-0-5-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71768a3a3b2cd519bc43d8893c271851?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anchialas</media:title>
		</media:content>
	</item>
		<item>
		<title>New plugin CoolEditorActions released</title>
		<link>http://anchialas.wordpress.com/2011/07/21/new-plugin-cooleditoractions-released/</link>
		<comments>http://anchialas.wordpress.com/2011/07/21/new-plugin-cooleditoractions-released/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 14:49:00 +0000</pubDate>
		<dc:creator>anchialas</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Action]]></category>
		<category><![CDATA[Editor]]></category>
		<category><![CDATA[nbm]]></category>
		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://anchialas.wordpress.com/?p=73</guid>
		<description><![CDATA[Today I released the first version of the CoolEditorActions NetBeans plugin. This plugin adds a drop down button to the editor&#8217;s toolbar. From the popup menu, some useful actions are available for all the file path objects: The plugin can be downloaded from the Kenai Project site. Feel free to write me some feedback! I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=73&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I released the first version of the <strong>CoolEditorActions</strong> NetBeans plugin. This plugin adds a drop down button to the editor&#8217;s toolbar. From the popup menu, some useful actions are available for all the file path objects:</p>
<p><a href="http://anchialas.files.wordpress.com/2011/07/filecontextaction-popup.png"><img class="aligncenter size-full wp-image-76" title="CoolEditorAction's Popup Menu" src="http://anchialas.files.wordpress.com/2011/07/filecontextaction-popup.png?w=600&h=342" alt="" width="600" height="342" /></a></p>
<p>The plugin can be downloaded from the <a title="Kenai Project site" href="http://kenai.com/projects/nbcooleditoractions" target="_blank">Kenai Project</a> site. Feel free to write me some feedback!</p>
<p>I will submit this plugin in the next few days also to the NetBeans Plugin Portal.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anchialas.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anchialas.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anchialas.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anchialas.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anchialas.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anchialas.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anchialas.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anchialas.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anchialas.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anchialas.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anchialas.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anchialas.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anchialas.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anchialas.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=73&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anchialas.wordpress.com/2011/07/21/new-plugin-cooleditoractions-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71768a3a3b2cd519bc43d8893c271851?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anchialas</media:title>
		</media:content>

		<media:content url="http://anchialas.files.wordpress.com/2011/07/filecontextaction-popup.png" medium="image">
			<media:title type="html">CoolEditorAction&#039;s Popup Menu</media:title>
		</media:content>
	</item>
		<item>
		<title>Dynamically show/hide individual toolbars</title>
		<link>http://anchialas.wordpress.com/2010/12/20/dynamically-showhide-individual-toolbars/</link>
		<comments>http://anchialas.wordpress.com/2010/12/20/dynamically-showhide-individual-toolbars/#comments</comments>
		<pubDate>Mon, 20 Dec 2010 15:36:15 +0000</pubDate>
		<dc:creator>anchialas</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[NB Platform]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[layer.xml]]></category>
		<category><![CDATA[Toolbar]]></category>

		<guid isPermaLink="false">http://anchialas.wordpress.com/?p=56</guid>
		<description><![CDATA[In NetBeans you can define your own toolbar configurations (a set of visible/invisible toolbars). DevFaqHideShowToolbar shows you how you can activate a specific toolbar configuration at runtime. But how can I show an individual toolbar dynamically? For example, to show/hide certain toolbar(s) by the visibility of a TopComponent. An explicit Toolbar API isn&#8217;t available in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=56&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In NetBeans you can define your <a href="/2010/08/19/custom-toolbar-configuration/">own toolbar configurations</a> (a set of visible/invisible toolbars). <a href="http://wiki.netbeans.org/DevFaqHideShowToolbar">DevFaqHideShowToolbar</a> shows you how you can activate a specific <strong>toolbar configuration</strong> at runtime. <strong>But how can I show an individual toolbar dynamically?</strong> For example, to show/hide certain toolbar(s) by the visibility of a TopComponent.</p>
<p>An explicit Toolbar API isn&#8217;t available in the NetBeans Platform. The class <code>org.openide.awt.ToolbarPool</code> is used to install and update the configured toolbars. With the constructor <code>public ToolbarPool(DataFolder df)</code> an own toolbar configuration at the specified location in the layer.xml (DataFolder) can be created.</p>
<p>But I don&#8217;t want create a new toolbar configuration for each TopComponent who should have their own toolbars. The idea is:</p>
<ol>
<li>Declare the toolbar for the TopComponent at a certain location (!= Toolbars/) in the module&#8217;s layer.xml</li>
<li>Register the toolbar in the active toolbar configuration</li>
<li>show the toolbar on <code>TopComponent#componentOpened()</code></li>
<li>hide the toolbar on <code>TopComponent#componentClosed()</code></li>
</ol>
<p>All these steps should be performed dynamically at runtime. How can I achieve this? Let&#8217;s go ahead&#8230;</p>
<p><strong>Declare the toolbar</strong><br />
<pre class="brush: xml;">
&lt;!-- file: layer.xml --&gt;
&lt;filesystem&gt;
   ...
   &lt;folder name=&quot;MyModule&quot;&gt;
      &lt;folder name=&quot;Toolbars&quot;&gt;
         &lt;folder name=&quot;MyToolbar&quot;&gt;
            &lt;attr name=&quot;displayName&quot; stringvalue=&quot;My Toolbar&quot; /&gt;
            &lt;file name=&quot;my-action-1.instance&quot;&gt;
               ...
            &lt;/file&gt;
         &lt;/folder&gt;
      &lt;/folder&gt;
   &lt;/folder&gt;
&lt;/filesystem&gt;
</pre></p>
<p><strong>Register the toolbar in the active toolbar configuration</strong><br />
Using a shadow entry any custom toolbar is registered once in the default toolbar pool (at <code>Toolbars/</code>):<br />
<pre class="brush: java;">
public static boolean registerToolbar(String toolbarConfigPath) {
   try {
      FileObject fo = FileUtil.getConfigFile(toolbarConfigPath);
      if (fo == null) {
         return false;
      }
      DataFolder df = DataFolder.findFolder(fo);
      DataFolder target = ToolbarPool.getDefault().getFolder();
      FileObject targetFO = target.getPrimaryFile().getFileObject(fo.getNameExt() + &quot;.shadow&quot;);

      if (df != null &amp;&amp; targetFO == null) {
         DataShadow ds = df.createShadow(target);
         return true;
      }
   } catch (IOException ex) {
      Exceptions.printStackTrace(ex);
   }
   return false;
}
</pre></p>
<p><strong>Show/hide the toolbar</strong><br />
For programatically hide and show a toolbar you can write:<br />
<pre class="brush: java;">
Toolbar toolbar = ToolbarPool.getDefault().findToolbar(&quot;MyToolbar&quot;);
toolbar.getParent().setVisible(false);
</pre><br />
The drawback is that the visible state of the toolbar will not be propagated to the toolbar context menu actions. </p>
<p>After debugging I found this solution (or hack):<br />
<pre class="brush: java;">
public static void setToolbarVisible(Toolbar toolbar, boolean visible) {
   try {
      ClassLoader cl = Lookup.getDefault().lookup(ClassLoader.class);
      Class cToolbarConfiguration = cl.loadClass(&quot;org.netbeans.core.windows.view.ui.toolbars.ToolbarConfiguration&quot;);
      // invoke static ToolbarConfiguration.findConfiguration( String name)
      Object toolbarConfig = cToolbarConfiguration.getMethod(&quot;findConfiguration&quot;, String.class).
              invoke(cToolbarConfiguration, &quot;Standard&quot;);
      // invoke ToolbarConfiguration#setToolbarVisible( Toolbar tb, boolean visible)
      toolbarConfig.getClass().getMethod(&quot;setToolbarVisible&quot;, Toolbar.class, boolean.class).invoke(toolbarConfig, toolbar, visible);
   } catch (Exception ex) {
      throw new IllegalArgumentException(ex);
   }
}
</pre></p>
<p>Link the toolbar together with the TopComponent&#8217;s visibility state (simplified):<br />
<pre class="brush: java;">
String toolbarName = &quot;MyToolbar&quot;;

public final void componentOpened() {
   ToolbarUtil.registerToolbar(&quot;MyModule/Toolbars/&quot; + toolbarName);
   ToolbarUtil.setToolbarVisible(toolbarName, true);
}

public final void componentClosed() {
  ToolbarUtil.setToolbarVisible(toolbarName, false);
}
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anchialas.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anchialas.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anchialas.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anchialas.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anchialas.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anchialas.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anchialas.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anchialas.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anchialas.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anchialas.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anchialas.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anchialas.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anchialas.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anchialas.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=56&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anchialas.wordpress.com/2010/12/20/dynamically-showhide-individual-toolbars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71768a3a3b2cd519bc43d8893c271851?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anchialas</media:title>
		</media:content>
	</item>
		<item>
		<title>StatusLine in menu bar</title>
		<link>http://anchialas.wordpress.com/2010/11/18/statusline-in-menu-bar/</link>
		<comments>http://anchialas.wordpress.com/2010/11/18/statusline-in-menu-bar/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 15:29:07 +0000</pubDate>
		<dc:creator>anchialas</dc:creator>
				<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://anchialas.wordpress.com/?p=34</guid>
		<description><![CDATA[With a simple NetBeans startup parameter the StatusLine can be placed in the menu bar: add the property to the NetBeans configuration file installRoot/etc/netbeans.conf: Don&#8217;t forget to add -J-D before the property name! See also FaqNetbeansConf<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=34&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>With a simple NetBeans startup parameter the <strong>StatusLine can be placed in the menu bar</strong>: add the property<br />
<pre class="brush: java;">
netbeans.winsys.statusLine.in.menuBar=true
</pre><br />
to the NetBeans configuration file <code><em>installRoot</em>/etc/netbeans.conf</code>:</p>
<p><pre class="brush: jscript;">
# Options used by NetBeans launcher by default, can be overridden by explicit
# command line switches:
netbeans_default_options=&quot;-J-client -J-Xss2m -J-Xms32m -J-Xmx1500m -J-XX:PermSize=32m -J-XX:MaxPermSize=400m -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -J-Dnetbeans.winsys.statusLine.in.menuBar=true&quot;
</pre></p>
<p><a href="http://anchialas.files.wordpress.com/2010/11/statuslineinmenubar.png"><img src="http://anchialas.files.wordpress.com/2010/11/statuslineinmenubar.png?w=300&h=230" alt="" title="StatusLine in menu bar" width="300" height="230" class="aligncenter size-medium wp-image-52" /></a></p>
<p>Don&#8217;t forget to add <strong>-J-D</strong> before the property name!</p>
<p>See also <a href="http://wiki.netbeans.org/FaqNetbeansConf">FaqNetbeansConf</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anchialas.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anchialas.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anchialas.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anchialas.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anchialas.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anchialas.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anchialas.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anchialas.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anchialas.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anchialas.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anchialas.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anchialas.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anchialas.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anchialas.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=34&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anchialas.wordpress.com/2010/11/18/statusline-in-menu-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71768a3a3b2cd519bc43d8893c271851?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anchialas</media:title>
		</media:content>

		<media:content url="http://anchialas.files.wordpress.com/2010/11/statuslineinmenubar.png?w=300" medium="image">
			<media:title type="html">StatusLine in menu bar</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple Validation API &amp; DialogDescriptor</title>
		<link>http://anchialas.wordpress.com/2010/09/02/simple-validation-api-dialogdescriptor/</link>
		<comments>http://anchialas.wordpress.com/2010/09/02/simple-validation-api-dialogdescriptor/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 12:54:49 +0000</pubDate>
		<dc:creator>anchialas</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[NB Platform]]></category>
		<category><![CDATA[NetBeans]]></category>
		<category><![CDATA[DialogDescriptor]]></category>
		<category><![CDATA[Simple Validation API]]></category>

		<guid isPermaLink="false">http://anchialas.wordpress.com/?p=24</guid>
		<description><![CDATA[This post shows you how the Simple Validation API (HowTo, Project@Kenai) can be used together with a NetBeans Platform standard dialog (using a DialogDescriptor). The Simple Validation API gives you a convenience method to show a dialog like (excerpt from the BasicDemo): To use a standard NetBeans Platform dialog, the sample above can be replaced with:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=24&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post shows you how the Simple Validation API (<a href="http://netbeans.dzone.com/news/how-quickly-add-validation" target="_blank">HowTo</a>, <a href="http://kenai.com/projects/simplevalidation/pages/Home" target="_blank">Project@Kenai</a>) can be used together with a NetBeans Platform standard dialog (using a <code>DialogDescriptor</code>).</p>
<p>The Simple Validation API gives you a convenience method to show a dialog like (excerpt from the BasicDemo):</p>
<p><pre class="brush: java;">
JPanel panel = new JPanel();
... // setup panel

ValidationPanel vp = new ValidationPanel();
vp.setInnerComponent(panel);
... // setup validation

// Convenience method to show a simple dialog
if (vp.showOkCancelDialog(&quot;URL&quot;)) {
   System.exit(0);
} else {
   System.exit(1);
}
</pre></p>
<p>To use a standard NetBeans Platform dialog, the sample above can be replaced with:<br />
<pre class="brush: java;">
... // as above
DialogDescriptor dd = ValidationUtil.createDialogDescriptor(vp, panel, &quot;URL&quot;);
Object ret = DialogDisplayer.getDefault().notify(dd);
if (DialogDescriptor.OK_OPTION.equals(ret)) {
   System.exit(0);
} else {
   System.exit(1);
}
</pre></p>
<p><pre class="brush: java;">
public class ValidationUtil {

   private ValidationUtil() {
      // default constructor suppressed for non-instantiability
   }

   public static DialogDescriptor createDialogDescriptor(ValidationPanel vp, Object innerPane, String title) {
      final DialogDescriptor dd = new DialogDescriptor(innerPane, title);

      ValidationUI okButtonEnabler = new ValidationUI() {
         private NotificationLineSupport nls = dd.createNotificationLineSupport();

         public void showProblem(Problem problem) {
            if (problem != null) {
               switch (problem.severity()) {
                  case FATAL:
                     nls.setErrorMessage(problem.getMessage());
                     dd.setValid(false);
                     break;
                  case WARNING:
                     nls.setWarningMessage(problem.getMessage());
                     dd.setValid(true);
                     break;
                  default:
                     nls.setInformationMessage(problem.getMessage());
                     dd.setValid(true);
               }
            } else {
               nls.clearMessages();
               dd.setValid(true);
            }
         }

         public void clearProblem() {
            showProblem(null);
         }
      };

      vp.getValidationGroup().addUI(okButtonEnabler);
      vp.getValidationGroup().performValidation();
      return dd;
   }
}
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anchialas.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anchialas.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anchialas.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anchialas.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anchialas.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anchialas.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anchialas.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anchialas.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anchialas.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anchialas.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anchialas.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anchialas.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anchialas.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anchialas.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anchialas.wordpress.com&#038;blog=15294763&#038;post=24&#038;subd=anchialas&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anchialas.wordpress.com/2010/09/02/simple-validation-api-dialogdescriptor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/71768a3a3b2cd519bc43d8893c271851?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anchialas</media:title>
		</media:content>
	</item>
	</channel>
</rss>
