Home > Store

Sams Teach Yourself Visual J++ 6 in 21 Days

Register your product to gain access to bonus material or receive a coupon.

Sams Teach Yourself Visual J++ 6 in 21 Days

Book

  • Sorry, this book is no longer in print.
Not for Sale

About

FAQs

Question 1: Where is source codes for the examples in this book?

Solution 1: You can download the source code for this title at the author's website:



The exact address is:
http://www.infinitevision.net/teach.htm

Description

  • Copyright 1998
  • Dimensions: 7.38 X 9.125
  • Pages: 600
  • Edition: 1st
  • Book
  • ISBN-10: 0-672-31351-0
  • ISBN-13: 978-0-672-31351-6

Sams Teach Yourself Visual J++ 6 is an easy-to-use tutorial that breaks down the tasks of learning Visual J++ into 21 focused lessons. Readers learn through clear explanations of concepts, structured step-by-step tasks, and abundant code samples. This book covers all aspects of using Visual J++ to build a wide range of Java applets and applications, ActiveX objects, COM/DCOM objects, and more.

Sample Content

Table of Contents



Introduction.

Who Should Read This Book? What This Book Contains. What You Need in Order to Begin. Your 21 Days at a Glance. Conventions Used in This Book.

WEEK 1. AT A GLANCE.

Day 1. Getting Started: The Visual J++ Environment.

Java and Visual J++. Highlights of the Visual J++ Environment. Creating Your First Applet. What Comes First. Creating Your First Application. Resources on the Web. Summary. Q&A. Review Exercises.

Day 2. Java Language Fundamentals.

Java Variables. Java Expressions. Java Program Control. Java Exceptions. Summary. Q&A.

Day 3. Making Applets Live on the Web.

The <<APPLET>> Tag. Making Applets Live. Summary. Q&A. Review Exercises.

Day 4. Debugging Java Applets and Applications.

Preparing Projects for Debugging. Starting a Debugging Session. Stepping Through a Project. Debug Windows. Breakpoints. Debugging Tips. Good Design Can Prevent the Need for Debugging. Summary. Q&A. Review Exercises.

Day 5. Windows.

Creating Windows with the Frame Class. Defining Java Classes. Using Inheritance. Using the Super() Method. Creating a Program That Uses an Extended Frame Class. Listening for Frame Class Events. Collecting the Garbage. Summary. Q&A. Exercises.

Day 6. Menus.

Creating Applet Menus. Handling Applet Menu Events. Using a Menu in an Applet. Creating Menus in Applications. Adding Menu Events in Applications. Presenting a Sample Application Program. Adding Pop-Up Menus in Applets. Summary. Q&A. Review Exercises.

Day 7. Applet User Interface Controls.

The Button Control. The Checkbox Control. Checkbox Groups. The Choice Control. The List Control. The TextField Control. The TextArea Control. Constructors. The Label Control. Summary. Q&A. Exercises.

WEEK 2. AT A GLANCE.

Day 8. Application Controls.

Label, Edit, and RichEdit Controls. Button, CheckBox, RadioButton, and GroupBox Controls. ComboBox, ListBox, and CheckedListBox Controls. ListView and TreeView Controls. HScrollbar and VScrollbar Controls. Toolbar and StatusBar Controls. Summary. Q&A. Exercises.

Day 9. Dialogs.

Creating a Dialog. Useful Form Methods. Summary. Q&A. Exercises.

Day 10. Fonts and Text.

The Graphics Class. The Graphics Coordinate System. The Font Class. Drawing Text. Setting Colors in Java. The FontMetrics Class. Finding Out Which Fonts Are Available. Fonts in Visual J++ Applications. A Marquee Applet. Setting the Font of a Control. Summary. Q&A. Review Exercises.

Day 11. Drawing.

The Graphics Class. Lines. Rectangles. Polygons. Ovals. Arcs. The copyArea() and clearRect() Methods. Summary. Q&A. Review Exercises.

Day 12. Images.

Picture File Types: GIF and JPG. The Image Class. ImageObserver. Loading Images. Displaying Images. Waiting for Images: Using the MediaTracker Class. Drawing Part of an Image. Adding Borders to Your Images. Drawing Your Images Inverted and Reversed. Summary. Q&A. Review Exercises.

Day 13. Image Processing.

Getting Pixel Data from Applet Images. Getting Pixel Data from Application Images. Creating an Image from Pixel Data in an Applet. Creating an Image from Pixel Data in an Application. Working with Pixel Data in Applets. Working with Pixel Data in Applications. Image Point Processing. One Program, Many Processes. Summary. Q&A. Review Exercises.

Day 14. Animation.

Threads and Timers. Threads in Visual J++ Applets. Double Buffering. Line Animation. Bouncing Balls. Multiframe Images. Ad Banners. Summary. Q&A. Review Exercises.

WEEK 3. AT A GLANCE.

Day 15. Exceptions.

What Are Exceptions? Exception Handling the Java Way. Demo: An Applet That Handles File I/O Exceptions. Demo: Implementing User-Defined Exceptions. Summary. Q&A. Review Exercises.

Day 16. Mouse Input.

Using the MouseListener Interface. Using the MouseMotionListener Interface. Handling Mouse Events. Adding Mouse Events in Visual J++ Applications. Using Mouse Events in an Application. Summary. Q&A. Exercises.

Day 17. Threads.

Threads in Brief. Implementing Multiple Threads. Using the Synchronized Method Modifier. Learning About Daemon Threads. Debugging Threads. Thread Class Definition. Demo: A Single-Threaded Applet with a Tight Loop in Initialization. Demo: A Multithreaded Applet with a Tight Loop in Initialization. Writing a Multithreaded Program. Summary. Q&A. Review Exercises.

Day 18. Strings.

Strings and Character Arrays in Java. Demo: Retrieving and Manipulating Strings. Demo: Searching and Comparing Strings. Writing Your Own String Subclass. Summary. Q&A. Review Exercises.

Day 19. Stream I/O.

Input Stream Classes. Output Stream Classes. Stream Interfaces. Reading a File and Displaying the File's Contents. Copying Files. Summary. Q&A. Exercises.

Day 20. ActiveX.

What is ActiveX? Using ActiveX Controls with Visual J++. Summary. Q&A. Exercises.

Day 21. J/Direct.

A Quick Look at J/Direct. Creating Classes with J/Direct. Displaying a MessageBox Through a Windows API Call. J/Direct Options. Data Marshalling. Using J/Direct: Getting System Colors. Summary. Q&A. Exercises.

Appendix A. Installing Visual J++ 6.
Appendix B. Tools of Visual Studio.

Using the Find Dialog. Using the Go To Line Dialog. Using the Advanced Menu. Using the Bookmarks Menu. Using the Macro Dialog. Using the Options Dialog.

Appendix C. Visual J++ Programming Reference.

Intrinsic Datatypes. Reserved Words in Java. Comment Types. Special Character Literals. Operator Precedence. Results of Mixing Datatypes in Expressions. Visual J++ Utilities and Help Screens.

Appendix D. Other Sources of Information on the Web.

Newsgroups. Web Sites.

Glossary.
Index.

Updates

Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership