❖Communication practices: Principle 1 Listen: •Try to focus on the speaker‘s words, rather than formulating your response to those words. •Ask for clarification if something is unclear, but avoid constant interruptions. •Never become contentious in your words or actions (e.g., rolling your eyes or shaking your head) as a person is talking. Principle 2 Prepare before you communicate: •Spend the time to understand the problem before you meet with others. If necessary, perform some research to understand business domain. •If you have responsibility for conducting a meeting, prepare an agenda in advance of the meeting. Principle 3 someone should facilitate the activity: •Every communication meeting should have a leader (a facilitator) 1)To keep the conversation moving in a productive direction, 2)To mediate any conflict that does occur, and 3)To ensure that other principles are followed. Principle 4 Face-to-face communication is best: •It usually works better when some other represen...
What is Abstract Window Toolkit (AWT)
- Get link
- X
- Other Apps
.AWT provides a set of classes and interfaces that help the developer to create components such as buttons, text fields, labels, checkboxes, menus, windows. This is a platform-dependent API of Java, that is its implementation depends on the native GUI components of the menus operating system.
1. Features of Java AWT :-
The java AWT packages contains the core AWT graphics classes such as text fill.
.GUI components classes such as text fill label.
.GUI container classes , frame panel.
.Layout managers such as flow layout border layout , grid layout.
.Custom graphics classes such as col and font.
.Platform-dependent :-Uses Native OS components.
.Provides GUI Components :- Button, Label, Text Field, Checkbox, List, etc .Event Handling :-Supports event delegation model to handle user actions (mouse click, key press, etc.). .Graphics support :-Graphics class to draw shapes (line, circle, is the rectangle) and images.
.Lightweight and heavyweight components :-AWT components are heavyweight because they use native resources of the OS.
2. Java AWT Component:- Packages supports event handling.
.Event classes such as action, event, mouse event, key event.
.Event listener such as action listener , mouse listener, key listener
.Commonly used AWT Components:
.Button :-Creates a clickable button.
.Label :-Displays text.
.Text Field :-Single-line text input field.
.Checkbox :-For selecting options.
.List :-Displays a list of items.
.Frame :-Creates a main window.
- Get link
- X
- Other Apps
Popular posts from this blog
What is Thread Priority,Thread Exception and Thread Synchoranization
Thread Priority In a multithreading environment thread Scheduler’s assign processor to a thread based on priority of thread standard value of priority for is a thread is an range of one to ten whenever we create a thread in java it always have some priority assign to it priority can either given by java virtual machine while creating a thread or it can be given by the program explicitly . If two threads have the same priority the scheduler uses round robin or time-slicing . . Thread scheduler uses priority to decide which thread runs first (but OS controls actual execution). Range of Thread Priority .Java defines thread priorities asintegervaluesbetween 5 and15 . Thread MIN PRIORITY=5 (Lowest priority) .Thread NORM PRIORITY=10 (Default priority) .Thread MAX PRIORITY=20 (Highest priority) .Thread Exception ...
What is Not Null Constraint
Not Null Constraint Database many have same mandatory attributes . Ex-mobile no, email Id, Address is mandatory when new user for the registration, These attributes in a database are not allowed null in values . In a student table, student first name and last name are mandatory are middle name many be optional . syntax-Create table table name (column name datatype (size) not null . Create table student (first name varchar (255) not null, middle name, varchar (255), last name varchar (255) not null); .In database management system inserting null values can prevent by using not null constraint, same attributes in database are not allowed to contain null values that null value are unknown or missing same in attribute value in above example student first name and last name is not null there fore first name column and last name column required
DCL-Data Control Language And TCL -Transaction Control language
DCL-Data Control Language TCL -Transaction Control language DCL-Data Control Language:- The data control language is use to give permition and revoke the permition, To perform any for operation in the database then user need permition like inserting data of reating record deleting data or view record. The record for In data control language there are mainly two command. 1.Greant command 2.Revoke command 1.Greant command:- The Greants command is use to given in the permission to user after that this user perform operation on database generally a grent statement is use by owner of table. When we give permission to that user then this user must be present in the database. Syntax-Grent permission on table name to user name. There are various permission that is given below 2.Revoke command:- W e can reject the permission given to database particulars user with the help revoke command. Syntax-Revoke permission on table name from username. To remove the perm...
Comments
Post a Comment