zero ha scritto:
> domenico.test@gmail.com wrote in news:1140368789.831896.67720
> @g14g2000cwa.googlegroups.com:
[quoted text clipped - 20 lines]
> }
> }
Yes, I had see the exaple but i need that the first two columns are
fixed and the other scroll.
e.g.
The table have 6 columns and 4 are diplayed.
---------------------------------
| Col 1 | Col 2 | Col 3 | Col 4 |
| | | | |
scrollbar -> <------------->
Using the scrollbar the first two columns are displayed with the column
5 and 6
---------------------------------
| Col 1 | Col 2 | Col 5 | Col 6 |
| | | | |
<-------- ------>
zero - 23 Feb 2006 19:30 GMT
> zero ha scritto:
>
[quoted text clipped - 41 lines]
>| | | | |
> <-------- ------>
I have never tried anything like this. I think you would need to write
a custom UIManager, or maybe a custom JScrollPane. I'm not sure how to
get started on this though. Perhaps a different approach would be
feasible, such as two separate JTables side by side, or some other
workaround.
You may get a better reply at sun's own java forums. The swing forum
can be found at http://forum.java.sun.com/forum.jspa?forumID=57
I would be interested in any solution you come up with.
hiwa - 23 Feb 2006 23:38 GMT
> first two columns are fixed
See links found on this page:
http://www.javaworld.com/javaforums/showthreaded.php?Cat=&Board=javabeginner&Num
ber=26604&page=&view=&sb=5&o=&vc=1