Swing Hacks

时间:2011-10-06 12:27:44
【文件属性】:

文件名称:Swing Hacks

文件大小:336KB

文件格式:CHM

更新时间:2011-10-06 12:27:44

Java Swing Components

介绍Swing组件的电子书 How This Book Is Organized The book is divided into several chapters, organized by subject: Chapter 1, Basic JComponents Here you'll find simple hacks for the basic components like labels, buttons, and text fields. This chapter contains a lot of bang for the buck, and it illustrates some of the techniques that we will explore more fully later on. From fancy JLabels to translucent menus, this is a great place to start. Chapter 2, Lists and Combos This chapter features complicated Swing components that are used everywhere. Bend them to your will! Make them look good with polymorphic renderers and animated selections. Make them perform well with filtering and Collections support. Chapter 3, Tables and Trees This chapter revelas the secrets of these mystic componentsfrom Excel exporting to proper JTree drop targets. Make the JTree and JTable dance. Chapter 4, File Choosers One of Swing's most maligned components, the JFileChooser, actually has a lot of power hiding inside some murky APIs. This chapter will let you use custom icons, detect Windows shortcuts, and even navigate ZIP files. Chapter 5, Windows, Dialogs, and Frames This is where the fun begins. Every application needs a container, so why not make it pretty and powerful? Make your windows drag and snap. Build custom windows like the earthquake login and spin open dialog. You can even save your window settings automatically with almost no code changes. Chapter 6, Transparent and Animated Windows If you went through the previous chapter and still want more, then this chapter is for you. We push windows to the limit with transparency, animations, slide-in OS X stylesheets, and some of the coolest special effects you've ever seen. Chapter 7, Text Text components seem boring, but there's a lot of power hiding in there. This chapter will show you how to do regular expression searching, dot completion, backward text, and even three different ways to give your application the bright sheen of anti-aliasing. Chapter 8, Rendering This chapter has the meat of the graphics hacks. Custom fonts, a magnifying glass, vector buttons, and even some work with Java3D. We've got some great things to make your application pop. Chapter 9, Drag-and-Drop When your users want two pieces of software to work together the first thing they want to do is drag-and-drop data from their other programs to yours. This chapter covers how to do robust and attractive drag-and-drop entirely within Java. Chapter 10, Audio What would be a cool modern application without some media support? This chapter covers four different ways to play sound, how to display waveforms, and how to embed MP3 support in your own programs. Chapter 11, Native Integration and Packaging The best software works well with the native operating system. Here you'll learn how to launch web browsers, hack the Windows registry, customize your program for specific platforms, and even control iTunes. Chapter 12, Miscellany This chapter offers a grab bag of things that didn't fit anywhere else, but were too cool not to include. Animated cursors, better threading, flashing the keyboard lights, and a bunch of quick one-liners to let you make the most of your busy day.


网友评论

  • 显示找不到页面,完全没有用,难道是我版本问题。。。
  • 还不错,有些帮助
  • 非常好的一本书,值得学习
  • 为什么我打开chm,页面显示找不到页面,然后我下载了别人的,发现不是我电脑的问题,由此可见……
  • 建议大家不要在这里下,Oreilly自己的shop里有的下载的.不全的话,官方给的下载也是不全的.
  • 还可以,就是有点不全,有些没有
  • 还不错,后来发现图书馆有...
  • 还不错吧,但是还不如去图书馆借本书籍看看~~
  • 这个皮肤貌似不错 正在研究中