Unit 4: Using AWT controls, Layout Managers, and Menus

4.2.1Label The object of Label class is a component for placing text in a container. It is used to display a single line of read only text. The text can be changed by an application but a user cannot edit it directly.  Example

output:-  Button The button class is used to create a labeled button that […]

Continue Reading

Unit 1: The Applet Class

Applet Applets are small Java applications that can be accessed on an Internet server, transported over Internet, and can be automatically installed and run as apart of a web document. After a user receives an applet, the applet can produce a graphical user interface. It has limited access to resources so that it can run […]

Continue Reading

Unit 2: Even handling

Event Handling Any program that uses GUI (graphical user interface) such as Java application written for windows, is event driven. Event describes the change in state of any object. For Example : Pressing a button, Entering a character in Textbox, Clicking or Dragging a mouse, etc. Components of Event Handling Event handling has three main components, Events […]

Continue Reading

Unit 6: Exploring Swing

6.2 JTextField JTextField is used for taking input of single line of text. It is most widely used text component. It has three constructors,

  xample using JTextField

6.3 JButton JButton class provides functionality of a button. JButton class has three constuctors,

It allows a button to be created using icon, a string or […]

Continue Reading

Unit-1

Defining Management   Management is the attainment of organizational goals in an effective and efficient manner through planning, organizing, staffing, directing and controlling organizational resources.  According to Harold Koontz ,”Management is the art of getting things done through and with people in formally organized groups”  According to Henry Fayol,”To manage is to forecast and to plan ,to […]

Continue Reading