ptg
vi Sams Teach Yourself Java in 24 Hours,Sixth Edition
HOUR 20: Reading and Writing Files
Streams.................................................. 283
Writing Data to a Stream............................ 290
Reading and Writing Configuration Properties.. 292
PART VI: Writing Internet Applications
HOUR 21:Reading and Writing XML Data
Creating an XML File.................................. 299
Reading an XML File.................................. 302
Reading RSS Syndication Feeds.................. 307
HOUR 22:Creating Web Services with JAX-WS
Defining a Service Endpoint Interface.......... 313
Creating a Service Implementation Bean...... 316
Publishing the Web Service........................ 317
Using Web Service Definition Language Files 318
Creating a Web Service Client...................... 320
HOUR 23:Creating Java2D Graphics
Using the FontClass.................................. 327
Using the ColorClass................................ 328
Creating Custom Colors.............................. 329
Drawing Lines and Shapes.......................... 329
Baking a Pie Graph.................................... 333
HOUR 24:Writing Android Apps
Introduction to Android.............................. 343
Creating an Android App............................ 345
Running the App........................................ 352
Designing a Real App................................ 355
PART VII: Appendixes
APPENDIX A:Using the NetBeans Integrated
Development Environment
Installing NetBeans.................................... 373
Creating a New Project.............................. 374
Creating a New Java Class.......................... 376
Running the Application.............................. 378
Fixing Errors.............................................. 378
APPENDIX B:Where to Go from Here: Java
Resources
Other Books to Consider............................ 381
Oracle’s Official Java Site............................ 382
Other Java Websites.................................. 383
Job Opportunities...................................... 385
APPENDIX C: This Book’s Website 387
APPENDIX D:Setting Up an Android
Development Environment
Getting Started.......................................... 389
Installing Eclipse...................................... 390
Installing Android SDK................................ 390
Installing the Android Plug-in for Eclipse........ 391
Setting Up Your Phone................................ 394
INDEX 397