how to set center alignment in JTable?
From: lucy (losemind_at_yahoo.com)
Date: 08/31/04
- Next message: Andrew Thompson: "Re: javac -server"
- Previous message: Andrew Thompson: "Re: what is the removal/desctrution methods for java object?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 31 Aug 2004 11:56:06 -0700
Hi, I've used the following to set the alignment for cells in JTable...
ttt.setAlignmentX(0.5);
ttt.setAlignmentY(0.5);
where ttt is a JTable object,
but it did not work at all,... (the JTable display shows no change at
all...)
What's the problem?
- Next message: Andrew Thompson: "Re: javac -server"
- Previous message: Andrew Thompson: "Re: what is the removal/desctrution methods for java object?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|