Eclipse-SWT, anyone?

I should learn some SWT, I assume. It's a fashionable thing. If a customer gets trapped in that maybe I'm assigned to help then in migrating. I should be prepared.

I thought I could make some open-letter asking for help to learn SWT. After all open-letters are fashionable as well. After all swingers are fashionable too ;-)

I've installed one of the Eclipse 3.0rcX releases lately in my laptop. What a memory hog!. Slow (yeah, I'm still running Mandrake 9.1 on one of those PIII 700Mhz :-( ). It crashed several times. Ok, well, anyway, back to SWT...

I didn't find any good tutorials at the Eclipse site. Well, in fact I hardly found the SWT page. It took me several clicks to reach a swt related page. After that you reach the Tutorials page and... all you find is a wiki and some stuff from the University of Manitoba? Since I'm some sort of busy guy, and because Spain is playing the Eurocopa 2004 in Portugal right now, I want to go straight to the point, learn some quick SWT and leave. So there we reach my first question:

Question I: Do you know of any good, free, straight-to-the-point, SWT tutorial?

I didn't find anything about SWT accesibility. You know that your UI should be accesible to people with dissabilities. This is not just a fancy requirement, the fact is that you must be accessible in lots of government related stuff, in lots of different countries. So there goes my second question:

Question II: Does anyone know a good URL for learning SWT accesibility?

Since Spain had already finished playing (Spain I-Greece I, good match, real pity ;-) ) I did some more browsing through the recently found SWT page. And some others. I happened to take a look a the Eclipse build notes here . Now I am astonished there're so many "crash" words in there (more than one hundred). So here comes my third question:

Question III: Does Eclipse/SWT crash that much?

I decided to go for the official sources because the tutorial at University of Manitoba is in PDF, and I don't really like PDF. So I decided to go for the SWT Part 2 here. A little bit outdated since it's 2001. It says you have to dispose things. Lots of things. It talks of images, fonts, and whatever. So here comes my fourth question today:

Question IV: Do you really have to dispose things in SWT?

If you have any good answers to these questions I would be delighted you to email them to me clicking here. You can leave a comment to this blog if you prefer. Thanks in advance

UPDATE: GTK Accesibility

I've found that someone at IBM is working on GTK accesibility. Or should be working on that. Or whatever. The fact is that the bug was assigned to him a little time back (October 2003) and he has been doing little progress. Good luck, mate!


Comentarios:

I. On the Eclipse site there are a few community resources listed. However for an absolute beginner in SWT I strongly recommend 'the Umanitoba files'.n You can also check http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/external.html (SWT community page). There are some OSS project down there implementing excellent SWT techniques in their source code. Azureus is one of them, great source of inspiration. II. No idea. III. I haven't EVER had a SWT-related crash. But I do my homework well and dispose the necessary resources when they are no longer needed. IV. Yes you really do but it's actually quite simple. In a tree of SWT objects, disposing one will recursively dispose all its childre. As for images, fonts and colors, if you are not using A LOT of these (such as in a graphic software) the best practice is to pass through a facade which transparently creates resources as needed and keeps them in a cache. The overhead memory for a dozen if icons, ten colors and a few fonts is really low compared with the memory gobbed by a usual java app.

Enviado por Adrian en junio 20, 2004 a las 03:16 AM CEST #

Ditto on everything Adrian said. And just to reiterate, I also have never had an SWT-related crash either.

Enviado por Chris en junio 21, 2004 a las 07:00 PM CEST #

I am also a Java programmer, work a lot in various technologies from standalone regular / front end (swing) to j2ee related. I want to learn myself swt too, especially in order to be able to develop Eclipse plug-in modules. I believe that the files at the univ. of Manitoba are very good expecially for beginners. Never had a swt related crash of eclipse so I believe it is very good indeed.

Enviado por Daniel en julio 07, 2004 a las 11:20 AM CEST #

Enviar un comentario:
Los comentarios han sido deshabilitados.
About

swinger

Search

Archives
« abril 2014
lunmarmiéjueviesábdom
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Hoy