Creating GUIs Basic Concepts
Creating GUIs Basic Concepts 1 Overview of GUIs A GUI has two facets. One facet is all of the visual elements that are presented to the user. ThinkCiteste tot ... 15149 cuvinte
Dimensiune mare + cu imagini |
|
|
Inheritance and Object-Oriented Programming
1 Inheritance and Object-Oriented Programming 1.1 Inheritance The technique of deriving new class definitions from an existCiteste tot ... 10040 cuvinte
Dimensiune mare + cu imagini |
|
|
Basics of Java programming
Basics of Java programming · Objects are manipulated through object references (and aliases). new operator returns a reference to a new instance of the class instantiated. · &nCiteste tot ... 4812 cuvinte
Dimensiune medie - fara imagini |
|
|
Storing and Changing Information in a Program
Storing and Changing Information in a Program In Hour 2, 'Writing Your First Program,' you used a variable, a special storage place that is used to hold information. The information stored in variables can be changed as your program rCiteste tot ... 3962 cuvinte
Dimensiune medie - fara imagini |
|
|
Creating Your First Object
Creating Your First Object One of the more fearsome items of jargon that you'll encounter during these 24 hours is object-oriented programming. This is a complicated term for an elegant way of describing what a computer program is and how it wCiteste tot ... 2929 cuvinte
Dimensiune medie - fara imagini |
|
|
Writing a Game for the Web
Writing a Game for the Web With the Die class you created during the last hour, you can add dice to any of your Java programs. The Craps program that you will be writing during this hour uses two dice. Most of the tasks you have to handle in yCiteste tot ... 2984 cuvinte
Dimensiune medie - fara imagini |
|
|
Using Fonts and Color in Applets
Using Fonts and Color in Applets A famous catchphrase from the television show Saturday Night Live during the 1980s was, 'It's not how you feel, but how you lookand darling, you look MAH-ve-lous.' The quote epitomized the philosophCiteste tot ... 2389 cuvinte
Dimensiune medie - fara imagini |
|
|
Repeating an Action with Loops
Repeating an Action with Loops One of the more annoying punishments for schoolchildren is to make them write something over and over again on paper or, for a capital offense, on the chalkboard. In one of his frequent trips to the board, cartoonCiteste tot ... 3171 cuvinte
Dimensiune medie - fara imagini |
|
|
Learning How Applets Work
Learning How Applets Work Now that Java is making the transition from a child prodigy to an established language, it is being used for all kinds of large-scale business software and other applications. However, the core of interest in the langCiteste tot ... 2727 cuvinte
Dimensiune medie - fara imagini |
|
|
Inheriting Methods from Other Classes
Inheriting Methods from Other Classes This might be a surprise to you, but your Java objects are ideally suited for childbearing. When you create a program as an object--a set of attributes and behavior--you have designed something that's readyCiteste tot ... 1987 cuvinte
Dimensiune medie - fara imagini |
|
|
Using Strings to Communicate
Using Strings to Communicate In the film The Piano, Holly Hunter portrays Ada, a young Scottish woman who marries badly. A mute since the age of 6, Ada can only express herself fully by playing her prized possession, a piano. Like Ada, your coCiteste tot ... 3271 cuvinte
Dimensiune medie - fara imagini |
|
|
Building a Simple User Interface
Building a Simple User Interface Because of the popularity of Microsoft Windows and Apple Macintosh systems, computer users have come to expect certain things from their software. It should use a graphical user interface, be controllable with aCiteste tot ... 3085 cuvinte
Dimensiune medie - fara imagini |
|
|
Storing Information with Arrays
Storing Information with Arrays No one benefits more from the development of the computer than Santa Claus. For centuries, humankind has put an immense burden on him to gather and process information. Old St. Nick has to keep track of the folloCiteste tot ... 2816 cuvinte
Dimensiune medie - fara imagini |
|
|
Using Conditional Tests to Make Decisions
Using Conditional Tests to Make Decisions Writing a computer program has been compared to telling a household robot what to do. You provide the computer a list of instructions, called statements, and these instructions are followed to the letteCiteste tot ... 3617 cuvinte
Dimensiune medie - fara imagini |
|
|
Sending Parameters to Applets
Sending Parameters to Applets Now that you have had some experience writing computer programs, you might be feeling one of the strongest emotions of the programmer: compiler angst. Even though it takes no more than 15 seconds to compile most pCiteste tot ... 1486 cuvinte
Dimensiune mica - fara poza |
|
|
Creating a Threaded Applet
Creating a Threaded Applet A computer term that is used often to describe the hectic pace of daily life is multitasking. (Another term is used more often around here, but the editors asked that it be omitted.) Multitasking means to do more thaCiteste tot ... 3015 cuvinte
Dimensiune medie - fara imagini |
|
|
Responding to User Events
Responding to User Events The graphical user interface that you developed during the past hour can run on its own without any changes. Buttons can be clicked, text fields filled with text, and the applet window can be resized with wild abandonCiteste tot ... 2259 cuvinte
Dimensiune medie - fara imagini |
|
|
Creating Animation in Java
Creating Animation Like the final voyage of the S.S. Minnow, the trip through the visual side of Java programming is a three-hour tour. At this point, you have learned how to use text, fonts, color, lines, and polygons in your Java applets. AnCiteste tot ... 3120 cuvinte
Dimensiune medie - fara imagini |
|
|
Spicing Up a Web Page using Java
Spicing Up a Web Page When Java was released to the public in late 1995, its creators had some lofty intentions for the programming language. It was going to revolutionize the way software was produced and distributed, remove the need to writeCiteste tot ... 2263 cuvinte
Dimensiune medie - fara imagini |
|
|
Alte pagini