sound()is used to make a sound in a program. textattr() method is used for colourful characters.We can display Colourful Characters in TextMode and play sounds of random frequencies.
Storage class is a characteristics of possession by a variable in C. The storage class of a variable determines the nature of the variable. Whenever you declare a variable, specify the storage class and data type of variable. C language supports four types of storage class 1)auto 2)register 3)static 4)extern
The switch statement is a multiway decision making statement which selects one of the several alternatives based on the value of integer variable or expression. Switch statement requires only one arguments, which is then checked of case options.Break statement is essential use with switch statement because it stops the execution of succeeding cases and transfers the control out.
JButton is a Swing Component which defined in package javax.swing.*;This program helps to change the Label(Caption) of the Button.The label of the Button “New” is changed into “Save” .
This is program to Initialise Mouse and display its cursor. Dos.h header file is used for handling interrupts,date & time functions,producing sound,delay,sleep etc. We can do everything with mouse using C codes.
In C Graphics we use graphics.h functions. This is used to draw different shapes(like circle,rectangle etc),display text(any message)in different format(different fonts and colors).By using graphics.h we can make programs, animations and also games. We have to call initgraph function which will initialize the graphics mode.
A tool bar is a button bar that gives quick access to the most commonly used commands in a program.Tool bar are made up of buttons,there is no restriction on the components that you can add to a tool bar.
The ImageSelection class is simply a wrapper for Image objects.Objects that you want to transfer via the clipboard must implement the Transferable interface.We build an ImageSelection class that can be used to transfer images through the local clipboard.
The Java2D platform has the beginning of a robust printing model that is fully integrated with 2D graphics. We can easily print a drawing on a single sheet of paper. We can also manage a multipages printout and easily generate a print preview dialog.
By using a sufficient number of lines and curves we can draw essentially any shape. It is easier to describe a shape(rectangles, polygons, or ellipses) by composing it from areas. The Java2D supports four constructive area geometry operations that combine two areas to a new area:1)add 2)subtract 3)intersect 4)exclusiveOr.