The Artima Developer Community
Sponsored Link

Java Buzz Forum
Duck Typing helps automatically dispose SWT Images

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Scott Delap

Posts: 1154
Nickname: scottdelap
Registered: Sep, 2004

Client / Server application developer.
Duck Typing helps automatically dispose SWT Images Posted: Apr 27, 2005 11:19 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Scott Delap.
Original Post: Duck Typing helps automatically dispose SWT Images
Feed Title: ClientJava.com
Feed URL: http://www.clientjava.com/archives/wireless_mobile.rdf
Feed Description: Client/Desktop Related Java Development
Latest Java Buzz Posts
Latest Java Buzz Posts by Scott Delap
Latest Posts From ClientJava.com

Advertisement

Duck Typing helps automatically dispose SWT Images
Let's look at a really practical example of why Duck Typing is important in Java. This example will use Java reflection to hack duck typing but will provide a basis for future discussion of how to really implement the technique in Java. If you need to make SWT automatically dispose Image objects, here's a simple class that gets the job done quite painlessly...

Read: Duck Typing helps automatically dispose SWT Images

Topic: Build Your First BlackBerry Java App Previous Topic   Next Topic Topic: [Apr 21, 2005 02:04 PDT] 5 Links

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use