File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes JClass software Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JClass software" Watch "JClass software" New topic
Author

JClass software

Jay S
Greenhorn

Joined: Jan 09, 2001
Posts: 13
Hi all
Is there anyone using JClass software for Sortable Tables and stuff..I need some help?
Actually I have a JCSortableTable which extends from JTable.
I am sending in a tablemodel which extends DefaultTableModel.
now when i populate the JCSortabletable, all the columns are left aligned by default. I have check boxes in one of the columns and they are also left-aligned. I want them to center-aligned. I could'nt find any solution. any thoughts?
is there any way i could set all the values in my column to be center-aligned.(either in JTable or JCSortableTable or DefaultColumnModel)??
thanks
Jay
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"Jay S",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
Don't get me started about those stupid light bulbs.
 
subject: JClass software