<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
    <channel>
        <title>JavaRanch Swing / AWT / SWT / JFace</title>
        <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=forum&amp;f=2</link>
        <description>A Friendly Place for Java Greenhorns</description>
        <image>
            <url>http://saloon.javaranch.com/ubb/moosefly.gif</url>
            <title>JavaRanch Big Moose Saloon</title>
            <link>http://saloon.javaranch.com/</link>
        </image>
        <language>en-us</language>
        <generator>JavaRanch RSS</generator>
        <copyright>Copyright 2007 Paul Wheaton. All Rights Reserved.</copyright>
        <item uniqueID="2-017247">
            <title>JButton with a round image</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017247</link>
            <description>Hello guys!&lt;br /&gt;I'll try to explain the problem...&lt;br /&gt;I have a JButton:&lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;&lt;br /&gt;JButton addButton = new JButton(new ImageIcon(..));&lt;br /&gt;&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;The ImageIcon is a GIF. A round GIF.&lt;br /&gt;The problema is that when the button is displayed the addButton's border appears as well (there's a rect surrounding it)... I want just the Image to be shown! &lt;br /&gt; &lt;br /&gt;Does anyone knows how can I do that?&lt;br /&gt; &lt;br /&gt;Thank's!!</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017247</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017247Alexandre Baldo</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 12:00:59 MDT</pubDate>
        </item>
        <item uniqueID="2-017246">
            <title>removeAllHighlights() not working</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017246</link>
            <description>I can ADD highlights to a JTextArea all day. I'm reading annotation data out of the database, and creating Annotation instances... then I'm using those to create highlights on my JTextArea at the relevant indices.&lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;private void loadAnnotations(JTextArea ta){&lt;br /&gt;ArrayList&amp;lt;Annotation&amp;gt; arAnnos = getAnnotationsById(String.valueOf(d.getDocumentID()));&lt;br /&gt;&lt;br /&gt;try {&lt;br /&gt;for (Annotation i : arAnnos){&lt;br /&gt;ta.getHighlighter().addHighlight(i.getSelectionStart(), i.getSelectionEnd(), redPainter);&lt;br /&gt;} &lt;br /&gt;}catch (BadLocationException ex)&lt;br /&gt;{&lt;br /&gt;System.out.println("Bad Painter Location!");&lt;br /&gt;}&lt;br /&gt;} &lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;The problem is when I go to delete an annotation. T...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017246</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017246Willy Ray</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 10:18:58 MDT</pubDate>
        </item>
        <item uniqueID="2-017245">
            <title>Aligning component from Right to Left</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017245</link>
            <description>Hi folks,&lt;br /&gt; I need to align components in the order of Right to Left alignment.Any suggestions which layout manager will be best suited for this scenario. </description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017245</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017245Balasubramanian Chandrasekaran</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 08:02:58 MDT</pubDate>
        </item>
        <item uniqueID="2-017244">
            <title>Sliding transparent window in GWT</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017244</link>
            <description>Any one has idea bout how to build the sliding transparent window in GWT</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017244</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017244Manish Singh</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 04:22:58 MDT</pubDate>
        </item>
        <item uniqueID="2-017243">
            <title>Making an image transparent</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017243</link>
            <description>I'm creating a drawing in an applet using double buffering. &lt;br /&gt; &lt;br /&gt;I want to make the background color of the applet visible through the image when it is drawn.&lt;br /&gt; &lt;br /&gt;Is it possible to do such a thing?&lt;br /&gt; &lt;br /&gt;Here's the pseudo code of what I'm doing:&lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;&lt;br /&gt;Image img;&lt;br /&gt;public void init() {&lt;br /&gt; img = createImage(50,50);&lt;br /&gt; Graphics g = img.getGraphics();&lt;br /&gt; // draw some shapes on g&lt;br /&gt; .........&lt;br /&gt;}&lt;br /&gt;public void paint(Graphics g) {&lt;br /&gt; g.drawImage(img, 50, 50, null); // I need this drawing to be transparent&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017243</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017243Abu Yahya</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 04:04:58 MDT</pubDate>
        </item>
        <item uniqueID="2-017242">
            <title>Set the label size</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017242</link>
            <description>Hi,&lt;br /&gt;Is tehre anyway to force the size of the label? &lt;br /&gt; &lt;br /&gt;I have set my window size as below:&lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;Toolkit tk = Toolkit.getDefaultToolkit();&lt;br /&gt;xSize = ((int) tk.getScreenSize().getWidth());&lt;br /&gt;ySize = ((int) tk.getScreenSize().getHeight());&lt;br /&gt;setSize(xSize-50,ySize-50);&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;I have a panel(Flowlayout) which is added inside the scrollpane. Inorder to wrap my components, &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;myPanel.setPreferredSize(new Dimension(dynamicPanel.getSize().width+100, 1000));&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt;I am adding labels into this panel and in order to get a nice look and feel so that each label is one below the other, I am trying set the label size as below(wi...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017242</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017242Gopu Akraju</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 03:02:57 MDT</pubDate>
        </item>
        <item uniqueID="2-017241">
            <title>JEditorPane acting as web browser</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017241</link>
            <description>Hi guys,&lt;br /&gt; &lt;br /&gt;I have the following kind of scenario I am trying to achieve. I have a frame in which I have currently a JEditorPane component. This component has gotta a Hyperlink listener listening to hyperlink actions on various URL.&lt;br /&gt; &lt;br /&gt;It works ok but this functionality is not enough for me. What I am achieving is I wanna my jEditorPane to listen to submit button clicks as well and thereby doing necessary actions. Is this possible with jEditorPane or should I use another component to achieve my goal?&lt;br /&gt; &lt;br /&gt;Or maybe I should approach the problem differently? Is is possible to open another program (in my case browser) with the help of eg.&lt;br /&gt;Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + page); ...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017241</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017241janne jounivich</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 02:26:57 MDT</pubDate>
        </item>
        <item uniqueID="2-017240">
            <title>Serializable and Shapes</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017240</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;I have a interface called FCShape which I have said extends Serializable. I then have various classes that extend JComponent and implement FCShape. Instances of these classes are then stored in a vector.&lt;br /&gt; &lt;br /&gt;The problem is that I would like to save this vector to a file using writeObject. This works for other objects but will not work for this vector. &lt;br /&gt; &lt;br /&gt;Is this right? Is it something to do with the fact that the vector contains objects whos classes contain graphics objects? Is there a way around this?&lt;br /&gt; &lt;br /&gt;Thanks in advance</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017240</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017240Deirdre Hackett</comments>
            <author/>
            <pubDate>Fri, 9 May 2008 02:18:57 MDT</pubDate>
        </item>
        <item uniqueID="2-017239">
            <title>String from JTextField</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017239</link>
            <description>I am getting the user input through a JTextfield. &lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;String name = nameText.getText();&lt;br /&gt;name.trim();&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;Even though I call trim function to remove the blank spaces, I am getting this problem. When the user types like "test " (i.e name followed by space bar), the space created by space bar does not get removed from the string. How do I remove it and make it as "test". Do I have to check character by character? Thanks.&lt;br /&gt;Regards</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017239</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017239Gopu Akraju</comments>
            <author/>
            <pubDate>Thu, 8 May 2008 02:46:54 MDT</pubDate>
        </item>
        <item uniqueID="2-017238">
            <title>Multithreaded Rendering</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017238</link>
            <description>I am trying to have a task that takes some time (drawing a correctly-sized graph on a BufferedImage using a large series of drawLine() calls). Once this task completes, a JPanel should then use drawImage() to draw the BufferedImage on the screen. I have this all set up using SwingWorker and a PropertyChangeListener ("done" is the important one). The problem is a new SwingWorker subclass (DrawCurveTask) is instantiated and execute()d with every component resize, and the JPanel redraws itself at the completion of every one of these DrawCurveTasks. Does anyone have any ideas on how to make it stop updating itself when the window isn't being resized anymore (i.e. you drag the window all over the place for awhile, stop, and watch the line co...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017238</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017238Andy Selador</comments>
            <author/>
            <pubDate>Wed, 7 May 2008 11:50:53 MDT</pubDate>
        </item>
        <item uniqueID="2-017237">
            <title>Modal JDialog</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017237</link>
            <description>Hi there. I have a JFrame I created that has a table in it. A user can click on a row in that table and it brings up a JDialog so they can change the contents of the row. At the same time, the user had previously opened a different JFrame that serves as an inquiry for them. &lt;br /&gt; The problem they are running into, is when the JDialog is up, they want to be able to switch over to the inquiry to look something up , then go back to the frame with the JDialog to enter information. However since the dialog is modal, it won't let them bring up the inquiry frame until they close the dialog. How can I keep the dialog in focus on the JFrame it is in, but allow the users to view other frames?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017237</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017237Jennifer Sohl</comments>
            <author/>
            <pubDate>Wed, 7 May 2008 09:32:52 MDT</pubDate>
        </item>
        <item uniqueID="2-017236">
            <title>regarding jFileChooser</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017236</link>
            <description>i need the jList component from the Jfilechooser component.&lt;br /&gt;using the Jlist i need to add keyListener&lt;br /&gt;here is the code to get the Jlist from jfileChooser&lt;br /&gt; &lt;br /&gt;private Component findJList(Component component_)&lt;br /&gt;{&lt;br /&gt;if(component_.getClass()==JList.class)&lt;br /&gt;return component_;&lt;br /&gt;else if(component_ instanceof Container)&lt;br /&gt;{&lt;br /&gt;Component[] components_=((Container)component_).getComponents();&lt;br /&gt;for(Component comp_:components_)&lt;br /&gt;{&lt;br /&gt;Component childComponent_=findJList(comp_);&lt;br /&gt;if(childComponent_!=null)&lt;br /&gt;return childComponent_;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;return null;&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;there parameter 'component_' is a jfileChooser object.&lt;br /&gt;what my problem is i get null pointer exception&lt;br /&gt;...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017236</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017236kannan DV</comments>
            <author/>
            <pubDate>Wed, 7 May 2008 09:06:52 MDT</pubDate>
        </item>
        <item uniqueID="2-017235">
            <title>Mouse click event</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017235</link>
            <description>Hi,&lt;br /&gt; I need to use JLabel as hyperlink. i have array of JLabels used as hyperlink. I am trying to use mouse click event on these JLabels so that hyperlink opens some window. But the problem is mouse click event what i used is not working here. Can mouse click event be used for arrays. Let me know.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Seema</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017235</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017235Seema Sharma</comments>
            <author/>
            <pubDate>Wed, 7 May 2008 02:58:52 MDT</pubDate>
        </item>
        <item uniqueID="2-017234">
            <title>Advice Please</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017234</link>
            <description>Hi friends,&lt;br /&gt;I am new to awt/swing&lt;br /&gt; &lt;br /&gt;My boss give me one program &lt;br /&gt; &lt;br /&gt;here in a window i should have two tables and values to the tables should be taken from text file using stream.&lt;br /&gt; &lt;br /&gt;Since i am new to these things pls advice me the things i can use to develop the above so that i can concentrate and learn that things and do.since it is little bit urgent work i don't have tome to learn all awt etc etc...&lt;br /&gt; &lt;br /&gt;thanks</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017234</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017234priya pratheepp</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 23:38:51 MDT</pubDate>
        </item>
        <item uniqueID="2-017233">
            <title>encrypt data </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017233</link>
            <description>Good evening,&lt;br /&gt;I'm developping an application to encrypt data with tripleDES before getting inserted in oracle database.&lt;br /&gt;Another application must consult the database, decrypt the data then show it in a jtable.&lt;br /&gt;I'm a biginner in the security field, so i found some problems.&lt;br /&gt;1-some byte from the encrypted data like the cote(') make some problem when executing the query, i'd like to change the type of the encryption bytes, i heard about UTF8 but i don't know how to use it. &lt;br /&gt;2-when I decrypt the data from the resultset and put it in the jtable the first culumn is empty and I receive this error:&lt;br /&gt;"javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher. "&lt;br /&gt;It ...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017233</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017233amin amin</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 17:06:50 MDT</pubDate>
        </item>
        <item uniqueID="2-017232">
            <title>how to set JFrame titlebar color</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017232</link>
            <description>Can anyone tell me how to change the color of the titlebar on a JFrame when the frame is active?&lt;br /&gt;Thanks in advance.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017232</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017232Rob Byrd</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 13:38:50 MDT</pubDate>
        </item>
        <item uniqueID="2-017231">
            <title>I can't side set JMenuBar (top-down) </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017231</link>
            <description>I want to set the JMenuBar in JApplet from the top to down. Is this possible. I have maket work with application why I can't makit work with JApplet what I'm doing wrong Here is my Applet:&lt;br /&gt; &lt;br /&gt;import javax.swing.*;&lt;br /&gt;import java.awt.*;&lt;br /&gt;//import java.awt.event.*;&lt;br /&gt;import javax.swing.border.*;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;public class Feni extends JApplet {&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; public JMenuBar menibar = new JMenuBar();&lt;br /&gt; public JMenu[] menita = {&lt;br /&gt; new JMenu("Resources and mining"),&lt;br /&gt; new JMenu("Production"),&lt;br /&gt; new JMenu("About the process"),&lt;br /&gt; new JMenu("Investments"),&lt;br /&gt; new JMenu("Logistic"),&lt;br /&gt; new JMenu("Environment"),&lt;br /&gt; new JMenu("Ot...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017231</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017231Aleksandar Mitrev</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 10:50:50 MDT</pubDate>
        </item>
        <item uniqueID="2-017230">
            <title>Locale Specific Icons</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017230</link>
            <description>Hi i want to write the code for i18n&lt;br /&gt;i want to change the Icons of messages and wornings and errors according to the Locale.&lt;br /&gt; &lt;br /&gt;How can i do that. help me&lt;br /&gt;Thanks</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017230</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017230Pavithra Papi</comments>
            <author/>
            <pubDate>Tue, 6 May 2008 08:02:49 MDT</pubDate>
        </item>
        <item uniqueID="2-017229">
            <title>BufferedImage versus VolatileImage</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017229</link>
            <description>The topic pretty much says it. In what cases is one image type preferable to the other, assuming the image is used for buffering - a long computation that results in an update to the image, which is then drawn on a JPanel. Also, just list any other advantages and disadvantages. I know volatile images may have to be restored at any time, but with that disadvantage, whats the advantage?&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt; &lt;br /&gt;Andy</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017229</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017229Andy Selador</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 20:38:48 MDT</pubDate>
        </item>
        <item uniqueID="2-017227">
            <title>SWT check boxes </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017227</link>
            <description>Hi all,&lt;br /&gt; &lt;br /&gt;is there any way i can use check boxes on my page and get only one of the four check box selected at any one time.&lt;br /&gt; &lt;br /&gt;if there exists any thing like that please suggest me.&lt;br /&gt; &lt;br /&gt;thanks.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017227</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017227vijay shanker</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 06:08:46 MDT</pubDate>
        </item>
        <item uniqueID="2-017226">
            <title>JTable</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017226</link>
            <description>How can I add checkBox into JTableCell&lt;br /&gt; &lt;br /&gt;I am getting in a cell Javax.swing.JcheckBox[some information is here]&lt;br /&gt; &lt;br /&gt;but cell not displaying checkBox view</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017226</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017226ramesh kancherla</comments>
            <author/>
            <pubDate>Mon, 5 May 2008 02:08:45 MDT</pubDate>
        </item>
        <item uniqueID="2-017225">
            <title>Checkbox using Swing</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017225</link>
            <description>Hi&lt;br /&gt; &lt;br /&gt;I have few queries regarding Check Box.&lt;br /&gt; &lt;br /&gt;1. How to make a checkbox non editable?&lt;br /&gt;2. How to attach an image to the checkbox?&lt;br /&gt; &lt;br /&gt;Please help.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017225</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017225sahitya sahitya</comments>
            <author/>
            <pubDate>Sun, 4 May 2008 23:34:36 MDT</pubDate>
        </item>
        <item uniqueID="2-017224">
            <title>JFileChooser problem </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017224</link>
            <description>i am trying to use JFileChooser, my problem is it only reads files if it was in the project folder if it is anywhere else it does not read it ..any idea or is anything missing here thanks &lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt; &lt;br /&gt; //open file method &lt;br /&gt; //the method will invoked, if user triggred open menu item&lt;br /&gt; &lt;br /&gt; openAction.addActionListener(new ActionListener() &lt;br /&gt; {&lt;br /&gt; public void actionPerformed(ActionEvent ae) &lt;br /&gt; {&lt;br /&gt; JFileChooser fc = new JFileChooser();&lt;br /&gt; int returnVal = fc.showOpenDialog(null);&lt;br /&gt; File selectedFile = fc.getSelectedFile();&lt;br /&gt; &lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017224</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017224I moussa</comments>
            <author/>
            <pubDate>Sun, 4 May 2008 02:20:33 MDT</pubDate>
        </item>
        <item uniqueID="2-017223">
            <title>JFileChooser Performance</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017223</link>
            <description>Good Day,&lt;br /&gt; I'm currently learning java and I working with the JFileChooser. It's taking on average 45 seconds to open the chooser. I have other java applications at work and they all seem to crawl when it comes to bringing up file selection menues, otherwise performance is fine. Is this normal for JFileChooser? Are their any ways to speed up chooser?&lt;br /&gt; &lt;br /&gt;Thanks&lt;br /&gt; &lt;br /&gt;John&lt;br /&gt; &lt;br /&gt;System:&lt;br /&gt;Pentium IV 2.2 GHz XP SP2 1G mem Java 1.6&lt;br /&gt; &lt;br /&gt;program:&lt;br /&gt;QuizCardBuilder program from headFirst Java.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017223</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017223John Guris</comments>
            <author/>
            <pubDate>Sat, 3 May 2008 14:26:32 MDT</pubDate>
        </item>
        <item uniqueID="2-017222">
            <title>JeditorPane</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017222</link>
            <description>How can I add JScrollPane to JEditorPane&lt;br /&gt;is it possible?</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017222</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017222ramesh kancherla</comments>
            <author/>
            <pubDate>Sat, 3 May 2008 09:28:31 MDT</pubDate>
        </item>
        <item uniqueID="2-017221">
            <title>Regarding check box in header and sorting also</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017221</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;Deadly need ranchers help regarding the Jtable sorting and should have the check box in the JTable header and the header should have the multiline(might be 2 lines.I am really stuck up how to proceed.&lt;br /&gt; &lt;br /&gt;I used the sorting the jtbale from one of the examples from the net i got name is: TableSorter.java,I am really new to this swings,Please help me in this regard .please share if any one is having code sample for this requirement.&lt;br /&gt;your help greatly appreciated !! thanks</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017221</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017221venkat anand</comments>
            <author/>
            <pubDate>Sat, 3 May 2008 07:26:31 MDT</pubDate>
        </item>
        <item uniqueID="2-017220">
            <title>JScrollPane</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017220</link>
            <description>&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt;how can i add JScrollPane to JPanel&lt;br /&gt; &lt;br /&gt;i am adding components to Jpanel but all components are not showing in screen&lt;br /&gt;I have to move the screen for seeing all the components &lt;br /&gt;I have to add jscrollpane to jpanel&lt;br /&gt; &lt;br /&gt;can u please give me sample program for this&lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017220</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017220ramesh kancherla</comments>
            <author/>
            <pubDate>Sat, 3 May 2008 05:42:31 MDT</pubDate>
        </item>
        <item uniqueID="2-017219">
            <title>GUI switching forms</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017219</link>
            <description>Hi,&lt;br /&gt;i got a mainMenu jframe form.It was 2 buttons.Button A and buttonB.&lt;br /&gt; &lt;br /&gt;When i click on button A,i want to be directed to form A.&lt;br /&gt;When i click on button B,i want to be directed to form B.&lt;br /&gt; &lt;br /&gt;How do i go about doing this.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Would be great if some one could help me out. &lt;br /&gt; &lt;br /&gt;Rahul</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017219</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017219rahul sk</comments>
            <author/>
            <pubDate>Sat, 3 May 2008 04:14:31 MDT</pubDate>
        </item>
        <item uniqueID="2-017218">
            <title>mouse curser</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017218</link>
            <description>I am getting mouse curser in Jframe&lt;br /&gt; &lt;br /&gt;i have to change mouse curser to mouse pointer .&lt;br /&gt;how can i change it</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017218</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017218ramesh kancherla</comments>
            <author/>
            <pubDate>Sat, 3 May 2008 02:50:30 MDT</pubDate>
        </item>
        <item uniqueID="2-017217">
            <title>JPanel</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017217</link>
            <description>How can I change Jpanel Resize</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017217</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017217ramesh kancherla</comments>
            <author/>
            <pubDate>Sat, 3 May 2008 01:54:30 MDT</pubDate>
        </item>
        <item uniqueID="2-017216">
            <title>JTable</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017216</link>
            <description>how can I change column width and column marzin in JTable.&lt;br /&gt; &lt;br /&gt;I have inserted icons in JTable.&lt;br /&gt; &lt;br /&gt;can i give individual column size</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017216</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017216ramesh kancherla</comments>
            <author/>
            <pubDate>Sat, 3 May 2008 01:52:30 MDT</pubDate>
        </item>
        <item uniqueID="2-017215">
            <title>Communication between JFrames</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017215</link>
            <description>Hello all,&lt;br /&gt; &lt;br /&gt;I have made a program where a JFrame gets created with TextFields to hold scores and a bunch of buttons which change those scores.&lt;br /&gt; &lt;br /&gt;Under some circumstances I need the user to type in a score and I've made it so that when a combination of buttons is pressed, another JFrame gets created. This 2nd JFrame contains another TextField and an enter button.&lt;br /&gt; &lt;br /&gt;I need for the score in this TextField to be added to the score in the TextField in the original JFrame upon pressing the enter button but I have been unable to achieve this.&lt;br /&gt; &lt;br /&gt;Does anyone have any advice they could give me?&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt;Onslow</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017215</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017215Onslow McCann</comments>
            <author/>
            <pubDate>Sat, 3 May 2008 01:38:30 MDT</pubDate>
        </item>
        <item uniqueID="2-017214">
            <title>GridBagLayout ipadx help.</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017214</link>
            <description>Hey,&lt;br /&gt; &lt;br /&gt;I am using GridBagLayout and I have a couple of JTextFields. I want to make them all the same width however, some of the JTextFields have text in them such as "Enter UserID" or something of that sort. So when I set the ipadx value, it seems to just add on to the width of the text inside the field. The problem with that, is that I don't want to have to figure out how long each each string is in order to make all the fields the same width. I could do that fo rthis small example but I was wondering what the best practice is. I'm sure there is an easy way around this...Does anyone know it? Sorry if this is a Noob question.&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt;Michael</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017214</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017214Michael Paul</comments>
            <author/>
            <pubDate>Fri, 2 May 2008 15:52:29 MDT</pubDate>
        </item>
        <item uniqueID="2-017213">
            <title>createBufferStrategy, Double Buffering, and Swing</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017213</link>
            <description>Do you need to create a buffer strategy for Swing components like AWT's Canvas? Is double buffering automatic? How would you do it your own way if it is set to false for Swing components? &lt;br /&gt; &lt;br /&gt;For Swing:&lt;br /&gt;If I have a graphic that will white out a JPanel and crate a circle at different places (i.e. animation), do I need to worry about flickering? Should I draw on an offscreen image and have that image drawn on screen (via a call to repaint() and overriding paintComponent())?&lt;br /&gt; &lt;br /&gt;For a paint application that was to fill ovals when the mouse is dragged, skipping occurred if the mouse moved to fast. Is there a way to avoid this other than setting the stroke properties and using drawLine()?&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt; &lt;br ...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017213</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017213Andy Selador</comments>
            <author/>
            <pubDate>Fri, 2 May 2008 14:04:29 MDT</pubDate>
        </item>
        <item uniqueID="2-017212">
            <title>SwingWorker Threads</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017212</link>
            <description>The API for SwingWorker says that it runs on a worker thread, which makes it sound like when you create multiple objects from a class that extends SwingWorker, only a limited number of threads will be created. Even in the source code, there is a constant listing a maximum number of threads.&lt;br /&gt; &lt;br /&gt;But...&lt;br /&gt; &lt;br /&gt;When I profile an application that creates new SwingWorkers regularly, under threads it lists an ongoing and continually expanding list of SwingWorker threads. My guess is that many have died.&lt;br /&gt; &lt;br /&gt;Is this something to worry about? Should I use and executor to limit the number of threads available? If I create many instances of different SwingWorkers and subclass instances, will the constant defining the maximum ...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017212</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017212Andy Selador</comments>
            <author/>
            <pubDate>Fri, 2 May 2008 13:50:29 MDT</pubDate>
        </item>
        <item uniqueID="2-017211">
            <title>Change JTable's row background dynamically</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017211</link>
            <description>Hi all,&lt;br /&gt; I need to do tricky stuff but totally lost on how and where to start. I have a JTable in my application to which I'll be adding some rows dynamically based on some events. I have used my own table model class (which extends DefaultTableModel) and also implemented a TableCellRenderer to construct the table.&lt;br /&gt;Now I need to change the background colors of some rows based on some caluclated time events. To be more clear about this, once the rows are added, after sometime I need to change the color of few rows, based on some countdown timer.The color will keep on changing, as the countdown timer nears to a deadline time.&lt;br /&gt;What I am planning to do is, have a seperate class to run a thread for countdown time. I'll also try...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017211</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017211Mehul Mistry</comments>
            <author/>
            <pubDate>Fri, 2 May 2008 08:10:28 MDT</pubDate>
        </item>
        <item uniqueID="2-017210">
            <title>Creating jar in Netbeans 5.5</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017210</link>
            <description>hi all&lt;br /&gt;please help me how can i create the Jar in Netbeans5.5&lt;br /&gt; &lt;br /&gt;i done that using build it giving Main-Class prob.&lt;br /&gt;so i gave the Main class in Properties also&lt;br /&gt; &lt;br /&gt;same problem its giving</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017210</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017210Pavithra Papi</comments>
            <author/>
            <pubDate>Fri, 2 May 2008 05:22:27 MDT</pubDate>
        </item>
        <item uniqueID="2-017209">
            <title>actionListener and this</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017209</link>
            <description>Hello, I have a question about the method actionPerformed(ActionEvent e);&lt;br /&gt;In many times, we will specify the following statement : &lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt; button.addActionListener(this); &lt;/pre&gt;&lt;hr&gt;&lt;/blockquote&gt;&lt;br /&gt; &lt;br /&gt;But I have some confuse about that : We have already specify the object "button" itself, why we have to use "this" as the argument of the addActionListener() method ? Why we have to emphasize button and this to indicate button object itself&amp;#65311;&lt;br /&gt; &lt;br /&gt;Thank you for your reading and reply </description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017209</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017209Chia-you Chai</comments>
            <author/>
            <pubDate>Fri, 2 May 2008 03:00:27 MDT</pubDate>
        </item>
        <item uniqueID="2-017208">
            <title>JDatePicker in Swing</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017208</link>
            <description>Hi&lt;br /&gt; &lt;br /&gt;I have to retrieve day,month,year and time from the JDatePicker object. Could you please show me using an example.&lt;br /&gt; &lt;br /&gt;Thanks in advance.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017208</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017208sahitya sahitya</comments>
            <author/>
            <pubDate>Fri, 2 May 2008 01:04:27 MDT</pubDate>
        </item>
        <item uniqueID="2-017207">
            <title>Problem with scrollpane and Jinternalframe</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017207</link>
            <description>Hi all&lt;br /&gt; &lt;br /&gt;I have a JTree with a scrollpane on the left side of the Internalframe and on the top of the Internalframe i have a button. When i click that button another JInternalFrame pops up. Till here everything is fine. But when i move my JInternalFrame with the mouse on the Scrollpane, it appears on the internal frame. And this is a bug . Please help me to solve this problem...... &lt;br /&gt; &lt;br /&gt;Thanks &amp; Regards,&lt;br /&gt;Murali.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017207</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017207Murali Jaya Rao</comments>
            <author/>
            <pubDate>Fri, 2 May 2008 00:28:27 MDT</pubDate>
        </item>
        <item uniqueID="2-017205">
            <title>JTable</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017205</link>
            <description>how can I insert a image into cell with actions&lt;br /&gt; &lt;br /&gt;like I have to insert a iconImage into table cell whenever i clicked icon then it does some actions.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017205</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017205ramesh kancherla</comments>
            <author/>
            <pubDate>Fri, 2 May 2008 00:24:27 MDT</pubDate>
        </item>
        <item uniqueID="2-017206">
            <title>Custom message box using Swings </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017206</link>
            <description>Hi&lt;br /&gt; &lt;br /&gt;I am developing a GUI application. In that,user will select the date and when I click a button, that date should appear in a message box.&lt;br /&gt; &lt;br /&gt;Date is retrieved correctly. But I am not able to display the date in message box. How to display date in a message box?&lt;br /&gt; &lt;br /&gt;Using JOptionPane, I can only display static messages. &lt;br /&gt; &lt;br /&gt;Please help. Let me know if you need any other information.&lt;br /&gt; &lt;br /&gt;Thanks in advance.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017206</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017206sahitya sahitya</comments>
            <author/>
            <pubDate>Fri, 2 May 2008 00:24:27 MDT</pubDate>
        </item>
        <item uniqueID="2-017204">
            <title>Print a non visible JTable</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017204</link>
            <description>Hi everybody.&lt;br /&gt;In this JTable, I've populated datas from my database. All i want is to print the table &lt;b&gt;without displaying it&lt;/b&gt; but it doesn't work. What i get is the header and a blank box.&lt;br /&gt;Here is a piece of my code:&lt;br /&gt;&lt;blockquote&gt;code:&lt;hr&gt;&lt;pre&gt; &lt;br /&gt;... &lt;br /&gt;String titres[]={"N&#xFFFD;", "Name", "Adress", "Rank"} ;&lt;br /&gt;List&amp;lt;Candidat&amp;gt; tmpList = new ArrayList&amp;lt;Candidat&amp;gt;();&lt;br /&gt;modCandidats model = new modCandidats(tmpList, titles);&lt;br /&gt;JTable table = new JTable();&lt;br /&gt;table.setModel(model); &lt;br /&gt;MessageFormat header = new MessageFormat("Selected candidats" );&lt;br /&gt; &lt;br /&gt; try &lt;br /&gt; {&lt;br /&gt; if (!tmpList.isEmpty())&lt;br /&gt; table.print(JTable.PrintMode.FIT_WIDTH, ...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017204</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017204Francois Dereims</comments>
            <author/>
            <pubDate>Thu, 1 May 2008 15:32:26 MDT</pubDate>
        </item>
        <item uniqueID="2-017203">
            <title>Graphics and animation in Java</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017203</link>
            <description>Hello,&lt;br /&gt; &lt;br /&gt;If anyone can, please give me a way to get some resources(tutorials &amp; examples) related to Graphics2D,Grphics3D and animation stuff in Java.&lt;br /&gt; &lt;br /&gt;I've found various materials by searching in the net. But couln't get a nice tutorial with examples.&lt;br /&gt; &lt;br /&gt;Thanks in advance,&lt;br /&gt;Mani</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017203</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017203Mani Pava</comments>
            <author/>
            <pubDate>Thu, 1 May 2008 11:00:25 MDT</pubDate>
        </item>
        <item uniqueID="2-017202">
            <title>How to put labels on the sections of the pie charts</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017202</link>
            <description>This is the code to display the chart.&lt;br /&gt;Now in this, there are two sections of the pie chart ,&lt;br /&gt;I want to put labels on these two sections of the pie charts.&lt;br /&gt;Can anybody help me out?&lt;br /&gt; &lt;br /&gt;import java.awt.AWTException;&lt;br /&gt;import java.awt.Component;&lt;br /&gt;import java.awt.Dimension;&lt;br /&gt;import java.awt.Font;&lt;br /&gt;import java.awt.RenderingHints;&lt;br /&gt;import java.awt.event.WindowAdapter;&lt;br /&gt;import java.awt.event.WindowEvent;&lt;br /&gt;import java.awt.geom.AffineTransform;&lt;br /&gt;import java.awt.geom.Rectangle2D;&lt;br /&gt;import java.awt.image.ColorModel;&lt;br /&gt;import java.math.BigDecimal;&lt;br /&gt;import javax.imageio.ImageIO;&lt;br /&gt;import javax.swing.JFrame;&lt;br /&gt;import javax.swing.JPanel;&lt;br /&gt;import javax.swing.UIManager;&lt;br /&gt;import j...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017202</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017202Snehanshu Chatterjee</comments>
            <author/>
            <pubDate>Thu, 1 May 2008 04:26:24 MDT</pubDate>
        </item>
        <item uniqueID="2-017201">
            <title>How to handle ENTER key event in JTextArea</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017201</link>
            <description>I want to enter multiple lines in the text area by clicking enter key. I am not able to do that. When I press an enter key, the control is getting out it.&lt;br /&gt; &lt;br /&gt;Please help me asap.&lt;br /&gt; &lt;br /&gt;Thanks in advance.</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017201</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017201sahitya sahitya</comments>
            <author/>
            <pubDate>Thu, 1 May 2008 00:52:24 MDT</pubDate>
        </item>
        <item uniqueID="2-017198">
            <title>connection handling</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017198</link>
            <description>Hi,&lt;br /&gt; &lt;br /&gt;i develop a swing application,&lt;br /&gt;i create a connection like this&lt;br /&gt;public static Connection getConnection()throws Exception{&lt;br /&gt; Connection conn=null;&lt;br /&gt; try{&lt;br /&gt; Class.forName("oracle.jdbc.driver.OracleDriver");&lt;br /&gt; conn=DriverManager.getConnection(url,userName,password);&lt;br /&gt; &lt;br /&gt; }&lt;br /&gt; catch(SQLException sqlex){&lt;br /&gt; sqlex.printStackTrace(); &lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;but this connection is hold in db,not closed&lt;br /&gt;this time i got an error like maximum number of connections exceeded&lt;br /&gt; &lt;br /&gt;pls help me,&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt;johny</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017198</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017198johny sill</comments>
            <author/>
            <pubDate>Wed, 30 Apr 2008 05:48:21 MDT</pubDate>
        </item>
        <item uniqueID="2-017197">
            <title>actions performed</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017197</link>
            <description>hello, i had a small view like panel,label , checkbox, button etc...&lt;br /&gt;now i want add some action to some button,like if press ?button it should display some message about it .. how i can do that please can anyone give steps.. that i can do &lt;br /&gt; Mycode:&lt;br /&gt;import java.awt.*;&lt;br /&gt;class ButtonTest extends Frame&lt;br /&gt;{&lt;br /&gt; Button b = new Button("Start Game");&lt;br /&gt; Button b2 = new Button("quit Game");&lt;br /&gt; &lt;br /&gt; ButtonTest(String s)&lt;br /&gt; {&lt;br /&gt; super(s);&lt;br /&gt; setLayout(new FlowLayout());&lt;br /&gt; add(b);&lt;br /&gt; add(b2);&lt;br /&gt; }&lt;br /&gt; public static void main(String [] args)&lt;br /&gt; {&lt;br /&gt; ButtonTest bt = new ButtonTest("so many buttons");&lt;br /&gt; bt.setSize(500,500);&lt;br /&gt; bt.setVisible(true);&lt;br /&gt; }&lt;br /...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017197</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017197sandeep Talari</comments>
            <author/>
            <pubDate>Wed, 30 Apr 2008 01:00:20 MDT</pubDate>
        </item>
        <item uniqueID="2-017196">
            <title>Netbeans GUI Code Doubt</title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017196</link>
            <description>Hi!&lt;br /&gt; &lt;br /&gt;I have developed a GUI using Swing in Netbeans 6.0.1&lt;br /&gt; &lt;br /&gt;I have a JComboBox component which I need to populate with some specific currencies(Strings), retrieved by using a Third-Party Software API. &lt;br /&gt; &lt;br /&gt;I have a method PopulateCurrencies() which contains the code to retrieve those strings. This method contains an array of Strings - curr[] which stores the retrieved currencies using APIs. &lt;br /&gt; &lt;br /&gt;My Questions -&lt;br /&gt; &lt;br /&gt;1) Where do I include this Method code in the Program? (If in the GUI Source, Where Exactly?)&lt;br /&gt; &lt;br /&gt;2) How Do I associate the Method with the JComboBox ?&lt;br /&gt; &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Note: I tried to use the JComboBox's model property in properties&lt;br /&gt;I selected "Value from Existing...</description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017196</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017196Ashutosh Deo</comments>
            <author/>
            <pubDate>Tue, 29 Apr 2008 09:26:18 MDT</pubDate>
        </item>
        <item uniqueID="2-017195">
            <title>JTextPane - HTMLEditorKit new Line(\n) problem </title>
            <link>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017195</link>
            <description>Hello,&lt;br /&gt;I am developing one swing application in which I have used HTMLEditorKit to insert html text inside JTextPane.&lt;br /&gt;I am getting an encoded HTML message from another system like&lt;br /&gt;original message : hi\nhow are you?&lt;br /&gt;Encoded Message : hi new line encoded code how are you?&lt;br /&gt;Now when I insert this message in HTMLEditor in Jtext pane it never decode the new line code &amp; displays the text in single line only.&lt;br /&gt;Please suggest me any work around or the exact solution.&lt;br /&gt; &lt;br /&gt;Thanks in advance&lt;br /&gt; &lt;br /&gt;Aniruddha </description>
            <guid isPermaLink="true">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017195</guid>
            <comments>http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&amp;f=2&amp;t=017195Aniruddha Jadhao</comments>
            <author/>
            <pubDate>Tue, 29 Apr 2008 00:54:18 MDT</pubDate>
        </item> 
    </channel>
</rss>
