tag:blogger.com,1999:blog-1282377935159788799.post-7846926083519105762008-02-17T09:31:00.004Z2008-02-17T09:50:41.021ZThe titled separator component JTitleSeparator<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_L4tSSx7sAl4/R7f_TnAG_7I/AAAAAAAAAHw/nq7QKzTdOCM/s1600-h/titleseparator.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_L4tSSx7sAl4/R7f_TnAG_7I/AAAAAAAAAHw/nq7QKzTdOCM/s400/titleseparator.png" alt="" id="BLOGGER_PHOTO_ID_5167879809782972338" border="0" /></a>JTitleSeparator is a horizontal line separator with a title. The title can be aligned left, right or center (using <span style="font-family:courier new;">SwingConstants LEFT</span>, <span style="font-family:courier new;">RIGHT</span>, or <span style="font-family:courier new;">CENTER</span>). Use the <span style="font-family:courier new;">setImageAlignment </span>method to place an image on the left or right side of the text. A title or image can be specified through one of the constructors or using the <span style="font-family:courier new;">setTitle </span>and <span style="font-family:courier new;">setImage </span>methods.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_L4tSSx7sAl4/R7f_aXAG_8I/AAAAAAAAAH4/eoEswxkTt00/s1600-h/titleseparatornb.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_L4tSSx7sAl4/R7f_aXAG_8I/AAAAAAAAAH4/eoEswxkTt00/s400/titleseparatornb.png" alt="" id="BLOGGER_PHOTO_ID_5167879925747089346" border="0" /></a><span style="font-family:courier new;">JTitleSeparator </span>is a JavaBean component so you can add it to the <a href="http://www.netbeans.org/">NetBeans</a> Swing components pallette and use it through the GUI builder. Get the <span style="font-family:courier new;">JTitleSeparator</span> NetBeans project including the source files, compiled jar and API javadocs from <a href="http://www.connectina.com/swingworker/TitleSeparator.zip">here</a>.Christoshttp://www.blogger.com/profile/11903246349533401198noreply@blogger.com