Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » TreeTable in Swing?
TreeTable in Swing? [message #460426] Thu, 25 August 2005 23:52 Go to next message
Eclipse UserFriend
Originally posted by: bob.objfac.com

Some people like to talk about how much more powerful Swing is than SWT.
So what's the Swing equivalent to SWT's TreeTable?

I'm not just trolling; I'd really like to know.

Bob
Re: TreeTable in Swing? [message #460427 is a reply to message #460426] Fri, 26 August 2005 02:46 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Bob Foster wrote:

> Some people like to talk about how much more powerful Swing is than SWT.
> So what's the Swing equivalent to SWT's TreeTable?
>
> I'm not just trolling; I'd really like to know.
>
> Bob

JXTreeTable from swingx project (more powerfull)
What is swt equivalent for JTable (swt Table isn't sure)

regards
Re: TreeTable in Swing? [message #460457 is a reply to message #460426] Sat, 27 August 2005 22:10 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 97
Registered: July 2009
Member
There are some more features in Swing. But then when it fails to
really basic requirement such as basic os supported operations, cannot be
said of any good-ness. However if SWT can support those features,
that should be beneficial. Note that Swing can be used only for
simple applications for s/w engineers only. Definitely not for
casual users.

"Bob Foster" <bob@objfac.com> wrote in message
news:dellja$d0q$1@news.eclipse.org...
> Some people like to talk about how much more powerful Swing is than SWT.
> So what's the Swing equivalent to SWT's TreeTable?
>
> I'm not just trolling; I'd really like to know.
>
> Bob
Re: TreeTable in Swing? [message #460496 is a reply to message #460427] Tue, 30 August 2005 09:28 Go to previous messageGo to next message
Neil Bartlett is currently offline Neil BartlettFriend
Messages: 93
Registered: July 2009
Member
There's no built-in TreeTable in Swing, although there are a number of
third party libraries that implement it. They all rely on a nasty hack
whereby a tree control is used as the renderer for the first column of a
table control.

On the other hand, SWT's tables and trees do have a number of limitations
which are not present in Swing. Mostly these limitations seem to be
imposed by the win32 table control, eg cannot centre images in a column,
no multi-line table headers, no tooltips or popup menus on headers, etc.
Re: TreeTable in Swing? [message #460500 is a reply to message #460496] Tue, 30 August 2005 11:00 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 97
Registered: July 2009
Member
It's not that difficult to develop special custom widgets. We use all custom
developed widgets along with AWT widgets. Works far better and smoothly.
I have to say Swing ruined Java as desktop developer platform.


"Neil Bartlett" <neil@integility.com> wrote in message
news:00372d114e7394170115751f3d46c6e5$1@www.eclipse.org...
> There's no built-in TreeTable in Swing, although there are a number of
> third party libraries that implement it. They all rely on a nasty hack
> whereby a tree control is used as the renderer for the first column of a
> table control.
>
> On the other hand, SWT's tables and trees do have a number of limitations
> which are not present in Swing. Mostly these limitations seem to be
> imposed by the win32 table control, eg cannot centre images in a column,
> no multi-line table headers, no tooltips or popup menus on headers, etc.
>
Re: TreeTable in Swing? [message #460509 is a reply to message #460500] Tue, 30 August 2005 13:47 Go to previous messageGo to next message
Neil Bartlett is currently offline Neil BartlettFriend
Messages: 93
Registered: July 2009
Member
> I have to say Swing ruined Java as desktop developer platform.

What nonsense. My preferred API for Java GUI development is SWT, but there
are plenty of fine Swing applications around as well. It doesn't serve
either the SWT community or the wider Java community to reduce the
SWT-vs-Swing debate to a flame war.


Joe Smith wrote:

> It's not that difficult to develop special custom widgets. We use all custom
> developed widgets along with AWT widgets. Works far better and smoothly.
> I have to say Swing ruined Java as desktop developer platform.

>> There's no built-in TreeTable in Swing, although there are a number of
>> third party libraries that implement it. They all rely on a nasty hack
>> whereby a tree control is used as the renderer for the first column of a
>> table control.
>>
>> On the other hand, SWT's tables and trees do have a number of limitations
>> which are not present in Swing. Mostly these limitations seem to be
>> imposed by the win32 table control, eg cannot centre images in a column,
>> no multi-line table headers, no tooltips or popup menus on headers, etc.
>>
Re: TreeTable in Swing? [message #460521 is a reply to message #460496] Wed, 31 August 2005 00:08 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Neil Bartlett wrote:

> There's no built-in TreeTable in Swing, although there are a number of
> third party libraries that implement it. They all rely on a nasty hack
> whereby a tree control is used as the renderer for the first column of a
> table control.

swt TreeTable is third party, too - swingx project have better table
(JXTable), JXTreeTable and much more - it is only one library, like swt

eclipse framework is great framework, but swing is much better gui


regards
Re: TreeTable in Swing? [message #460524 is a reply to message #460521] Wed, 31 August 2005 08:24 Go to previous messageGo to next message
Neil Bartlett is currently offline Neil BartlettFriend
Messages: 93
Registered: July 2009
Member
True, although nobody should be using TreeTable any more (in new code at
least), they should be using Tree with its recently added multi-column
support.
Re: TreeTable in Swing? [message #460531 is a reply to message #460509] Wed, 31 August 2005 12:13 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 97
Registered: July 2009
Member
I haven't seen any fine Swing-based systems. At least I should have seen
from Java.com! Maybe your quality standard may not need beyond
Swing. Note that if Swing was adequate, no SWT project would
have initiated. Also SWT project should disband. If Swing is good,
SWT project is actually harming Java.

You need to look around for reality check. We heavily depend on
AWT with custom widgets. We simply cannot use Swing. We use our
Swing version systems to demo how crap Swing is.

Best regards.

"Neil Bartlett" <neil@integility.com> wrote in message
news:ec636f15ab10d8017b213a9e3656d307$1@www.eclipse.org...
>> I have to say Swing ruined Java as desktop developer platform.
>
> What nonsense. My preferred API for Java GUI development is SWT, but there
> are plenty of fine Swing applications around as well. It doesn't serve
> either the SWT community or the wider Java community to reduce the
> SWT-vs-Swing debate to a flame war.
>
>
> Joe Smith wrote:
>
>> It's not that difficult to develop special custom widgets. We use all
>> custom
>> developed widgets along with AWT widgets. Works far better and smoothly.
>> I have to say Swing ruined Java as desktop developer platform.
>
>>> There's no built-in TreeTable in Swing, although there are a number of
>>> third party libraries that implement it. They all rely on a nasty hack
>>> whereby a tree control is used as the renderer for the first column of a
>>> table control.
>>>
>>> On the other hand, SWT's tables and trees do have a number of
>>> limitations which are not present in Swing. Mostly these limitations
>>> seem to be imposed by the win32 table control, eg cannot centre images
>>> in a column, no multi-line table headers, no tooltips or popup menus on
>>> headers, etc.
>>>
>
Re: TreeTable in Swing? [message #460541 is a reply to message #460531] Wed, 31 August 2005 16:07 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Joe Smith wrote:

> I haven't seen any fine Swing-based systems.

netbeans,IDEA isn't fine ? Are you try ?
Re: TreeTable in Swing? [message #460547 is a reply to message #460541] Wed, 31 August 2005 14:33 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

snpe wrote:
>
>
> netbeans,IDEA isn't fine ? Are you try ?

So I'm definitely pro-eclipse now :-) but I worked on a team that used
IntelliJ from IDEA for a couple of years ... it was an IDE that worked
with the user and was just as responsive as eclipse is these days.

If it's Swing based, they did a really good job.

Later,
PW


Re: TreeTable in Swing? [message #460549 is a reply to message #460547] Wed, 31 August 2005 16:46 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Paul Webster wrote:

> snpe wrote:
>>
>>
>> netbeans,IDEA isn't fine ? Are you try ?
>
> So I'm definitely pro-eclipse now :-) but I worked on a team that used
> IntelliJ from IDEA for a couple of years ... it was an IDE that worked
> with the user and was just as responsive as eclipse is these days.
>
> If it's Swing based, they did a really good job.
>
>
it is Swing application - last netbeans (4.2) is great, too
Eclipse framework (rcp) is the best framework for me, but swt missing
more features (special with table) - it is possible embed swing in rcp, now
Re: TreeTable in Swing? [message #460589 is a reply to message #460549] Wed, 31 August 2005 22:36 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 97
Registered: July 2009
Member
If I am wrong, SWT project team is also wrong since they are
duplicating work already done and undermining Java! Actually
the project is doing to improve weakness of Java.

I wrote over quarter million Java codes myself. They are all higest
complexity. Half of them involve complex visualizations and
GUI interfaces. I have been pushing the limit of Java. Currently Java
is mainly used for dynamic web-sites. Or used to develop s/w
mainly used by developers. Netbean is one of them. Not for causual
professional users! Swingers still don't understand the fact that without
serious commercial software for casual users, you cannot say much.
Software developed on Swing (and Java) struggles in the market!
That's why we need platform that can match that of Visual Basic/C++.

Regards.

> it is Swing application - last netbeans (4.2) is great, too
> Eclipse framework (rcp) is the best framework for me, but swt missing
> more features (special with table) - it is possible embed swing in rcp,
> now
>
Re: TreeTable in Swing? [message #460594 is a reply to message #460589] Thu, 01 September 2005 02:37 Go to previous messageGo to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Joe,
this is talk only - no arguments
Joe Smith wrote:

> If I am wrong, SWT project team is also wrong since they are
> duplicating work already done and undermining Java! Actually
> the project is doing to improve weakness of Java.
>
> I wrote over quarter million Java codes myself. They are all higest
> complexity. Half of them involve complex visualizations and
> GUI interfaces. I have been pushing the limit of Java. Currently Java
> is mainly used for dynamic web-sites. Or used to develop s/w
> mainly used by developers. Netbean is one of them. Not for causual
> professional users! Swingers still don't understand the fact that without
> serious commercial software for casual users, you cannot say much.
> Software developed on Swing (and Java) struggles in the market!
> That's why we need platform that can match that of Visual Basic/C++.
>
> Regards.
>
>> it is Swing application - last netbeans (4.2) is great, too
>> Eclipse framework (rcp) is the best framework for me, but swt missing
>> more features (special with table) - it is possible embed swing in rcp,
>> now
>>
Re: TreeTable in Swing? [message #460629 is a reply to message #460457] Thu, 01 September 2005 22:36 Go to previous message
Eclipse UserFriend
Originally posted by: bob.objfac.com

I didn't mean to bring the trolls out.

Bob

Joe Smith wrote:
> There are some more features in Swing. But then when it fails to
> really basic requirement such as basic os supported operations, cannot be
> said of any good-ness. However if SWT can support those features,
> that should be beneficial. Note that Swing can be used only for
> simple applications for s/w engineers only. Definitely not for
> casual users.
>
> "Bob Foster" <bob@objfac.com> wrote in message
> news:dellja$d0q$1@news.eclipse.org...
>
>>Some people like to talk about how much more powerful Swing is than SWT.
>>So what's the Swing equivalent to SWT's TreeTable?
>>
>>I'm not just trolling; I'd really like to know.
>>
>>Bob
>
>
>
Previous Topic:FormLayout: prevent Text-fields from resizing horizontally
Next Topic:Help -- setSelectionProvider in Editor -- possible bug
Goto Forum:
  


Current Time: Fri Apr 19 04:12:01 GMT 2024

Powered by FUDForum. Page generated in 0.02948 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top