Comments and embedded documentation
Comments and embedded documentation There are two types of comments in Java. The first is the traditional C-style comment that was inherited by C++. These comments begin with a /* and continue, possibly across many lines, until a */. Note thatCiteste tot ... 1295 cuvinte
Dimensiune mica - fara poza |
|
|
Logical operators
Logical operators The logical operators AND (&&), OR (||) and NOT (!) produce a boolean value of true or false based on the logical relationship of its arguments. This example uses the relational and logical operators: //: Bool.jaCiteste tot ... 415 cuvinte
Dimensiune mica - fara poza |
|
|
Your first Java program
Your first Java program Finally, here’s the program.[1] It prints out information about the system that it’s running on using various methods of the System object from the Java standard library. Note that an additional style of comment is introCiteste tot ... 543 cuvinte
Dimensiune mica - fara poza |
|
|
Seam Contexts
Seam Contexts As you may recall, in Chapter 5 I talked about contexts. There are seven of them, and I gave a brief description of what they are and how they are used. To review, the contexts are as follows:Citeste tot ... 6984 cuvinte
Dimensiune mare + cu imagini |
|
|
Business Process in Seam
Business Process in Seam Business process management tools are used by businesses to increase their speed and efficiency in the workplace. The basic purpose of business process tools is to cre- ate a wCiteste tot ... 5748 cuvinte
Dimensiune mare + cu imagini |
|
|
Auto increment and decrement
Auto increment and decrement Java, like C, is full of shortcuts. Shortcuts can make code much easier to type, and either easier or harder to read. Two of the nicer shortcuts are the increment and decrement operators (often referred to as tCiteste tot ... 327 cuvinte
Dimensiune mica - fara poza |
|
|
Web Applications
Web Applications Chapter 1 outlined the concepts of MVC and gave a brief discussion of web frameworks. The main reason for that discussion was to help you understand any major web frame- work that has come oCiteste tot ... 4920 cuvinte
Dimensiune medie + cu poze |
|
|
Windowing Components And Layout Classes
Windowing Components And Layout Classes Building a graphical user interface for an application is an interesting and challenging task. Every graphical user interface requires components that perform specialized tasks, such as buttons that invokCiteste tot ... 14836 cuvinte
Dimensiune mare + cu imagini |
|
|
AWT Peer Interfaces
AWT Peer Interfaces This chapter introduces the concepts behind the peer interfaces of the Java Abstract Windowing Toolkit (AWT). As a Java application developer you will never need to use any of the peer classes. The interfaces described in thCiteste tot ... 12083 cuvinte
Dimensiune mare + cu imagini |
|
|
Applets And Graphics
Applets And Graphics Packaging interactive content in small, easily distributed objects was a design feature that had high priority to the developers of Java. To meet this design goal, they created the Applet class, along with several objects aCiteste tot ... 16682 cuvinte
Dimensiune mare + cu imagini |
|
|
Color, Font, Images, And Shapes
Color, Font, Images, And Shapes The Java API includes several classes designed to make Graphics rendering operations easier. Classes exist to represent colors, fonts, shapes, and images. Instances of these classes are passed, as parameters, toCiteste tot ... 22123 cuvinte
Dimensiune mare + cu imagini |
|
|
Handling URLs And Networking Exceptions
Handling URLs And Networking Exceptions If you are developing Java applications for the World Wide Web, this chapter will help you start writing Java applets that will navigate the Web. It introduces you to some of the basic concepts of the WorCiteste tot ... 16516 cuvinte
Dimensiune mare + cu imagini |
|
|
Handling Text, Dialogs, And Lists
Handling Text, Dialogs, And Lists An application might need input not only at the beginning of execution but at various stages of a run. The input may not be from a known list of inputs or even if it is, the number of items might be large. It mCiteste tot ... 13048 cuvinte
Dimensiune mare + cu imagini |
|
|
AWT Image Processing
AWT Image Processing Several utility classes and interfaces are included in the Java API for image processing. Using these APIs, Image objects can be created from raw data, the raw data of an existing Image object can be examined, and filters cCiteste tot ... 12499 cuvinte
Dimensiune mare + cu imagini |
|
|
Choice, Menus, And Checkboxes
Choice, Menus, And Checkboxes The objective of any user-interface is to make it easy for users to provide the input values that an application needs. Your goal is to provide the best possible combination of available functionality to make the iCiteste tot ... 12156 cuvinte
Dimensiune mare + cu imagini |
|
|
Date And Advanced Classes
Date And Advanced Classes Chapter 12 described the utility classes for data structures and random number generation. In this chapter, you will learn more about the other utility classes provided in the JDK environment. We’ll discuss the class tCiteste tot ... 9979 cuvinte
Dimensiune mare + cu imagini |
|
|
Data Structures And Random Number Generation
Data Structures And Random Number Generation Java’s utility classes provide a wide range of functionality for your applications. This chapter explains the utility classes for implementing data structures and random number generation. These clasCiteste tot ... 11633 cuvinte
Dimensiune mare + cu imagini |
|
|
Network And Sockets
Network And Sockets A computer network is a communication system for connecting two or more hosts. Hosts can be anything from microcomputers to super-computers, which makes establishing communication among them an involved task for programmers.Citeste tot ... 12289 cuvinte
Dimensiune mare + cu imagini |
|
|
The Component Class
The Component Class All visual elements of a graphical interface have functionalities in common. Top-level windows, visual controls such as text boxes and push buttons, as well as simple elements for drawing images on the screen have a commonalCiteste tot ... 14561 cuvinte
Dimensiune mare + cu imagini |
|
|
Toolkit, Window, Container, And Events
Toolkit, Window, Container, And Events One of the challenges of designing Java was to make a programming system that was compatible across different operating systems. Making a system that is also compatible across the various windowing platforCiteste tot ... 13539 cuvinte
Dimensiune mare + cu imagini |
|
|
Alte pagini