EUR 30,61
  • Tous les prix incluent la TVA.
Il ne reste plus que 5 exemplaire(s) en stock (d'autres exemplaires sont en cours d'acheminement).
Expédié et vendu par Amazon.
Emballage cadeau disponible.
Quantité :1
Vous l'avez déjà ?
Repliez vers l'arrière Repliez vers l'avant
Ecoutez Lecture en cours... Interrompu   Vous écoutez un extrait de l'édition audio Audible
En savoir plus
Voir les 2 images

Swing Hacks (Anglais) Broché – 5 juillet 2005


Voir les 2 formats et éditions Masquer les autres formats et éditions
Prix Amazon Neuf à partir de Occasion à partir de
Broché
"Veuillez réessayer"
EUR 30,61
EUR 17,56 EUR 2,21

Offres spéciales et liens associés



Descriptions du produit

Swing Hacks Helps Java developers move beyond the basics of Swing, the graphical user interface (GUI) standard since Java 2. The Hacks format provides short advanced tricks that you can instantly apply to increase your competency with interface-building tools. Example hacks include how to filter lists, power-up trees and tables, and add drag-and-drop support. Full description


Détails sur le produit

  • Broché: 542 pages
  • Editeur : O'Reilly (5 juillet 2005)
  • Collection : CLASSIQUE US
  • Langue : Anglais
  • ISBN-10: 0596009070
  • ISBN-13: 978-0596009076
  • Dimensions du produit: 15,2 x 2,7 x 22,9 cm
  • Moyenne des commentaires client : 5.0 étoiles sur 5  Voir tous les commentaires (1 commentaire client)
  • Classement des meilleures ventes d'Amazon: 224.629 en Livres anglais et étrangers (Voir les 100 premiers en Livres anglais et étrangers)
  •  Souhaitez-vous compléter ou améliorer les informations sur ce produit ? Ou faire modifier les images?


En savoir plus sur les auteurs

Découvrez des livres, informez-vous sur les écrivains, lisez des blogs d'auteurs et bien plus encore.

Dans ce livre (En savoir plus)
Parcourir les pages échantillon
Couverture | Copyright | Table des matières | Extrait | Index | Quatrième de couverture
Rechercher dans ce livre:

Commentaires en ligne

5.0 étoiles sur 5
5 étoiles
1
4 étoiles
0
3 étoiles
0
2 étoiles
0
1 étoiles
0
Voir le commentaire client
Partagez votre opinion avec les autres clients

Commentaires client les plus utiles

Par lupus sur 1 juillet 2010
Format: Broché Achat vérifié
Il faut bien l'avouer quiconque tente ou doit réaliser des IHM , notamment en JAVA et SWING, se trouve confronté à la grande quantité de code nécessaire pour obtenir une interface un minimum ergonomique.

Le recours à un IDE satisfaisant au début n'aide pas à la compréhension fine du langage, ni à la maitrise du code généré , ce qui peut devenir un projet en soi!!

Et pour contourner celà soit on maitrise très très bien les concepts avancés du langage et l'on se créé sa bibliothèque perso pour éviter de refaire à chaque nouveau projet des objets similaires;

Ou bien on utilise un livre proposant des exemples avancés de réalisation d'IHM.

Celui ci , avec sa présentation "recette de cuisine avancées" ( comme les cookbooks du même éditeur mais avec chaque thème plus approfondi ) est très pratique à utiliser.
Remarque sur ce commentaire Avez-vous trouvé ce commentaire utile ? Oui Non Commentaire en cours d'envoi...
Merci pour votre commentaire. Si ce commentaire est inapproprié, dites-le nous.
Désolé, nous n'avons pas réussi à enregistrer votre vote. Veuillez réessayer

Commentaires client les plus utiles sur Amazon.com (beta)

Amazon.com: 24 commentaires
34 internautes sur 35 ont trouvé ce commentaire utile 
Finally, a great Swing 'power user book' 11 juillet 2005
Par Martin Backe - Publié sur Amazon.com
Format: Broché
I'm surprised that it's taken this many years for a book like this to make it to market. There are good Swing books available, but they rarely go beyond the basics. As soon as I heard about this one, I pre-ordered and began waiting.

It essentially consists of 99 power 'tricks' for creating WOW effects in your user interfaces. Some are eye candy that you'd probably never put in a production application, but I'd say 80%+ could be applied to every day app's. I'll be spending many hours pouring over the details of each hack to gain the deep insight offered by this book.

This book is going to allow me to reach the next level of Swing polish. I find it hard to believe that most people that consider themselves Swing developers wouldn't gain a lot from reading this book. Run, don't walk, and get this book.

There are a few minor disappointments, but I emphasis minor. The production quality seems a bit rushed as there was quite a few obvious errors in the preface alone, although not of a technical nature. Perhaps only the preface escaped any editing oversight, since the remainder of the book had nothing that jumped out at me.

As usual today, the examples are all available for download from OReilly's website. But I wonder why they didn't take the extra step of providing runnable versions of each hack. You have to compile each one - a minor annoyance. When browsing the book it would have been cool to be able to just double-click an associated jar file to see the effect in action.

The author clearly uses a Macintosh, since all (perhaps I missed one or two) the screen shots are from a Mac, and some of the Hacks relate to duplicating Mac OS features. Seeing that the majority of Swing applications are probably deployed on Windows machines, a bit more emphasis on Windows would have been more appropriate. And the screen shots could have used a cross-platform look-and-feel instead of the Mac OS.

In short summary, the good, the bad, and the ugly...

The Good: Insanely great tricks for getting the most out of Swing.

The Bad: Perhaps too much Macintosh focus and not enough Windows (XP).

The Ugly: Probably a bit rushed out the door since there are some glaring production mistakes, like chapter summaries without the chapter names or numbers, etc.
19 internautes sur 19 ont trouvé ce commentaire utile 
Pretty good book on Swing insider tricks 15 décembre 2005
Par calvinnme - Publié sur Amazon.com
Format: Broché
This book is a pretty good one in the O'Reilly hack series, showing 100 specific tricks that you can do with Swing that you don't normally find in books or websites on the subject.

Chapter 6, "Transparent and Animated Windows," is one of my favorites because it helps my Swing components look a little more Mac-like. Creating transparent windows, creating frame-anchored sheets for dialogs, animating the sheet dialog, and sliding notes out from the taskbar are some of the hacks in that chapter. All it takes is a little knowledge of the Swing heavyweight component glass pane, and you're up and running. Buried in Hack 54 is an invaluable gem: Want to antialias all the text on your Swing application without touching any code? No problem, just add the following definition to the command line when you invoke your application:

java -Dswing.aatext=true MyStartClass

Chapter 10, "Audio," is also a good chapter to look at, because many Swing programmers tend to overlook sound as an important part of their application, plus since I am a multimedia programmer it is the kind of topic I would enjoy anyways. Maybe you want the swishing sound of a folder closing or of a clanging trash can when you throw away something in your Swing application. Hacks 70 through 73 discuss playing sounds with applets, JavaSound, the Java Media Framework, and Quicktime for Java technologies. Hack 74 shows you how to add MP3 support to the Java Media Framework API as well. This is not really a Swing hack, but it is simple to do and interesting.

Chapter 12, "Miscellany," presents us with some obvious tricks and some very important tips. For example, most programmers know that whenever they write event-handling code, such as an ActionListener that gets called when a button is pressed, they need to handle things quickly. You never want to spend any more time than you have to processing on the event-handling thread, or your GUI will become nonresponsive and be unable to repaint itself efficiently. Taking on a larger task often means kicking off a separate "worker" thread from the event-dispatching thread and letting that run in the background. However, what many beginning Swing programmers forget is that Swing is not thread-safe, which means that if you have GUI updates from that worker thread, you should always execute them back on the event-dispatching thread. In short, this means you should create another Runnable thread that kicks off serially with other GUI updates on the event-dispatching thread. You can do so by executing it with a call to SwingUtilities.invokeLater(myGUIUpdateThread).

Now for the few hacks that I did not like:

Hack #17 "Reorder a JList with Drag-and-Drop" is a good example of something potentially useful that just doesn't quite look right when you code it up and execute it.

Hack #42 "Make Your Frame Dissolve", is so bad it's almost funny, and would best be described as a failed hack.

Hack #48 "Make Text Components Searchable" is a really weak implementation, not even bothering to use highlighters. There's a much better example in Kim Topley's "Core Swing: Advanced Programming", which is out of print though it has some worthwhile content even now.

Hack #59 "Create a Color Eyedropper" is so visually bad that you will cringe when it executes.

However, I would not let these few failed hacks detract from the overall value of such a unique book. However, you might want to go to O'Reilly & Associates website and download the code first to see if this book is really up your alley before you purchase it. I see that the table of contents is not listed by Amazon, so I do that here for the purpose of completeness:

Chapter 1. Basic JComponents

Chapter 2. Lists and Combos

Chapter 3. Tables and Trees

Chapter 4. File Choosers

Chapter 5. Windows, Dialogs, and Frames

Chapter 6. Transparent and Animated Windows

Chapter 7. Text

Chapter 8. Rendering

Chapter 9. Drag-and-Drop

Chapter 10. Audio

Chapter 11. Native Integration and Packaging

Chapter 12. Miscellany
8 internautes sur 9 ont trouvé ce commentaire utile 
Beyond the Tip of the Iceberg 17 novembre 2005
Par Ernest Friedman-Hill - Publié sur Amazon.com
Format: Broché
Most Java programmers, if they use the Swing GUI toolkit at all, use it in a fairly superficial way, accepting default configurations for most components and letting the built-in "look and feel" supply the appearance and behavior. The more knowledgeable programmer might know how to adopt the platform-specific look and feels on each platform. But it's quite rare for a Swing programmer to customize things much beyond that.

All of which is really a shame. Swing is like that cliched iceberg: just the spare top of it floats above the surface, with the vast bulk of possibility submerged and lurking in the depths. In this clever book, Marinacci and Adamson show you how to mine those depths and come up with GUIs that don't look like Java applications at all.

The book is a collection of recipes for achieving some really spectacular effects. I appreciated that lot of thought seems to have been put into making the examples small enough for a book. There are only a few multi-page listings among the 100 recipes between these covers.

If I have a complaint, it's that the book has a fairly obvious slant toward the Mac OS X platform. Many of the hacks are devoted to making your application emulate some OS X feature or another. In a way, this is justifiable -- after all, OS X's GUI includes many innovations not included in Swing by default -- but it's likely to leave those folks primarily interested in making Swing fit in better on Windows a little jealous.
4 internautes sur 4 ont trouvé ce commentaire utile 
Interesting but not very useful 3 février 2008
Par Dmitri Petrov - Publié sur Amazon.com
Format: Broché Achat vérifié
This book gives a good set of more in depth approaches to building GUI in Swing. While reading it I had a lot of 'that's interesting' moments. However, a lot of the examples feel more like an idea of what needs to be done to achieve something rather than a complete (and robust) implementation. What is more disappointing, I found that some advice in the book is misleading. For example Hack #57 demonstrates how to use the glass pane to intercept and riderect mouse events. Unfortunately, as demonstrated, this approach doesn't work at all in the applications that use any components that have menus. A very significant shortcoming, in my opinion, that is not mentioned in the book.
5 internautes sur 6 ont trouvé ce commentaire utile 
concise examples across much of Swing 15 juillet 2005
Par W Boudville - Publié sur Amazon.com
Format: Broché
If you program in Java, often you have graphical elements in a user interface. The original default AWT widgets have been largely supplanted by Swing widgets. These are more powerful and usually easier to program, as shown in this text.

While the hacks are not meant to be a comprehensive sweep over all the Swing widgets, there is enough variety amongst them to easily show you the abilities. The coding is useful in providing relatively succinct examples. UI programming is often very wordy in the source code. But the hack examples convey working solutions notable for their brevity. In and of itself, this is a virtue of the book. For it shows that Swing can be concisely applied. Less typing, and easier to understand. Which also means easier to debug.
Ces commentaires ont-ils été utiles ? Dites-le-nous


Commentaires

Souhaitez-vous compléter ou améliorer les informations sur ce produit ? Ou faire modifier les images?