How to change how a table item is drawn on the screen [message #443117] |
Sun, 19 September 2004 07:10 |
Eclipse User |
|
|
|
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 #443369 is a reply to message #443142] |
Thu, 23 September 2004 22:05 |
Eclipse User |
|
|
|
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.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03095 seconds