Nine handy minibooks cover just what programmers need to get going with Java 7 The newest release of Java has more robust functionality to help web and mobile developers get the most ouf of this platform– independent programming language. Like its bestselling previous editions, Java All– in– One For Dummies, 3rd Edition has what you need to get up and running quickly with the new version. Covering the enhanced mobile development and syntax features as well as programming improvements, this guide makes it easy to find what you want and put it to use. Focuses on the vital information that enables you to get up and running quickly on the new version Covers the enhanced multimedia features as well as programming enhancements, Java and XML, Swing, server– side Java, Eclipse, and more Minibooks cover Java basics programming basics strings, arrays, and collections programming techniques Swing Web programming files and databases and a „fun and games” category Rather than trying to cover every aspect of this massive topic, Java All– in– One For Dummies, 3rd Edition focuses on the practical information you need to become productive with Java 7 right away. Nine handy minibooks cover just what programmers need to get going with Java 7 The newest release of Java has more robust functionality to help web and mobile developers get the most ouf of this platform– independent programming language. You too can be a Java guru! From getting started to website and mobile app– building, here′ s the scoop There′ s a lot to know about Java, the programming language that lets you create all kinds of cool websites and mobile apps. So isn′ t it great that all the important stuff is in this one handy guide? From what Java is and how to download it to creating interactive sites, working with databases, and writing simple game programs, here′ s just what you need to know! Getting started — learn what Java does, download and install it, and work with the command– line tools and TextPad All the basics — explore programming essentials, object– oriented programming concepts, and special programming techniques Get in the Swing — find out how Swing lets you write programs that respond when the user clicks a button or types text Fun with files and databases — use Java′ s database interface and XML features to work with stored data Let′ s play — fiddle with fonts and colors, draw pictures, work with images and media, and create animations Visit the companion website at www.dummies.com/go/javaaiofd3e for all the code listings in this book plus bonus chapters about Eclipse, JavaBeans, BigDecimals, and using menus. Open the book and find: Java′ s strengths and weaknesses All about Java API classes How to work with loops and methods Tips on working with classes What to do with strings and arrays How Swing enables user input A guide to creating applets Cool game programming tips 9 books in 1 Java Basics Programming Basics Object– Oriented Programming Strings, Arrays, and Collections Programming Techniques Swing Web Programming Files and Databases Fun and Games You too can be a Java guru! From getting started to website and mobile app– building, here′ s the scoop There′ s a lot to know about Java, the programming language that lets you create all kinds of cool websites and mobile apps. So isn′ t it great that all the important stuff is in this one handy guide? From what Java is and how to download it to creating interactive sites, working with databases, and writing simple game programs, here′ s just what you need to know! Getting started — learn what Java does, download and install it, and work with the command– line tools and TextPad All the basics — explore programming essentials, object– oriented programming concepts, and special programming techniques Get in the Swing — find out how Swing lets you write programs that respond when the user clicks a button or types text Fun with files and databases — use Java′ s database interface and XML features to work with stored data Let′ s play — fiddle with fonts and colors, draw pictures, work with images and media, and create animations Visit the companion website at www.dummies.com/go/javaaiofd3e for all the code listings in this book plus bonus chapters about Eclipse, JavaBeans, BigDecimals, and using menus. Open the book and find: Java′ s strengths and weaknesses All about Java API classes How to work with loops and methods Tips on working with classes What to do with strings and arrays How Swing enables user input A guide to creating applets Cool game programming tips 9 books in 1 Java Basics Programming Basics Object– Oriented Programming Strings, Arrays, and Collections Programming Techniques Swing Web Programming Files and Databases Fun and Games Introduction 1 Book I: Java Basics 7 Chapter 1: Welcome to Java 9 Chapter 2: Installing and Using Java Tools 21 Chapter 3: Working with TextPad 35 Book II: Programming Basics 43 Chapter 1: Java Programming Basics 45 Chapter 2: Working with Variables and Data Types 65 Chapter 3: Working with Numbers and Expressions 97 Chapter 4: Making Choices 125 Chapter 5: Going Around in Circles (Or, Using Loops) 147 Chapter 6: Pulling a Switcheroo 173 Chapter 7: Adding Some Methods to Your Madness 185 Chapter 8: Handling Exceptions 203 Book III: Object– Oriented Programming 223 Chapter 1: Understanding Object– Oriented Programming 225 Chapter 2: Making Your Own Classes 237 Chapter 3: Working with Statics 253 Chapter 4: Using Subclasses and Inheritance 261 Chapter 5: Using Abstract Classes and Interfaces 281 Chapter 6: Using the Object and Class Classes 293 Chapter 7: Packaging and Documenting Your Classes 319 Book IV: Strings, Arrays, and Collections 335 Chapter 1: Working with Strings 337 Chapter 2: Using Arrays 355 Chapter 3: Using the ArrayList Class383 Chapter 4: Using the LinkedList Class 395 Chapter 5: Creating Generic Collection Classes 407 Book V: Programming Techniques 421 Chapter 1: Programming Threads 423 Chapter 2: Network Programming 451 Chapter 3: Using Regular Expressions 475 Chapter 4: Using Recursion 491 Book VI: Swing 505 Chapter 1: Swinging into Swing 507 Chapter 2: Handling Events 523 Chapter 3: Getting Input from the User 541 Chapter 4: Choosing from a List 569 Chapter 5: Using Layout Managers 593 Book VII: Web Programming 615 Chapter 1: Creating Applets 617 Chapter 2: Creating Servlets 625 Chapter 3: Using JavaServer Pages 647 Book VIII: Files and Databases 661 Chapter 1: Working with Files 663 Chapter 2: Working with File Streams 685 Chapter 3: Database for $100, Please 713 Chapter 4: Using JDBC to Connect to a Database 729 Chapter 5: Working with XML 747 Book IX: Fun and Games 765 Chapter 1: Fun with Fonts and Colors 767 Chapter 2: Drawing Shapes 781 Chapter 3: Using Images and Sound 803 Chapter 4: Animation and Game Programming 817 Bonus Chapters on the Companion Web Site …. www.dummies.com/go/javaaiofd3e Bonus Chapter 1: Using Eclipse Bonus Chapter 2: Using BigDecimals Bonus Chapter 3: Twiddling Your Bits Bonus Chapter 4: Making Menus Bonus Chapter 5: Using JavaBeans Index 835 Doug Lowe began writing programming books before Java was invented. He′ s covered COBOL, Fortran, Visual Basic, Web programming, and more, and is the bestselling author of more than 30 For Dummies books, including all editions of Java All– in– One For Dummies .