Trigger to Repaint nth Row In JList
<p>May I know know I can trigger system to repaint nth row in JList? Currently, what I did is</p>

<pre><code>jList0.repaint();    // Repaint entire JList, which is not efficient.
</code></pre>

<p>I am only interested to update nth row in JList.</p>

<p>Please note that the reason I want to do so, is that I install a custom list cell renderer. The GUI look of the list, will depending on the external model stage of my application.</p>

<pre><code>public ListCellRenderer getListCellRenderer() {
    return new DefaultListCellRenderer() {

        @Override
        public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
            Component component = super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
            if (component != null &amp;&amp; value != null) {
                final MainFrame mainFrame = MainFrame.getInstance();
                final String portfolioName = mainFrame.getJStockOptions().getPortfolioName();

                if (value.toString().equals(portfolioName)) {
                    component.setFont(new Font(component.getFont().getName(), Font.BOLD, component.getFont().getSize()));
                }
            }
            return component;
        }
    };
}
</code></pre>
