Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to change how a table item is drawn on the screen
How to change how a table item is drawn on the screen [message #443117] Sun, 19 September 2004 07:10 Go to next message
Eclipse UserFriend
Originally posted by: bfisher2.cfl.rr.com

I am currently evaluating changing my code from Swing to SWT. But I find
that SWT is fairly primitive
and cumbersome. I don't really know enough yet to be sure. In Swing I have
a table that uses a custom
table renderer to draw a colored circle around text in a cell. How can
this be implemented in SWT
without going to a large amount of trouble. In Swing this is fairly easy
to do.
Re: How to change how a table item is drawn on the screen [message #443142 is a reply to message #443117] Mon, 20 September 2004 14:28 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
SWT tables are based in the native controls for the platform and don't
provide support for renders. Can you present your information in another
way, perhaps changing the color or the font of the table item?

"Bret Fisher" <bfisher2@cfl.rr.com> wrote in message
news:cijbcp$c67$1@eclipse.org...
> I am currently evaluating changing my code from Swing to SWT. But I find
> that SWT is fairly primitive
> and cumbersome. I don't really know enough yet to be sure. In Swing I have
> a table that uses a custom
> table renderer to draw a colored circle around text in a cell. How can
> this be implemented in SWT
> without going to a large amount of trouble. In Swing this is fairly easy
> to do.
>
Re: How to change how a table item is drawn on the screen [message #443369 is a reply to message #443142] Thu, 23 September 2004 22:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bfisher2.cfl.rr.com

Steve Northover wrote:

> SWT tables are based in the native controls for the platform and don't
> provide support for renders. Can you present your information in another
> way, perhaps changing the color or the font of the table item?

> "Bret Fisher" <bfisher2@cfl.rr.com> wrote in message
> news:cijbcp$c67$1@eclipse.org...
> > I am currently evaluating changing my code from Swing to SWT. But I find
> > that SWT is fairly primitive
> > and cumbersome. I don't really know enough yet to be sure. In Swing I have
> > a table that uses a custom
> > table renderer to draw a colored circle around text in a cell. How can
> > this be implemented in SWT
> > without going to a large amount of trouble. In Swing this is fairly easy
> > to do.
> >

No, unfortunately this means that SWT sucks for my puposes. My native
platform is Mac and I know
that supports changing renders and I have complete control over a native
Table control on the Mac.
This tells me that SWT just simply does not support the native interface
very well. I need flexibility on
all platforms however. Thats the point of using Java isn't it!!! Thanks
for the info though I will simply
stick with the best environment SWING.
Re: How to change how a table item is drawn on the screen [message #443410 is a reply to message #443369] Fri, 24 September 2004 15:43 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Keep on Swingin'!

"Bret Fisher" <bfisher2@cfl.rr.com> wrote in message
news:civhb6$nj$1@eclipse.org...
> Steve Northover wrote:
>
> > SWT tables are based in the native controls for the platform and don't
> > provide support for renders. Can you present your information in
another
> > way, perhaps changing the color or the font of the table item?
>
> > "Bret Fisher" <bfisher2@cfl.rr.com> wrote in message
> > news:cijbcp$c67$1@eclipse.org...
> > > I am currently evaluating changing my code from Swing to SWT. But I
find
> > > that SWT is fairly primitive
> > > and cumbersome. I don't really know enough yet to be sure. In Swing I
have
> > > a table that uses a custom
> > > table renderer to draw a colored circle around text in a cell. How can
> > > this be implemented in SWT
> > > without going to a large amount of trouble. In Swing this is fairly
easy
> > > to do.
> > >
>
> No, unfortunately this means that SWT sucks for my puposes. My native
> platform is Mac and I know
> that supports changing renders and I have complete control over a native
> Table control on the Mac.
> This tells me that SWT just simply does not support the native interface
> very well. I need flexibility on
> all platforms however. Thats the point of using Java isn't it!!! Thanks
> for the info though I will simply
> stick with the best environment SWING.
>
Previous Topic:How to implement Dialog action in PropertySheet Editor - like in VE
Next Topic:Move treeItem in a Tree?!!
Goto Forum:
  


Current Time: Thu Apr 25 21:05:23 GMT 2024

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

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

Back to the top