Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #608
| From | "ashwinijain" <ashwinijain@THRWHITE.remove-dii-this> |
|---|---|
| Subject | how can i set center alig |
| Message-ID | <1168343250.552476.277880@s80g2000cwa.googlegroups.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| Date | 2011-04-27 15:28 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui hi, i am using a jtable for making some calculation and i want to set the center alignment of last column. But i really dont know how to set it? Please help me out... I used following method but it works for all columns.. ((JLabel)tab1.getDefaultRenderer(String.class)).setHorizontalAlignment (JLabel.CENTER); And i want to set alignment for last column only. --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Next in thread | Find similar
how can i set center alig "ashwinijain" <ashwinijain@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000
Re: how can i set center "Michael Rauscher" <michael.rauscher@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000
Re: how can i set center "ashwinijain" <ashwinijain@THRWHITE.remove-dii-this> - 2011-04-27 15:29 +0000
csiph-web