[gui][patch] some work on jtable

graydon hoare graydon@redhat.com
Wed Aug 18 17:32:00 GMT 2004


hi,

this patch implements some preliminary work for javax.swing.JTable and friends.
it can now build up the data, column and selection models, paint cells and
headers (with variable lines and padding) and respond to selections in the
various selection modes. no editing of cells and no drag-resizing of columns
yet, but I figured I'd let people see how it's coming along.

I've committed this to the java-gui-branch.

-graydon

2004-08-17  Graydon Hoare  <graydon@redhat.com>

	* Makefile.am: Add new files.
	* Makefile.in: Regenerate.
	* javax/swing/Box.java: Fix setting of layout in ctor.
	* javax/swing/JScrollPane.java: Scroll headers as well.
	* javax/swing/JTable.java: Reimplement.
	* javax/swing/JViewPort.java: Only add non-null children.
	* javax/swing/ScrollPaneLayout.java: Correct header calculations.
	* javax/swing/Timer.java: Fix stopping null waker.
	* javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
	* javax/swing/plaf/basic/BasicTableUI.java: New file.
	* javax/swing/table/DefaultTableCellRenderer.java: Configure.
	* javax/swing/table/DefaultTableColumnModel.java: Flesh out.
	* javax/swing/table/DefaultTableModel.java: Clean up.
	* javax/swing/table/JTableHeader.java: Implement.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: java-gui-various-jtable-work.patch
Type: text/x-patch
Size: 99408 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040818/97724ccd/attachment.bin>


More information about the Java-patches mailing list