<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>web development helpdesk &#187; JTable</title>
	<atom:link href="http://helpdesk.objects.com.au/tag/jtable/feed" rel="self" type="application/rss+xml" />
	<link>http://helpdesk.objects.com.au</link>
	<description>objects quality - the visible difference</description>
	<lastBuildDate>Sun, 17 Jul 2011 12:27:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>How to set JTable header font</title>
		<link>http://helpdesk.objects.com.au/java/how-to-set-jtable-header-font?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-set-jtable-header-font</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-set-jtable-header-font#comments</comments>
		<pubDate>Sun, 13 Feb 2011 09:08:39 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[JTable]]></category>
		<category><![CDATA[JTableHeader]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1758</guid>
		<description><![CDATA[Changing the font of a JTable&#8217;s header can be done using the JTableHeader class. The JTableHeader is a JComponent subclass that manages the header of a JTable. table.getTableHeader().setFont(font); Related posts: How to remove a JTable header table.setTableHeader(null);... Embed font in a PDF using Java and iText When using non standard fonts in a PDF we [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-set-jtable-header-font/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix a JTable column width</title>
		<link>http://helpdesk.objects.com.au/java/how-to-fix-a-jtable-column-width?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-fix-a-jtable-column-width</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-fix-a-jtable-column-width#comments</comments>
		<pubDate>Tue, 08 Feb 2011 06:26:00 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[column]]></category>
		<category><![CDATA[JTable]]></category>
		<category><![CDATA[TableColumn]]></category>
		<category><![CDATA[TableColumnModel]]></category>
		<category><![CDATA[width]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1754</guid>
		<description><![CDATA[By default the column widths of a JTable are automatically set for you. To fix the width of a specified column you need to use the TableColumn for the column (there&#8217;s one for each column). TableColumn column = table.getColumnModel().getColumn(columnIndex); column.setPreferredWidth(width); column.setMaxWidth(width); Related posts: How to control decimal places displayed in JTable column? Rendering of table [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-fix-a-jtable-column-width/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Single or double click in JTable</title>
		<link>http://helpdesk.objects.com.au/java/single-or-double-click-in-jtable?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=single-or-double-click-in-jtable</link>
		<comments>http://helpdesk.objects.com.au/java/single-or-double-click-in-jtable#comments</comments>
		<pubDate>Wed, 02 Feb 2011 08:19:16 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[click]]></category>
		<category><![CDATA[JTable]]></category>
		<category><![CDATA[MouseAdapter]]></category>
		<category><![CDATA[MouseListener]]></category>
		<category><![CDATA[Timer]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1749</guid>
		<description><![CDATA[You can use a MouseListener to listen for clicks on your JTable. It will report both clicks and double clicks, reporting the click count via MouseEvent.getClickCount(). However when you double click on an non-editable column in your table your MouseListener unfortunately receives two event. Firstly it receives a single click event for the first click, [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/single-or-double-click-in-jtable/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to scroll to a specific row in a JTable</title>
		<link>http://helpdesk.objects.com.au/java/how-to-scroll-to-a-specific-row-in-a-jtable?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-scroll-to-a-specific-row-in-a-jtable</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-scroll-to-a-specific-row-in-a-jtable#comments</comments>
		<pubDate>Fri, 20 Aug 2010 02:23:37 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[JScrollPane]]></category>
		<category><![CDATA[JTable]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1597</guid>
		<description><![CDATA[There&#8217;s a method in JComponent called scrollRectToVisible() which interacts with the parent scroll pane (if one exists) to change its viewport. It takes a Rectangle as an argument that specifies the area you want to be visible in the viewport. So for example to scroll to a given row in a JTable you would use [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-scroll-to-a-specific-row-in-a-jtable/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to load CSV data into a TableModel</title>
		<link>http://helpdesk.objects.com.au/java/how-to-load-csv-data-into-a-tablemodel?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-load-csv-data-into-a-tablemodel</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-load-csv-data-into-a-tablemodel#comments</comments>
		<pubDate>Tue, 25 May 2010 02:34:25 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[JTable]]></category>
		<category><![CDATA[TableModel]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1498</guid>
		<description><![CDATA[If you have a CSV (or TSV) that you need to display in a JTable then you should have a look at the TableModelExtTextLoader class from SwingLabs. It provides all you should need and save you the hassle of reinventing the wheel and using a half baked CSV implementation. Here is an example of it&#8217;s [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-load-csv-data-into-a-tablemodel/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove a JTable header</title>
		<link>http://helpdesk.objects.com.au/java/how-to-remove-a-jtable-header?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-remove-a-jtable-header</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-remove-a-jtable-header#comments</comments>
		<pubDate>Wed, 27 Jan 2010 21:12:11 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[JTable]]></category>
		<category><![CDATA[JTablerHeader]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1391</guid>
		<description><![CDATA[table.setTableHeader(null); Related posts: How to set JTable header font Changing the font of a JTable&#8217;s header can be done... How to get the cell clicked in a JTable myTable.addMouseListener(new MouseAdapter() { @Override public void mouseClicked(MouseEvent e) { JTable... How to scroll to a specific row in a JTable There&#8217;s a method in JComponent called scrollRectToVisible() [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-remove-a-jtable-header/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get the cell clicked in a JTable</title>
		<link>http://helpdesk.objects.com.au/java/how-to-get-the-cell-clicked-in-a-jtable?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-get-the-cell-clicked-in-a-jtable</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-get-the-cell-clicked-in-a-jtable#comments</comments>
		<pubDate>Thu, 13 Aug 2009 01:13:28 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[JTable]]></category>
		<category><![CDATA[MouseListener]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1394</guid>
		<description><![CDATA[myTable.addMouseListener(new MouseAdapter() { @Override public void mouseClicked(MouseEvent e) { JTable table = (JTable) e.getSource(); int column = table.columnAtPoint(e.getPoint()); int row = table.rowAtPoint(e.getPoint()); System.out.println(&#34;Column: &#34;+column); System.out.println(&#34;Row: &#34;+row); } }); Related posts: How do I display a tooltip in a JTable? You need to subclass JTable and override the method getToolTipText().... Single or double click in JTable [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-get-the-cell-clicked-in-a-jtable/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to control decimal places displayed in JTable column?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-control-decimal-places-displayed-in-jtable-column?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-control-decimal-places-displayed-in-jtable-column</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-control-decimal-places-displayed-in-jtable-column#comments</comments>
		<pubDate>Wed, 15 Apr 2009 17:13:40 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[DecimalFormat]]></category>
		<category><![CDATA[DefaultTableCellRenderer]]></category>
		<category><![CDATA[JTable]]></category>
		<category><![CDATA[TableCellRenderer]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1054</guid>
		<description><![CDATA[Rendering of table cells is handled by instances of TableCellRenderer. By default JTable uses a DefaultTableCellRenderer to render all of its cells. To control the number of decimal places used we just need to subclass DefaultTableCellRenderer and format the cell double value before passing the (formatted) value to to the parent (DefaultTableCellRenderer) class. To get [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-control-decimal-places-displayed-in-jtable-column/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to disable row selection in a JTable?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-disable-row-selection-in-a-jtable?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-disable-row-selection-in-a-jtable</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-disable-row-selection-in-a-jtable#comments</comments>
		<pubDate>Mon, 26 Jan 2009 01:31:43 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[JTable]]></category>
		<category><![CDATA[row]]></category>
		<category><![CDATA[selection]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=701</guid>
		<description><![CDATA[The JTable class has a method setRowSelectionAllowed() that allows enabling and disabling of row selection. table.setRowSelectionAllowed(false); Related posts: How to get the cell clicked in a JTable myTable.addMouseListener(new MouseAdapter() { @Override public void mouseClicked(MouseEvent e) { JTable... How do I display a tooltip in a JTable? You need to subclass JTable and override the method [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-disable-row-selection-in-a-jtable/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I display a tooltip in a JTable?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-display-a-tooltip-in-a-jtable?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-i-display-a-tooltip-in-a-jtable</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-display-a-tooltip-in-a-jtable#comments</comments>
		<pubDate>Mon, 13 Oct 2008 00:53:45 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[JTable]]></category>
		<category><![CDATA[tooltip]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=459</guid>
		<description><![CDATA[You need to subclass JTable and override the method getToolTipText(). JTable table = new JTable(model) { public String getToolTipText(MouseEvent event) { int col = convertColumnIndexToModel( columnAtPoint(event.getPoint())); return getColumnName(col); } }; Related posts: How to get the cell clicked in a JTable myTable.addMouseListener(new MouseAdapter() { @Override public void mouseClicked(MouseEvent e) { JTable... Single or double click [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-display-a-tooltip-in-a-jtable/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

