The Source for Java Technology Collaboration

Home » java.net Forums » Java Desktop Technologies » SwingLabs

Thread: Does anyone know if JDK 7 (or before)'s JTable will have a Column Control?

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 7 - Last Post: Jul 7, 2008 9:53 PM by: rturnbull
tjwolf

Posts: 90
Does anyone know if JDK 7 (or before)'s JTable will have a Column Control?
Posted: Jul 3, 2008 1:37 PM
  Click to reply to this thread Reply

JXTable has a nice concept of a column control popup which the JDK's JTable lacks (as far as I know). Does anyone know whether there are any plans to enhance JTable with this feature? Since in the past year or so, there were some comments about various feature development on JXTable having been suspended, I want to move back to JTable if I can. This is the only feature holding me back.

thnx for all info,
tom

kschaefe

Posts: 1,662
Re: Does anyone know if JDK 7 (or before)'s JTable will have a Column Control?
Posted: Jul 4, 2008 4:23 PM   in response to: tjwolf
  Click to reply to this thread Reply

> Since in the past
> year or so, there were some comments about various
> feature development on JXTable having been
> suspended
Umm, what features are you referring to? The only feature that is suspended is sorting/filtering and that's because when SwingX moves to 6.0, we'll adopt core sorting/filtering.

Karl

tjwolf

Posts: 90
Re: Does anyone know if JDK 7 (or before)'s JTable will have a Column Control?
Posted: Jul 7, 2008 7:55 AM   in response to: kschaefe
  Click to reply to this thread Reply

Hi Karl,
Yeah, I was talking about the sorting and filtering features (I guess I thought of them as 2 features, whereas you think of it as one :-) Do you have any idea when Swingx will be using the JDK sorting/filtering (or has it happened already?) I am currently using some source in my app that someone posted in this forum which provides row filtering capability (at the time, this was going to be added to swingx - don't know if that ever happened either). If JXTable moved to the JDK filtering/sorting, I could probably get rid of that code.

As to someone else's point that the column control popup should not be added to JTable because it would make Swing even more "bloated". I disagree - every user of Swing applications would benefit from being able to customize what columns they see in a table. Since this is of universal value, it belongs in the JDK.

Message was edited by: tjwolf

kschaefe

Posts: 1,662
Re: Does anyone know if JDK 7 (or before)'s JTable will have a Column Control?
Posted: Jul 7, 2008 8:46 AM   in response to: tjwolf
  Click to reply to this thread Reply

> Do you have any
> idea when Swingx will be using the JDK
> sorting/filtering (or has it happened already?)
It hasn't happened yet. It's supposed to be post-1.0, I think. Jan or Jeanette would be better at answering that question.

Karl

rturnbull

Posts: 460
Re: Does anyone know if JDK 7 (or before)'s JTable will have a Column Control?
Posted: Jul 7, 2008 9:53 PM   in response to: tjwolf
  Click to reply to this thread Reply

In the incubator I have a version of JXTable using Java 1.6 sorting.
See thread http://forums.java.net/jive/thread.jspa?threadID=39241&tstart=75

Please read the whole thread, as things changed half way through.

How different this is from what the actual swingx version for 1.6 will be is
anybodies guess.

ewin

Posts: 39
Re: Does anyone know if JDK 7 (or before)'s JTable will have a Column Control?
Posted: Jul 5, 2008 6:46 AM   in response to: tjwolf
  Click to reply to this thread Reply

JTable enhancements are very unlikely to happen. You see, Sun is currently JavaFX crazy. They have, for all practical purposes (as opposite to Sun's typical lip service), put Swing in stasis. Not that this makes much difference. The maintenance Swing got in recent years was more of a joke than serious professional work.

You are better off going with some of the third-party table implementations than hoping that Sun will improve anything in Swing. I pity the developers of these third-party components, who worked and are still working their behind off under the illusion that Sun will at some time include their enhancements into the SE.

magnum

Posts: 9
Re: Does anyone know if JDK 7 (or before)'s JTable will have a Column Contr
Posted: Jul 6, 2008 3:05 AM   in response to: ewin
  Click to reply to this thread Reply

> JTable enhancements are very unlikely to happen. You
> see, Sun is currently JavaFX crazy. They have, for
> all practical purposes (as opposite to Sun's typical
> lip service), put Swing in stasis. Not that this
> makes much difference. The maintenance Swing got in
> recent years was more of a joke than serious
> professional work.

I don't agree. They added very useful things in Java 5 and Java 6:
- they greatly improved the Look and Feel area, and they added the skinnable Look And Feel synth beginning with Java 5. I'm just beginning to work with it, ands it's really great !!
- you forget that there's column sorting and filtering in core JDK since Java 6 !!!
- Java 6 update N add translucent and non rectangular windows
- support for the system tray in Java 6
- no more grey rectangle !!!
- OpenGL / swing intermixing is possible since Java 6
- they improved a lot of swing operations in Java 6, by using more and more native GPU capabilities
- etc...

So I would not say that they put swing in stasis !!

jwenting

Posts: 478
Re: Does anyone know if JDK 7 (or before)'s JTable will have a Column Control?
Posted: Jul 7, 2008 4:31 AM   in response to: tjwolf
  Click to reply to this thread Reply

I'd not want such things added, making things even more bloated than they already are.




 XML java.net RSS