<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-654960083803362729</id><updated>2011-11-27T16:20:17.210-08:00</updated><title type='text'>Netbeans6/6.5 my best practices</title><subtitle type='html'>My Netbeans6 and 6.5 best practices</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-6875072921714450680</id><published>2009-08-30T21:51:00.000-07:00</published><updated>2009-08-30T21:57:11.886-07:00</updated><title type='text'>A potential connection leak detected for connection pool</title><content type='html'>&lt;strong&gt;i got followwing exception in Sun Java System Application Server (GlassFish) &lt;/strong&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-family:times new roman;"&gt;A potential connection leak detected for connection pool . The stack trace of the thread is provided below :com.sun.enterprise.resource.AbstractResourcePool.startConnectionLeakTracing(AbstractResourcePool.java:310)com.sun.enterprise.resource.AbstractResourcePool.setResourceStateToBusy(AbstractResourcePool.java:301)com.sun.enterprise.resource.AbstractResourcePool.getResourceFromPool(AbstractResourcePool.java:778)com.sun.enterprise.resource.AbstractResourcePool.getUnenlistedResource(AbstractResourcePool.java:652)com.sun.enterprise.resource.AbstractResourcePool.internalGetResource(AbstractResourcePool.java:594)com.sun.enterprise.resource.AbstractResourcePool.getResource(AbstractResourcePool.java:443)com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:248)com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:176)com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:327)com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:235)&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;&lt;strong&gt;i overcome this with by following changes in Connection Pool settings&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_5eZDZgRT0J4/SptXxjoGDiI/AAAAAAAABgw/rQX8FzKLZ3I/s1600-h/see.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5375987089085435426" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: hand; HEIGHT: 308px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_5eZDZgRT0J4/SptXxjoGDiI/AAAAAAAABgw/rQX8FzKLZ3I/s400/see.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;a href="http://3.bp.blogspot.com/_5eZDZgRT0J4/SptXhnirTeI/AAAAAAAABgo/glYYwcdxlm0/s1600-h/see.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-6875072921714450680?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/6875072921714450680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=6875072921714450680' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/6875072921714450680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/6875072921714450680'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2009/08/potential-connection-leak-detected-for.html' title='A potential connection leak detected for connection pool'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_5eZDZgRT0J4/SptXxjoGDiI/AAAAAAAABgw/rQX8FzKLZ3I/s72-c/see.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-8983459505444675858</id><published>2009-04-20T23:04:00.000-07:00</published><updated>2009-04-20T23:08:06.198-07:00</updated><title type='text'>Does NetBeans 6.5 have problems with spaces??</title><content type='html'>&lt;span style="font-size:130%;"&gt;John O'Conner's Blog says in his blog in weblogs.java.net:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;"&lt;em&gt;It turns out that we have several projects named with spaces. For example, one project is Tag Server, and another is Agent Registry. Why spaces? Well, the original project was developed using Eclipse, and well...no one told the team that they shouldn't use spaces. So they did, Eclipse doesn't mind, and.... that's the current situation.&lt;br /&gt;I was really encouraged when I found out that NetBeans 6.5 has an Eclipse project importer. It slurped in our Eclipse workspace and projects in what appeared to be just an easy, casual task. It looked fine at first glance. I beamed with pride. My NetBeans was doing so well..."&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;but one of viewer is saying :&lt;br /&gt;&lt;br /&gt;"&lt;em&gt;After reading this post I created a test eclipse workspace like "D:\My Test Workspace" and Created a Project named "Test Project" both the names have spaces. I then imported this eclipse workspace project into NetBeans. This project worked fine in my NetBeans IDE 6.5 installation...&lt;/em&gt;"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Who is correct? i need your comments..&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-8983459505444675858?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/8983459505444675858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=8983459505444675858' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/8983459505444675858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/8983459505444675858'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2009/04/does-netbeans-65-have-problems-with.html' title='Does NetBeans 6.5 have problems with spaces??'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-7489350984378401644</id><published>2009-04-16T19:49:00.000-07:00</published><updated>2009-04-16T21:05:48.101-07:00</updated><title type='text'>Found good site for java developers</title><content type='html'>&lt;a href="http://seguide.blogspot.com/"&gt;http://seguide.blogspot.com/&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-7489350984378401644?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/7489350984378401644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=7489350984378401644' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/7489350984378401644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/7489350984378401644'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2009/04/found-good-site-for-java-developers.html' title='Found good site for java developers'/><author><name>Sujith Delpachithra</name><uri>http://www.blogger.com/profile/08076836689428250433</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_aIcgdvHCLJQ/St08wND1WDI/AAAAAAAAAEE/N8ZYRMhAqtc/S220/19102009055.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-1365539685095650467</id><published>2008-07-07T03:38:00.000-07:00</published><updated>2008-12-10T23:31:30.683-08:00</updated><title type='text'>Struts 1.2 validator framework tutorial</title><content type='html'>Hey guys I search for this topic but i couln't find a simple tutorial for this topic.&lt;br /&gt;&lt;br /&gt;so i thought to post what i know on this...&lt;br /&gt;&lt;br /&gt;i recomend u to practice &lt;a href="http://www.netbeans.org/kb/60/web/quickstart-webapps-struts.html"&gt;Struts basics tutorial &lt;/a&gt;on  before this&lt;a href="http://www.netbeans.org/kb/60/web/quickstart-webapps-struts.html"&gt; Netbeans official site&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;1. new project&gt;web&gt;web application&lt;br /&gt;2.struts1.2.9&lt;br /&gt;3.new JSP&gt;anyname&lt;br /&gt;i named mine as 'sampleJSP.jsp'&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_5eZDZgRT0J4/SHHzcslJHWI/AAAAAAAAASU/XfR-ozKtBWo/s1600-h/sampleJSP.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_5eZDZgRT0J4/SHHzcslJHWI/AAAAAAAAASU/XfR-ozKtBWo/s320/sampleJSP.JPG" alt="" id="BLOGGER_PHOTO_ID_5220221117427948898" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4.add html taglib&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;%@ taglib uri="/WEB-INF/struts-html.tld" prefix="h" %&gt;&lt;/blockquote&gt;&lt;br /&gt;5.        Add a form tag to JSP using tag lib&lt;h:form action="name" onsubmit=""&gt;&lt;br /&gt;&lt;/h:form&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt; action=" " onsubmit=" "&gt;&lt;br /&gt;&lt; property="name"&gt;&lt;br /&gt;&lt; value="OK"&gt;&lt;br /&gt;&lt; / html:form&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;h:text property="name"&gt;           &lt;h:submit value="  OK  "&gt;6.Create New StrutsActionForm&lt;br /&gt;*important:    superclass should be org.apache.struts.validator.ValidatorForm&lt;br /&gt;&lt;/h:submit&gt;&lt;/h:text&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_5eZDZgRT0J4/SHH29s2OADI/AAAAAAAAASc/nJv_ZWjUVTM/s1600-h/form.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_5eZDZgRT0J4/SHH29s2OADI/AAAAAAAAASc/nJv_ZWjUVTM/s400/form.JPG" alt="" id="BLOGGER_PHOTO_ID_5220224982970138674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;7. Make getters and setters for text field in JSP&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_5eZDZgRT0J4/SHH4hWpq-2I/AAAAAAAAAS0/-XwI1_oCLdA/s1600-h/form2.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_5eZDZgRT0J4/SHH4hWpq-2I/AAAAAAAAAS0/-XwI1_oCLdA/s400/form2.JPG" alt="" id="BLOGGER_PHOTO_ID_5220226694998850402" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;(if u create a propety called 'name' you dont need to do this, bcoz&lt;br /&gt;Netbeans defaultly create for String 'name and int 'number'&lt;br /&gt;&lt;h:text property="name"&gt;&lt;h:submit value="  OK  "&gt;8.&lt;/h:submit&gt;&lt;/h:text&gt;Create New &lt;h:text property="name"&gt;&lt;h:submit value="  OK  "&gt;StrutsAction&lt;br /&gt;&lt;/h:submit&gt;&lt;/h:text&gt;*important: &lt;h:text property="name"&gt;&lt;h:submit value="  OK  "&gt;Action path should be same as JSP forms action&lt;br /&gt;(the Action path you give here can give in JSP)&lt;br /&gt;&lt;/h:submit&gt;&lt;/h:text&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_5eZDZgRT0J4/SHH3kTngozI/AAAAAAAAASk/vmpKJGQVkIQ/s1600-h/action.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_5eZDZgRT0J4/SHH3kTngozI/AAAAAAAAASk/vmpKJGQVkIQ/s400/action.JPG" alt="" id="BLOGGER_PHOTO_ID_5220225646212457266" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_5eZDZgRT0J4/SHH3khX5Y6I/AAAAAAAAASs/ZvYyxBFPyG4/s1600-h/action2.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_5eZDZgRT0J4/SHH3khX5Y6I/AAAAAAAAASs/ZvYyxBFPyG4/s400/action2.JPG" alt="" id="BLOGGER_PHOTO_ID_5220225649905066914" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;h:text property="name"&gt;&lt;h:submit value="  OK  "&gt;9.edit validation.xml&lt;br /&gt;&lt;/h:submit&gt;&lt;/h:text&gt;&lt;field property="name" depends="required"&gt;&lt;/field&gt;&lt;br /&gt;&lt;form name="NameForm"&gt;   &lt; name="NameForm"&gt;&lt;br /&gt;  &lt; property="name" depends="required"&gt;&lt;br /&gt;          &lt; key="NameForm.name"&gt;&lt;br /&gt;  &lt; /field&gt;&lt;br /&gt;&lt;br /&gt;&lt; /form&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_5eZDZgRT0J4/SHH5ZLINndI/AAAAAAAAAS8/XAFhkuyh4MY/s1600-h/validationxml.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_5eZDZgRT0J4/SHH5ZLINndI/AAAAAAAAAS8/XAFhkuyh4MY/s400/validationxml.jpg" alt="" id="BLOGGER_PHOTO_ID_5220227653978398162" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;10.add 'NameForm.name' to properties file&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_5eZDZgRT0J4/SHH5oHaKCII/AAAAAAAAATE/dmAOYWpZTaU/s1600-h/properties.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_5eZDZgRT0J4/SHH5oHaKCII/AAAAAAAAATE/dmAOYWpZTaU/s400/properties.JPG" alt="" id="BLOGGER_PHOTO_ID_5220227910677956738" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;11.Add these to JSP page&lt;br /&gt;&lt; formname="NameForm"&gt;&lt;br /&gt;&lt; /head&gt;&lt;br /&gt;&lt;br /&gt;&lt; action="name" onsubmit="return validatenameForm(this);"&gt;&lt;br /&gt;&lt;br /&gt;12. Add Server side validation to work in browsers where javascript doesn't work&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;  html:errors/&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;h:javascript formname="NameForm"&gt;Final view of sampleJSP...&lt;br /&gt;&lt;br /&gt;&lt;/h:javascript&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_5eZDZgRT0J4/SHH57NEGMnI/AAAAAAAAATM/Kp0KuS__4D8/s1600-h/sampleJSPatEnd.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_5eZDZgRT0J4/SHH57NEGMnI/AAAAAAAAATM/Kp0KuS__4D8/s400/sampleJSPatEnd.JPG" alt="" id="BLOGGER_PHOTO_ID_5220228238613557874" border="0" /&gt;&lt;/a&gt;12. Now run your application&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_5eZDZgRT0J4/SHH6emOcu8I/AAAAAAAAATU/qlks-3I2G9U/s1600-h/final.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_5eZDZgRT0J4/SHH6emOcu8I/AAAAAAAAATU/qlks-3I2G9U/s400/final.JPG" alt="" id="BLOGGER_PHOTO_ID_5220228846663285698" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;try it and comment plz...&lt;br /&gt;&lt;h:javascript formname="NameForm"&gt;&lt;h:form action="name" onsubmit="return validatenameForm(this);"&gt;&lt;br /&gt;&lt;/h:form&gt;&lt;/h:javascript&gt;&lt;/form&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-1365539685095650467?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/1365539685095650467/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=1365539685095650467' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/1365539685095650467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/1365539685095650467'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2008/07/struts-12-validator-framework-tutorial.html' title='Struts 1.2 validator framework tutorial'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_5eZDZgRT0J4/SHHzcslJHWI/AAAAAAAAASU/XfR-ozKtBWo/s72-c/sampleJSP.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-3645503609408951440</id><published>2008-04-07T22:43:00.000-07:00</published><updated>2008-04-07T22:53:51.608-07:00</updated><title type='text'>"Shared Library" functionality in NetBeans 6.1 beta</title><content type='html'>In new NetBeans 6.1-beta When creating a project you now get the offer to enable "sharable&lt;br /&gt;&lt;br /&gt;libraries".&lt;br /&gt;When enabling this feature you are asked to specify the location where the libraries should be&lt;br /&gt;&lt;br /&gt;saved. By default it will suggest ..\libraries, which is a bit strange considering that it is&lt;br /&gt;&lt;br /&gt;outside the project folder.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-3645503609408951440?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/3645503609408951440/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=3645503609408951440' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/3645503609408951440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/3645503609408951440'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2008/04/shared-library-functionality-in.html' title='&quot;Shared Library&quot; functionality in NetBeans 6.1 beta'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-2252907377374393529</id><published>2008-04-07T22:38:00.000-07:00</published><updated>2008-04-07T22:43:08.080-07:00</updated><title type='text'>NetBeans Day 2008</title><content type='html'>&lt;img style="width: 250px; height: 165px;" alt="NetBeans Day San Francisco 2008" src="http://www.netbeans.org/images/javaone/2008/nbday08_logo.gif" align="right" /&gt;          &lt;a name="whatisit"&gt;&lt;/a&gt; &lt;span style="font-weight: bold;"&gt;at the CommunityOne Conference&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;      &lt;span style="font-weight: bold;"&gt;Monday, May 5, 2008&lt;/span&gt;&lt;br /&gt;9:30 am - 6:00 pm&lt;br /&gt;      &lt;span style="font-weight: bold;"&gt;&lt;a href="http://www.moscone.com/"&gt;&lt;b&gt;Moscone Center&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; San Francisco, California&lt;/span&gt;&lt;br /&gt;      &lt;span style="font-weight: bold;"&gt;&lt;a href="http://www.cplan.com/sun/communityone2008/registration/"&gt;&lt;b&gt;Register now&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-2252907377374393529?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/2252907377374393529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=2252907377374393529' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/2252907377374393529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/2252907377374393529'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2008/04/netbeans-day-2008.html' title='NetBeans Day 2008'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-306309355105604730</id><published>2008-04-02T03:24:00.000-07:00</published><updated>2008-12-10T23:31:30.855-08:00</updated><title type='text'>Little NetBeans IDE 6.1 Beta</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_5eZDZgRT0J4/R_Ng2Orur_I/AAAAAAAAAIU/bIRTni70s9U/s1600-h/ntb6.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_5eZDZgRT0J4/R_Ng2Orur_I/AAAAAAAAAIU/bIRTni70s9U/s400/ntb6.png" alt="" id="BLOGGER_PHOTO_ID_5184594080804286450" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The NetBeans IDE is a modular, standards-based, integrated development environment (IDE) written in the Java programming language. The NetBeans project consists of an open source IDE and an application platform, which can be used as a generic framework to build any kind of application.&lt;br /&gt;&lt;br /&gt;Noticed Favorite Features....&lt;br /&gt;&lt;br /&gt;  *  &lt;a href="http://www.netbeans.org/kb/61/ide/javascript-editor.html"&gt;JavaScrip&lt;/a&gt;t;&lt;br /&gt;&lt;br /&gt;        o Semantic Highlighting&lt;br /&gt;&lt;br /&gt;        o Code Completion and Type Analysis&lt;br /&gt;&lt;a href="http://www.netbeans.org/kb/61/ide/javascript-editor.html"&gt;tutorial &lt;/a&gt;on official site&lt;br /&gt;&lt;br /&gt;  * Performance Enhancements;&lt;br /&gt;&lt;br /&gt;        o Up to 40% faster startup&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  * New MySQL Support in Database Explorer&lt;br /&gt;&lt;br /&gt;        o Register MySQL servers&lt;br /&gt;&lt;br /&gt;        o View, create, and delete databases&lt;br /&gt;&lt;br /&gt;        o Easy launch of the administration tool for MySQL&lt;br /&gt;&lt;br /&gt;  * Java Beans;&lt;br /&gt;&lt;br /&gt;        o Bean Patterns in Navigator&lt;br /&gt;&lt;br /&gt;        o Generate Bean Property&lt;br /&gt;&lt;br /&gt;        o BeanInfo Editor&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-306309355105604730?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/306309355105604730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=306309355105604730' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/306309355105604730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/306309355105604730'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2008/04/little-netbeans-ide-61-beta.html' title='Little NetBeans IDE 6.1 Beta'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_5eZDZgRT0J4/R_Ng2Orur_I/AAAAAAAAAIU/bIRTni70s9U/s72-c/ntb6.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-1810838793447743357</id><published>2008-03-06T03:02:00.000-08:00</published><updated>2008-05-02T01:51:17.143-07:00</updated><title type='text'>Setting up a JDBC Connection Pool</title><content type='html'>In order to specify how the web server allows an application to communicate with the             database, we need to set up a &lt;em&gt;database connection pool&lt;/em&gt;. A database connection             pool is basically a group of reusable connections that a server maintains for a specific             database. Web applications requesting a connection to a database obtain that connection             from the pool. When an application closes a connection, the connection is returned to             the pool.          &lt;p&gt;In order to set up a connection pool on the server, a &lt;em&gt;JDBC resource&lt;/em&gt; (also called             a data source) must first be created. A JDBC resource provides applications with a connection             to a database. Depending on whether you're using Tomcat or SJSAS, do the following:&lt;/p&gt;&lt;br /&gt;see &lt;a href="http://www.netbeans.org/kb/60/web/mysql-webapp.html#settingUpConnPool"&gt;more here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-1810838793447743357?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/1810838793447743357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=1810838793447743357' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/1810838793447743357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/1810838793447743357'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2008/03/setting-up-jdbc-connection-pool.html' title='Setting up a JDBC Connection Pool'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-5124376981072320129</id><published>2008-03-06T02:28:00.000-08:00</published><updated>2008-03-06T02:37:44.965-08:00</updated><title type='text'>How to RENAME a Java package...</title><content type='html'>if the 'package' statement at the top needs to change..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1.Projects &gt; Source Packages &gt; (Expand)&lt;br /&gt;2.Right-click &gt; Refactor &gt; Rename&lt;br /&gt;3.window&lt;br /&gt;    new name-new package name&lt;br /&gt;    comments&lt;br /&gt;4.Next &gt; Refactor&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-5124376981072320129?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/5124376981072320129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=5124376981072320129' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/5124376981072320129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/5124376981072320129'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2008/03/how-to-rename-java-package.html' title='How to RENAME a Java package...'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-3087358841699052793</id><published>2008-03-05T19:32:00.000-08:00</published><updated>2008-12-10T23:31:31.405-08:00</updated><title type='text'>Creating a connection to a Database:</title><content type='html'>1.  In the Services window choose 'Connect Using' from the right-click menu of the driver you just added. The New Database Connection dialog opens. see.....&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_5eZDZgRT0J4/R89pLMoeoHI/AAAAAAAAADU/VuTIEgKFt94/s1600-h/connectUsin.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_5eZDZgRT0J4/R89pLMoeoHI/AAAAAAAAADU/VuTIEgKFt94/s400/connectUsin.JPG" alt="" id="BLOGGER_PHOTO_ID_5174470137962471538" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;2. In the Basic Setting tab, enter the Database's URL in the corresponding text field. The URL is used to identify the type and location of a database server. In this example, you need to specify the host name (i.e. the location of the server), the port number on which the database communicates, and the name of the database instance being used. In this case you can enter: jdbc:mysql://localhost:3306/MyNewDatabase&lt;br /&gt;3. For User Name and Password, enter root, and nbuser respectively:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_5eZDZgRT0J4/R89musoeoFI/AAAAAAAAADE/Us4zxpjywuA/s1600-h/database-connection-dialog.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_5eZDZgRT0J4/R89musoeoFI/AAAAAAAAADE/Us4zxpjywuA/s400/database-connection-dialog.png" alt="" id="BLOGGER_PHOTO_ID_5174467449312944210" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;  New Database Connection dialog containing connection details&lt;br /&gt;4. Click OK, then click OK again to exit the dialog. A new Connection node displays in the Runtime window's Database explorer under the Databases node:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_5eZDZgRT0J4/R89m58oeoGI/AAAAAAAAADM/JTsRZ0h_HOk/s1600-h/new-connection-node.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_5eZDZgRT0J4/R89m58oeoGI/AAAAAAAAADM/JTsRZ0h_HOk/s400/new-connection-node.png" alt="" id="BLOGGER_PHOTO_ID_5174467642586472546" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;  new connection node displayed in database explorer&lt;br /&gt;&lt;br /&gt;You are now connected to MyNewDatabase in the IDE. Note that the new connection node icon appears whole when you are connected to a database. Likewise, it appears broken when there is no connection.&lt;br /&gt;&lt;br /&gt;At later stages, when working with databases through the Database explorer, you may need to manually connect to a database. You can do so by right-clicking the broken database connection node and choosing Connect.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-3087358841699052793?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/3087358841699052793/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=3087358841699052793' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/3087358841699052793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/3087358841699052793'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2008/03/creating-connection-to-database.html' title='Creating a connection to a Database:'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_5eZDZgRT0J4/R89pLMoeoHI/AAAAAAAAADU/VuTIEgKFt94/s72-c/connectUsin.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-2596833170367103881</id><published>2008-03-05T19:28:00.000-08:00</published><updated>2008-12-10T23:31:31.558-08:00</updated><title type='text'>Registering the Database in NetBeans IDE</title><content type='html'>Now that you have the database server installed and configured, and have created a new database, you can register the MySQL server in NetBeans IDE. Begin by examining the functionality offered by the Database explorer located in the IDE's Runtime window (Ctrl+5). The Database explorer is represented by the Databases node (database node icon). From this interface you can connect to databases, view current connections, add database drivers, as well as create, browse or edit database structures.&lt;br /&gt;&lt;br /&gt;You can use the Database explorer to register MySQL in the IDE. There are two simple steps that need to be performed:&lt;br /&gt;&lt;br /&gt;  1. Adding the Driver to the IDE&lt;br /&gt;  2. Creating a Database Connection&lt;br /&gt;&lt;br /&gt;Adding the Driver to the IDE&lt;br /&gt;&lt;br /&gt;In order to allow NetBeans IDE to communicate with a database, you need to employ a Java-based driver. Generally speaking, drivers in NetBeans IDE use the JDBC (Java Database Connectivity) API to communicate with databases supporting SQL. The JDBC API is contained in the java.sql Java package. A driver therefore serves as an interface that converts JDBC calls directly or indirectly into a specific database protocol.&lt;br /&gt;&lt;br /&gt;In this tutorial, you are using the MySQL Connector/J driver, which is a pure Java implementation of the JDBC API, and communicates directly with the MySQL server using the MySQL protocol. To add the driver to the IDE:&lt;br /&gt;&lt;br /&gt;  1. If you have just downloaded the driver, first extract it to a location on your computer. Set the root directory to: C:\mysql-connector-java-5.0.5.&lt;br /&gt;  2. In the IDE, in the Database explorer from the Runtime window (Ctrl+5) expand the Databases node and right-click the Drivers node. Choose New Driver. The New JDBC Driver dialog opens.&lt;br /&gt;  3. Click the Add button in the top right corner. Navigate to the driver's root directory and select the driver's jar file (e.g. mysql-connector-java-5.0.5-bin.jar). Click Open. The New JDBC Driver dialog should look like this:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_5eZDZgRT0J4/R89lZMoeoEI/AAAAAAAAAC8/13QYQws23z8/s1600-h/jdbc-driver-dialog.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_5eZDZgRT0J4/R89lZMoeoEI/AAAAAAAAAC8/13QYQws23z8/s400/jdbc-driver-dialog.png" alt="" id="BLOGGER_PHOTO_ID_5174465980434128962" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;     New JDBC Driver dialog containing driver details&lt;br /&gt;  4. Click OK. In the Runtime window expand the Databases &gt; Drivers nodes and note that a new MySQL driver node is displayed:&lt;br /&gt;&lt;br /&gt;     new driver node displayed in database explorer&lt;br /&gt;&lt;br /&gt;Note: While you just made the database driver available to the IDE, you have not yet made it available to any specific application. At this stage, you can use the IDE to access and modify the database, but cannot do so from an application yet.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;***********more at &lt;a href="http://www.netbeans.org/kb/55/mysql.html"&gt;netbeans &lt;/a&gt;official site&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-2596833170367103881?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/2596833170367103881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=2596833170367103881' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/2596833170367103881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/2596833170367103881'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2008/03/registering-database-in-netbeans-ide.html' title='Registering the Database in NetBeans IDE'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_5eZDZgRT0J4/R89lZMoeoEI/AAAAAAAAAC8/13QYQws23z8/s72-c/jdbc-driver-dialog.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-3314133727465226313</id><published>2008-03-05T00:34:00.000-08:00</published><updated>2008-03-05T00:36:36.683-08:00</updated><title type='text'>Switch From Uppercase to Lowercase</title><content type='html'>&lt;ul&gt;&lt;li&gt;Ctrl-U, then U Convert selection to uppercase&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Ctrl-U, then L Convert selection to lowercase&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Ctrl-U, then S Toggle case of selection&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-3314133727465226313?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/3314133727465226313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=3314133727465226313' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/3314133727465226313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/3314133727465226313'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2008/03/switch-from-uppercase-to-lowercase.html' title='Switch From Uppercase to Lowercase'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-3338459781390687068</id><published>2008-03-05T00:28:00.000-08:00</published><updated>2008-03-05T00:29:17.048-08:00</updated><title type='text'>Switch through files(Tabs) in the Editor</title><content type='html'>&lt;ol&gt;&lt;li&gt;Call up the list of all open tabs in the Editor by         by pressing Ctrl-Tab while &lt;em&gt;keeping the ctrl key pressed&lt;/em&gt;.&lt;/li&gt;&lt;li&gt;Still with the ctrl key pressed,         browse through the list of open tabs by hitting Ctrl-Tab;         browse backwards through the list with Shift-Ctrl-Tab.         Releasing the keys switches to the selected tab.&lt;/li&gt;&lt;li&gt;Pressing Ctrl-Tab once and then letting both keys go immediately,         will switch directly back to the previous tab used.         &lt;/li&gt;&lt;/ol&gt;         Note however, that in some operating systems, Ctrl-Tab is already associated with         another conflicting action. In this case, use Ctrl-~ instead.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-3338459781390687068?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/3338459781390687068/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=3338459781390687068' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/3338459781390687068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/3338459781390687068'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2008/03/switch-through-filestabs-in-editor.html' title='Switch through files(Tabs) in the Editor'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-840602040021338855</id><published>2008-03-04T23:58:00.000-08:00</published><updated>2008-12-10T23:31:31.929-08:00</updated><title type='text'>Compare Two Files in Netbeans6</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_5eZDZgRT0J4/R85YGsoeoDI/AAAAAAAAAC0/k1rAMdx8O58/s1600-h/diff.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 626px; height: 391px;" src="http://1.bp.blogspot.com/_5eZDZgRT0J4/R85YGsoeoDI/AAAAAAAAAC0/k1rAMdx8O58/s400/diff.JPG" alt="" id="BLOGGER_PHOTO_ID_5174169893978677298" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;In the Projects tab, click and select with the ctrl key pressing two files.             &lt;/li&gt;&lt;li&gt;Right-click one of the selected files, and select &lt;b&gt;Tools &gt; Diff from the context menu&lt;/b&gt;.             &lt;/li&gt;&lt;li&gt;The graphical Diff view appears and lets you step through all differences.&lt;/li&gt;&lt;/ol&gt;Diffrent code blocks will be selected in different colors...&lt;br /&gt;&lt;br /&gt;***&lt;br /&gt;this is very important when you want to edit a file..&lt;br /&gt;clone the orginal document(Rgt on doc tab&gt;Clone Document) and edit.. then compare...&lt;br /&gt;       &lt;p&gt;&lt;span style="font-size:85%;"&gt;         Note :&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;Diff only appears in the Tools menu when &lt;em&gt;two&lt;/em&gt; files are selected and in focus.&lt;/span&gt;         &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-840602040021338855?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/840602040021338855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=840602040021338855' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/840602040021338855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/840602040021338855'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2008/03/compare-two-files-in-netbeans6.html' title='Compare Two Files in Netbeans6'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_5eZDZgRT0J4/R85YGsoeoDI/AAAAAAAAAC0/k1rAMdx8O58/s72-c/diff.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-281280631129478696</id><published>2008-02-18T21:34:00.000-08:00</published><updated>2008-12-10T23:31:32.081-08:00</updated><title type='text'>Usin the "Palette" for design in JSP</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_5eZDZgRT0J4/R7pxP_rTJOI/AAAAAAAAACQ/bu5gwrXr9WM/s1600-h/insertform.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_5eZDZgRT0J4/R7pxP_rTJOI/AAAAAAAAACQ/bu5gwrXr9WM/s400/insertform.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5168568041966085346" /&gt;&lt;/a&gt;&lt;br /&gt;1.Choose File &gt; New Project (Ctrl-Shift-N) from the main menu. &lt;br /&gt;Under Categories, select Web. Under Projects, &lt;br /&gt;select Web Application then click Next.&lt;br /&gt;&lt;br /&gt;2.Specify the Project Location to any directory on your computer.&lt;br /&gt;&lt;br /&gt;3.focus the index.jsp file&lt;br /&gt;&lt;br /&gt;4.Window&gt;Palette(Ctrl+Shift+8)&lt;br /&gt;&lt;br /&gt;5.drag a Form item to a point after the 'h2'tags into the Source Editor&lt;br /&gt;&lt;br /&gt;6.see the image &lt;br /&gt;Specify the following values:&lt;br /&gt;&lt;br /&gt;    * Action: targetjsp.jsp&lt;br /&gt;    * Method: GET&lt;br /&gt;    * Name: anyname&lt;br /&gt;&lt;br /&gt;7.Drag a Text Input item to a point just before the &lt; /form&gt;  tag&lt;br /&gt;&lt;br /&gt;8.Use other palette items for your needs...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-281280631129478696?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/281280631129478696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=281280631129478696' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/281280631129478696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/281280631129478696'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2008/02/usin-palette-for-design-in-jsp.html' title='Usin the &quot;Palette&quot; for design in JSP'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_5eZDZgRT0J4/R7pxP_rTJOI/AAAAAAAAACQ/bu5gwrXr9WM/s72-c/insertform.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-1375613562584635569</id><published>2008-02-17T21:46:00.000-08:00</published><updated>2008-02-17T21:47:23.962-08:00</updated><title type='text'>How to add a code templates in "Netbeans"..</title><content type='html'>this is simply means using 'abbreviations' for &lt;br /&gt;commonly code segments.&lt;br /&gt;&lt;br /&gt;1.first try default abbrevation&lt;br /&gt;  in a java application 'psvm' and press 'tab' key&lt;br /&gt;it will turn in to...&lt;br /&gt;&lt;br /&gt; public static void main (String[] args) {&lt;br /&gt;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;2.Go to,&lt;br /&gt; Tools&gt;Options&gt;Editor&gt;Code Templates&lt;br /&gt;&lt;br /&gt;3.Select your language&lt;br /&gt;&lt;br /&gt;4.New&gt;(type your abbrv-eg'sop')&gt;OK&lt;br /&gt;&lt;br /&gt;5.Type the code&lt;br /&gt;&lt;br /&gt;6.OK&lt;br /&gt;&lt;br /&gt;further..&lt;br /&gt;&lt;br /&gt;7.to set the cursor point&lt;br /&gt; type code like this&lt;br /&gt;&lt;br /&gt;  System.out.println("${cursor}");&lt;br /&gt;  &lt;br /&gt;notice the pharse--${cursor}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-1375613562584635569?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/1375613562584635569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=1375613562584635569' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/1375613562584635569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/1375613562584635569'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2008/02/how-to-add-code-templates-in-netbeans.html' title='How to add a code templates in &quot;Netbeans&quot;..'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-7261993382380919832</id><published>2008-02-14T03:18:00.000-08:00</published><updated>2008-02-14T21:33:26.083-08:00</updated><title type='text'>JSP pages</title><content type='html'>(1)index.jsp.............&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt; html&gt;&lt;br /&gt;    &lt; head&gt;&lt;br /&gt;        &lt; meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;&lt;br /&gt;        &lt; title&gt;JSP Page&lt;  /title&gt;&lt;br /&gt;    &lt; /head&gt;&lt;br /&gt;    &lt; body&gt;&lt;br /&gt;        &lt; h2&gt;Entry Form..&lt; /h2&gt;&lt; form name=" Name Input Form" action="response.jsp"&gt;&lt;br /&gt;            Enter your name: &lt;br /&gt;            &lt; input type="text" name="name" value="" /&gt;&lt;br /&gt;            &lt; input type="submit" value="OK" /&gt;&lt;br /&gt;        &lt; /form&gt;&lt;br /&gt;    &lt; /body&gt;&lt;br /&gt;&lt; /html&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(2)responsing JSP file(response.jsp)&lt;br /&gt;&lt;br /&gt;&lt; html&gt;&lt;br /&gt;    &lt; head&gt;&lt;br /&gt;        &lt; meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;&lt;br /&gt;        &lt; title&gt;JSP Page&lt; /title&gt;&lt;br /&gt;    &lt; /head&gt;&lt;br /&gt;    &lt; body&gt;&lt;br /&gt;        &lt; jsp:useBean id="mybean" scope="session" class="org.me.hello.NameHandler" /&gt;&lt;br /&gt;        &lt; jsp:setProperty name="mybean" property="name" /&gt;&lt;br /&gt;        &lt; h2&gt;Hello,&lt;jsp:getProperty name="mybean" property="name" /&gt; !&lt; /h2&gt;&lt;br /&gt;    &lt; /body&gt;&lt;br /&gt;&lt; /html&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(3)&lt;br /&gt;&lt;br /&gt;package org.me.hello;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public class NameHandler {&lt;br /&gt;&lt;br /&gt;    private String name;&lt;br /&gt;    public NameHandler(){&lt;br /&gt;            name = null;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public String getName() {&lt;br /&gt;        return name;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    public void setName(String name) {&lt;br /&gt;        this.name = name;&lt;br /&gt;    }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-7261993382380919832?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/7261993382380919832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=7261993382380919832' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/7261993382380919832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/7261993382380919832'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2008/02/jsp-pages.html' title='JSP pages'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-654960083803362729.post-2993033837363120012</id><published>2008-02-14T01:09:00.000-08:00</published><updated>2008-02-14T01:11:41.888-08:00</updated><title type='text'>***(1)Setting Up the Project</title><content type='html'>Start NetBeans IDE. &lt;br /&gt;In the IDE, choose File &gt; New Project &lt;br /&gt;In the New Project wizard,  select Java Application &lt;br /&gt; Then click Next. &lt;br /&gt;In the Name and Location page of the wizard, do the following&lt;br /&gt;In the Project Name field, type HelloWorldApp. &lt;br /&gt;In the Create Main Class field, type helloworldapp.HelloWorldApp&lt;br /&gt;Leave the Set as Main Project checkbox selected. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// TODO code application logic here&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;* Save the change by choosing File &gt; Save.&lt;br /&gt;&lt;br /&gt;* Compiling the Source File--F11&lt;br /&gt;To compile your source file, choose Build &gt; Build Main Project from the IDE's main menu. &lt;br /&gt;&lt;br /&gt;* Running the Program--F6&lt;br /&gt;From the IDE's menu bar, choose Run &gt; Run Main Project.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/654960083803362729-2993033837363120012?l=netbeans6.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://netbeans6.blogspot.com/feeds/2993033837363120012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=654960083803362729&amp;postID=2993033837363120012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/2993033837363120012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/654960083803362729/posts/default/2993033837363120012'/><link rel='alternate' type='text/html' href='http://netbeans6.blogspot.com/2008/02/1setting-up-project.html' title='***(1)Setting Up the Project'/><author><name>Gyze</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
