• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

To be convenient in downloading SWT Library to test the application in sample chapter

 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure about others. As for me, I found it's a bit difficult to find the SWT library in Eclipse.org site. I tried to find it by surfing the Eclipse.org site for several minutes and finally I gave up... Then I came out of that site and googled using "SWT library download"... Finally I can find it on Google... Now I am reading the sample chapter(chapter-3) to introduce myself with SWT...

FYI, here is the link to SWT Library Download...

Just my 2 cents...

P.S., in the HelloWorld example of chapter-3, why don't we need to listen to the WindowsListener like in Swing? Events like closing windows... Or is it available as default in Display class? Or in Shell?
[ July 08, 2004: Message edited by: Ko Ko Naing ]
 
author
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can put an event handler on the close event for the window, but you don't have to. The shell knows that if the user tries to close it, it should close.
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Rob Warner:
You can put an event handler on the close event for the window, but you don't have to. The shell knows that if the user tries to close it, it should close.



Cool! But if I am wrong, JFrame needs manual adding of WindowsListener to it... At least setDefaultCloseOperation(int operation)... But SWT's shell already knows about it... That's cool, coz it's less coding...
 
I can't beleive you just said that. Now I need to calm down with this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic