Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home »  » Standard Widget Toolkit (SWT) » SWT Table Object vs. Linux(SWT Table crash down under Linux )
SWT Table Object vs. Linux [message #1752582] Wed, 25 January 2017 10:26 Go to next message
Somogyi Zsolt is currently offline Somogyi ZsoltFriend
Messages: 3
Registered: January 2017
Junior Member
Hi Everybody

I try to make a Table with SWT. I need the scroll bars also. I have no problem under windows. I use in windows the swt-4.6.2-win32-win32-x86_64.
The same code under Linux with swt-4.6.2-gtk-linux-x86_64 does not work properly.
If I define the Table in a shell or a simple Composite, and I have to scroll, the TableItems scrolling, but the Labels and Buttons does not do nothing.
If I try to pack the Table in a scroll Composite, then I got a crash under Linux, but only in Linux.


  • Attachment: err.log
    (Size: 67.11KB, Downloaded 33 times)
  • Attachment: TableTester.java
    (Size: 10.55KB, Downloaded 32 times)
Re: SWT Table Object vs. Linux [message #1752611 is a reply to message #1752582] Wed, 25 January 2017 15:22 Go to previous messageGo to next message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 694
Registered: January 2012
Senior Member

You're calling "ImageComposite.setSize()" after you've already opened me3.

Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Re: SWT Table Object vs. Linux [message #1752632 is a reply to message #1752611] Wed, 25 January 2017 16:39 Go to previous messageGo to next message
Somogyi Zsolt is currently offline Somogyi ZsoltFriend
Messages: 3
Registered: January 2017
Junior Member
Yes I do. I read it in the ScrollComposite description, that I have to do so.
If I don't call the setSize, the shell #3 comes in the Linux also, but the table is invisible. Without call it is invisible under windows also. I think, I need this call there. May be, without this call the size of the table is 0,0.
Re: SWT Table Object vs. Linux [message #1752633 is a reply to message #1752611] Wed, 25 January 2017 16:40 Go to previous message
Somogyi Zsolt is currently offline Somogyi ZsoltFriend
Messages: 3
Registered: January 2017
Junior Member
Yes I do. I read it in the ScrollComposite description, that I have to do so.
If I don't call the setSize, the shell #3 comes in the Linux also, but the table is invisible. Without call it is invisible under windows also. I think, I need this call there. May be, without this call the size of the table is 0,0.
Previous Topic:ExpandBar Collapse/Expand Listener Post Setting of expanded
Next Topic:SWT Exception with Neon Linux GTK3 dark theme setting
Goto Forum:
  


Current Time: Sun Dec 17 00:30:30 GMT 2017

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

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