SCJP 1.4 (91%)<br />SCJD 1.4 (376/400, 94%)
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Originally posted by Robert Konigsberg:
in SWT and JFace, you need to allocate and release handles to manage resources.
It's just one of those things that you need to be extra-vigilant about until you get the hang of it.
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Eh, not necessarily so. The biggest difference, and one which I've found to be consistenly tricky when you're out of practice, is whereas in Swing, where GUI resource management is handled automatically, in SWT and JFace, you need to allocate and release handles to manage resources.
It's just one of those things that you need to be extra-vigilant about until you get the hang of it.
In a nutshell, SWT is a widget toolkit (buttons, menus, tables, trees, et al.), that uses native widgets to ensure precise desktop integration and best performance. JFace is an abstraction layer that rides on top of SWT--sort of an MVC layer. You can use SWT without using JFace, but in many cases JFace makes development easier.
Originally posted by Jan Rotthaus:
Hi Alvin,
yes, SWT is only for desktop applications, so no applets!
Jan
Originally posted by Rob Warner:
SWTworkbench and SWT Designer are a couple.
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Originally posted by Alvin chew:
do anyone know where to get API for jFace ? thank you !
Originally posted by Alvin chew:
do anyone know how to display graph in swt ? thank you !
Anything worth doing well is worth doing poorly first. Just look at this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|