Stop Auto-Scrolling in SWT When The User Grabs The Scrollbar
Imagine you have a console widget in an SWT app. The app is doing some background work and dumps lots of text in the console. Something catches the eye of the user and she desperately tries to keep it...
View ArticleTraits for Groovy/Java
I’m again toying with the idea of traits for Java (or rather Groovy). Just to give you a rough idea if you haven’t heard about this before, think of my Sensei application template: class Knowledge {...
View ArticleHow to make Eclipse 3.5 work on gtk2 2.18
If you’re using Eclipse in Linux with gtk2, then you might have run into this issue: Buttons don’t work when you click on them, tree views are initially empty, icons are missing or not drawn correctly....
View ArticleSWT Tree and tooltips
If you need tooltips for elements in an SWT Tree or JFace TreeViewer, you had to jump through some hoops as Snippet 125 shows. Since SWT/JFace 3.3, you should use a TreeViewer, a ColumnLabelProvider...
View ArticleePen 0.7
I’ve started to work on ePen again. This time, I’m using Java and SWT/JFace. Python Traits was nice but too slow for my purpose, especially the editor. This is the main window. As you can see, there is...
View ArticleWhen you’re right, there is no middle ground
Yesterday, I attended a talk by Tom Schindl (he’s the guy behind UFaceKit and Qooxdoo, QxWT, etc.) And he’s working on e4. During our little conversation after the talk, he stressed the fact many...
View ArticleNeed something in SWT?
When the guys at SWT can’t be bothered, there is now an alternative: A little project to create drop in replacements for stuff that you want in SWT. Check it out here. In the same place, you can find a...
View Article