Java Programming for Dummies

( 5 )

Overview

Want to use Java, not just read about it? In Java Programming For Dummies, 2nd Edition, computing experts Don and David Koosis give you all the practical information and code you need to create platform-independent, stand-alone applications as well as applets for Web pages. Whether you want to amp-up the multimedia and interactivity of your Web site to make it more entertaining or you want to make your Web site a work site by providing a Java-based Web interface to a corporate database, you'll quickly find what ...
See more details below
Available through our Marketplace sellers.
Other sellers (Paperback)
  • All (30) from $1.99   
  • New (1) from $50.00   
  • Used (29) from $1.99   
Close
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$50.00
Seller since 2015

Feedback rating:

(241)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

New
Brand new.

Ships from: acton, MA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Page 1 of 1
Showing All
Close
Sort by
Sending request ...

Overview

Want to use Java, not just read about it? In Java Programming For Dummies, 2nd Edition, computing experts Don and David Koosis give you all the practical information and code you need to create platform-independent, stand-alone applications as well as applets for Web pages. Whether you want to amp-up the multimedia and interactivity of your Web site to make it more entertaining or you want to make your Web site a work site by providing a Java-based Web interface to a corporate database, you'll quickly find what you need in Java Programming For Dummies, 2nd Edition.

Plus, to get you programming in Java fast, the book includes a bonus CD-ROM chock-full of everything from JavaSoft's Java Developer's Kit (Version 1.0.2 for Macs, Version 1.1.1 for Windows) to sample applets such as Ticker Tape, Calendar, Sprite, Quizem, JavaBots, and Shopping Cart.

Java language is hot, and developers want to take advantage of all the new capabilities offered by Java. This book describes how to create Java enhanced web pages by including animation, games, and other interactive content. Users will find out about data types, decision and loop statements, and the basics of object-oriented programming.

Read More Show Less

Product Details

  • ISBN-13: 9780764501418
  • Publisher: Wiley, John & Sons, Incorporated
  • Publication date: 7/28/1997
  • Series: For Dummies Series
  • Edition description: Revised
  • Edition number: 2
  • Pages: 373
  • Product dimensions: 7.35 (w) x 9.22 (h) x 1.01 (d)

Table of Contents

Foreword

Introduction

Who Are You?
About This Book
How This Book Is Organized
Part I: Hello, Java
Part II: Javanese
Part III: Caffeinated Pages
Part IV: Only Java
Part V: The Part of Tens
Part VI: Appendixes
About the CD-ROM
Icons Used in This Book
What Now?

Part I: Hello, Java

Chapter 1: Java and the World Wide Web
The Internet: A Reality and an Idea
The World Wide Web: Narrowing the Search
Intranets: Internal Corporate Web Sites
Java: The Magical Flying Program
May I borrow that program?
Multiply by 300 -- or 1,500
Remember, it's portable
May this computer be safe from...
Web page intelligence
Java: An Open System
New and Improved Java 1.1
Chapter 2: Writing a Simple Program: Yet Another HelloWorld
Some News about Java Programs
The bad news
The good news
A typical Java applet
HelloWorld with Attitude
Inside the Programmer's Mind
From the Programmer's Mind to the Computer's Chips
Compiling
Putting an applet on the page
The virtual chip
Inside the Computer's Chips
Scratch pads
Blueprints
Write, compile, run, revise, compile, run,...
Writing the code for your applet
Compiling your applet
Installing your applet in a Web page
Testing your applet
If you get error messages
Creating HelloWorld: Just do it!
Chapter 3: Jumping to Java from HTML
HTML: The VAV (Very Abbreviated Version)
Text markup
Functional markup
Links to other documents and files
Including Images in Your Web Pages
The <IMG> tag
Making a graphic link
At Last: Including Applets in Your Web Pages
The <APPLET> tag
Passing parameters: A brief detour back to Java
Movies and Talking Pages
Talking Back to the Internet
Chapter 4: The Object All Sublime: Object-Oriented Programming
A Primer on Object-Oriented Programming
A Closer Look at a Class and an Object
Managing your objects: define, declare, instantiate
Constructors and other methods
The Pix Applet: Using Inheritance
Defining a Rectgl: Step-by-Step
Class and Method Definitions: Rules of Punctuation and Grammar
How to Work Less and Enjoy Programming More
Using inheritance to build on your work
Planning ahead: using abstract classes
PixLabel
And lest we forget it, Circle
Putting the applet all together
The Cartoon Version of "Hello, World!"

Part II: Javanese

Chapter 5: Where's the Action?
Everything in Its Place
FlowLayout
BorderLayout
Building a screen layout
So, What's the Big Event?
Monkeying with the mouse
Keyboarding input
Button, Button
The Programmer's Activity Box, Version 1.0
Conducting a beta test
Try breaking the code
A class can listen to itself
Handling Events with the Old Java 1.0
Chapter 6: Choices, Choices, Choices: If, else, and switch
Selection and Why You Need It
Listening to the user
The if statement: When a simple "yes" will do
if...else: When you want a choice
The switch statement: When you have many choices
More Reasons for Being Selective
You don't have to do everything the user tells you
Know when you're up against the wall
Follow the rules
Grammar Lessons
The grammar of a simple Java if statement
if... or else
Boxes within boxes, ifs within ifs
A, B, C, D, or None of the Above
Couldn't I do the same thing with ifs?
Whose default is it, anyway?
You don't have to take a break
Logic Chopping (Or Chopping for Logic)
Chapter 7: Round and Round: For and while
Iteration and Why You Need It
I'd like a dozen of those, please
How many would you like?
You'll know when it's done
More Grammar Lessons
The grammar of a Java for statement
An example of a for loop
The road from parameter "repetitions" to int r
A nesting ground of fors
Counting by twos
The Grammar of while
Decoding a label
Give me a call
Keeping score
Locating the nearest exit
Chapter 8: Anatomy of a Class
Classes with Class
No Trespassing
Variables
Instance variables
Class variables
Telling the world about variables
Object Under Construction
How Do You Do That?
More than one way to circle the globe
So's your old man: Laws of heredity
Managing a Large Family
Abstract classes and interfaces
Packaging
Codebase
A JAR full of Classes
Chapter 9: Recycle This Code
Getting Started
Looking it up
Setup
Response
An Activity Box for More Mature Programmers
Button
Checkbox
The checkbox group, AKA radio buttons
You have a choice
You have more than one choice
Put it in writing
Go to the Library Often
Look out for the window
More layouts
A Little Code for Dessert
If you don't want to grow your own, buy some Java beans
Chapter 10: Finding Your Type
About Data Types
Categorizing Your Numbers
Describing whole numbers
Describing fractional numbers
What you can do with numbers
Numbers in an object wrapper
Using Special Mathematical Functions
Categorizing Your Letters
Describing characters
Working with strings in Java
The String methods
Editing methods
Comparison methods
Analyze methods
Other Data Types

Part III: Caffeinated Pages

Chapter 11: A Calendar Class
Can We Meet Next Friday?
Strategy
Choosing your ancestors wisely
Don't write code if you don't have to
Making yourself (or your applet) at home on a page
Code Me Some Code
Listening to the Web page
Painting a pretty face
Handling current events
Do you have a calendar?
The Complete and Unexpurgated Code
Calendar applet
MonthCanvas class
Finishing Touches
Controlling the color
A comment about comments
Chapter 12: A Ticker Tape Class
I/O, I/O, into the Streams We Go
Fetching a File from the Server
Examining the parts
Opening the input text file
Handling Exceptional Occurrences
Running Your Tasks by a Thread
The Complete and Unexpurgated Code
Chapter 13: Sprites: Faster Than a Speeding Rabbit
The Strategy for Displaying Moving Graphics
Avoiding screen flicker
Displaying graphics files
Bouncing the image around
The Complete and Unexpurgated Code
If You Want to Do It Yourself...
Chapter 14: JavaBots: Let the Wild Rumpus Begin!
The Wild Rumpus
The Man behind the Screen
Up and running JavaBots
Give that programmer arrays!
Vectors
Random behavior generating a color
The Complete and Unexpurgated Code
Chapter 15: An Applet for Teacher
Learning from a Reference Document
The Secrets of Successful Quizzing
I've been framed
Teach me how to read
What's the score?
In Plain Javanese
And the Answers
Chapter 16: Shopping Up a Storm
Designing a Shopping Cart
Specials of the Day
I've got a little list
And I'm sending it to you
There's more than one way to frame an applet
When I say "Jump"
The price is right
A Shopping Cart Full of Code
Chapter 17: Fun with Fractals
Give a Friend a Fractal...
An Explanation of Animation
Comparing Java animation to GIF
Using Java animation intelligently
The Code
Using numRows, numCols, and numColors
The inner adapter class
Using initColors
Setting up the interface
Listening for buttons
Julia and Mandelbrot
Using run()

Part IV: Only Java

Chapter 18: Java Stands Alone
Java without a Browser
The main difference in standing alone
Some code to play with
Why Write in Java When I Could Learn C++?
Java is easy to understand
Java helps to bug proof and virus proof
Java supports new standards
Why Write in C++ When I Know Java?
Is Java Real?

Part V: The Part of Tens

Chapter 19: Ten Common Mistakes
Missing () {}
Lost or Forgotten Imports
Mistaking a Class for an Object
Spellng Rong
Incorrect Signatures
A Method That Gives Nothing in Return
The Wrong Kind of Equality
Tight Loops
Going Public
Trusting Yourself Too Much
Chapter 20: Ten Hot Pages to Peek At
Virtual Boston
Blue Skies for Java
The Wall
WallStreetWeb
Big Blue
HotWired
Cafe Del Sol
Cup O' Joe
Javology
Javatized Searches
Chapter 21: Ten Web Sites for Java Lore
JavaSoft
Gamelan
Java World
Java Report
Java Applet Rating Service
Java Newsgroup
Java Book Pages
Java Woman
Java Users Groups
Java Programming For Dummies Resource Page
Chapter 22: Ten Tenets of Style
Logically Group the Elements of Your Code
Use Indentation and Alignment to Chunk Code
Use White Space and Blank Lines to Group Code
Use Short Comments to Clarify the Code
Write Comments for Javadoc
Give Methods and Variables Meaningful Names
Capitalize Constants
Use Capitalization to Add Meaning to Names
Commit No Violence Over Matters of Style
Write Code Like a Novel
Chapter 23: Ten Facts about the Other Java
Java Is a Large Island
Jakarta Is a City
Wayang Kulit Are Shadow Puppets
Gamelan Is an Orchestra
The Dalang Is the Puppet Master
Garuda Is a God
The Kris Is a Weapon
Batik Is an Art Form
Kuda Kepang Is a Folk Dance
Java Is a Land of Volcanoes

Part VI: Appendixes

Appendix A: Which Systems Run Java?
Appendix B: Installing and Configuring the JDK for Windows NT and Windows 95
Clean House First
Installing from the CD-ROM
Make Sure Your Computer Knows Where to Find the Java Files
Try It Out
Test the Programming Software
Make a small but visible change in an applet
Set up an HTML example page to display the applet
Use the Java compiler to create a new class file
Run the revised applet
What Can Go Wrong?
Appendix C: Installing and Configuring the JDK for Macintosh
Clean House First
Installing from the CD
Try It Out
Test the Programming Software
Make a small but visible change in an applet
Set up an HTML example page to display the applet
Use the Java compiler to create a new class file
Run the revised applet
Appendix D: Installing and Configuring the JDK for Solaris
Clean House First
Installing from the CD-ROM
Tell Your Computer Where to Find the Java Files
Try It Out
Test the Programming Software
Make a small but visible change in an applet
Set up an HTML example page to display the applet
Use the Java compiler to create a new class file
Run the revised applet
Appendix E: Java 1.1 versus Java 1.0
Appendix F: About the CD
The Java Developer's Kit
Sample Applets Described in Java Programming For Dummies, 2nd Edition
Sample Applets Contributed by the Java Internet Programming Community
Help! My Browser Doesn't Find the Files!

Index

License Agreement

Installation Instructions

Book Registration Information

Read More Show Less

Customer Reviews

Average Rating 2
( 5 )
Rating Distribution

5 Star

(0)

4 Star

(1)

3 Star

(0)

2 Star

(1)

1 Star

(3)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 5 Customer Reviews
  • Anonymous

    Posted November 6, 2001

    Java Programming for Dummies

    In the months I struggled with this book, I thought the problem was me. I thought that as a beginner to Java, I just wasn't getting it. Well, perhaps... But when I switched to a different book, the lightbulbs went on; and my copy of this 'Dummies' book went (literally) in the trash. As an alternative to this title, I recommend Sam's 'Teach Yourself Java in 21 Days' or Sun's 'Java Tutorial.' Then, if you decide to go deeper, pick up 'Thinking in Java' by Bruce Eckel.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted June 2, 2001

    A Must-Have

    This Is A WONDERFUL Book! This Book Is Good For Beginners (Like Me). I Loved This Book, It Was Great. Not Only Is This Book Fun, But It Is Easy Too. I Am Only 11 And Even I Could Understand This Book!

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted February 17, 2001

    Java Programming for Dummies

    Unless you're already familiar with object oriented programming, you'll probably be lost from page 1. Without providing any foundation, this book aimlessly stumbles around with undefined terms and incomplete examples. (If you're not familiar with DOS, you won't even be able to compile your first Java file using their instructions.) I had to take some Java courses through work before I could even understand what these authors are trying to talk about -- but even then, this book fails to make sense. I've been impressed with other 'Dummies' books, but this one really misses the mark.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted December 14, 2000

    Not a very good book

    Overall this is a poor book, definently not for someone new to programming. The source codes that they give are poorly commented and often leave a lot to the imagination. I am experienced in c++ and I found myself going through some chapters several times just to understand what was going on. However, some of the examples (the applets themselves) they give you are very nice, if you're just going to be copying the source code and using it on your website.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted September 6, 2000

    Pass on this book

    Bad. It's one of the few books that I couldn't force myself to finish no matter how hard I tried. Although the title says that it's for dummies, that's not what the author assumes. So many of the stuff in the example programs are unexplained and some of it doesn't work. Buy some other book instead of this.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 5 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)