surfjae.blogg.se

What is awt in java in hindi
What is awt in java in hindi













what is awt in java in hindi
  1. #What is awt in java in hindi driver
  2. #What is awt in java in hindi free

Event can be anything like: mouse clock, mouse dragged etc. We can use action listener to implement event in awt component. Public void actionPerformed(ActionEvent e) Step 3: Aylast override the actionPerformed() method. Syntax: component.addActionListener(instanceOfListenerclass) Step 2: Now Register all the components with the Listener. Syntax: public class ActionListenerDemo Implements ActionListener Step 1: Implement the ActionListener Interface in the class. Syntax public abstract void actionPerformed(ActionEvent e) Following are the three steps to add ActionListener Interface This interface is used when you want to notify click action on button or menu item. In java, ActionListener Interface is present under package. Public void actionPerformed(ActionEvent a) Toolkit_b.addActionListener(new ActionListener() Public abstract class Toolkit extends Object Example:įrame toolkit_f=new Frame("studytonight => Toolkit Demo") It is a superclass of Abstract Window Toolkit and can be implemented anywhere. Public void actionPerformed( ActionEvent e )ĭialog_d.add( new Label ("Welcome to studytonight. The dialogue box is used to provide information to the user.ĭialog_d = new Dialog(dialog_f, "studytonight => Dialog Demo", true) ĭialog_b.addActionListener ( new ActionListener() In this example, we are creating a dialogue box. Public class Dialog extends Window Example: But it does not have any maximize and minimize button. It is a type of window which is having a border and a title. the panel provides a place to add awt components.įrame panel_f= new Frame("studytonight => Panel Demo") Lets create a panel to add components like: button, textbox etc. Public class Panel extends Container implements Accessible Example:

#What is awt in java in hindi free

The panel provides a free space where components can be placed. Pop_menu.show(pop_menuf, a.getX(), a.getY()) Pop_menuf.addMouseListener(new MouseAdapter() MenuItempop_paste = new MenuItem("Paste") Public class PopupMenu extends Menu implements MenuContainer, Accessible Example:įinal Frame pop_menuf= new Frame("studytonight =>PopupMenu Demo") įinal PopupMenupop_menu = new PopupMenu("*Edit*") It is a popup which is dynamic in nature. We use MenuItem and Menu class for creating menu.įrame menu_f= new Frame("studytonight => Menu and MenuItem Demo") In this example, we are creating a menu item that contains sub menu as well. Public class Menu extends MenuItem implements MenuContainer, Accessible Example:

what is awt in java in hindi

Public class MenuItem extends MenuComponent implements Accessible Menu declaration The menu is used to create a drop-down of menu components MenuItem declaration In Java, AWT contains a MenuItem and Menu Class.MenuItem is used for adding Lable in Menu. In our previous topic, we discussed some components of AWT API, now here we will discuss rest of the components and event listeners.

#What is awt in java in hindi driver

  • Connecting to Access using Type-1 Driver.
  • Method Overriding with Exception Handling.
  • Difference between Classes And Interface.
  • Get GST invoice and save up to 28% on business purchases.
  • Please check 'EMI options' above for more details.
  • No cost EMI available on select cards.
  • Additional Flat INR 375 Instant Discount on Amazon Pay ICICI Bank Credit Card.
  • Additional Flat INR 1500 Instant Discount on Amazon Pay ICICI Bank Credit Card.
  • Prime Savings : 5% Instant Discount + unlimited 5% back with Amazon Pay ICICI Bank Credit Card.
  • what is awt in java in hindi

    For Non-Prime members: 5% instant discount + unlimited 3% back with Amazon Pay ICICI Bank Credit Card.Event Listeners in JavaEvent Handling in JavaJava AWT Part-3 2020JAVA GUI. Additional Flat INR 750 Instant Discount on Citi Credit Card Trxn. awji awjilah awjilasokna awju awk awm awngi awo awok awon awori aworo awosumakuyu awr awraja awt awum awun awuna awutu aww awya awye awyi awyu awyudumut. Very nice Methodology described in JAVA Book Sir, I request you please design JAVA EE ( SERVLET, JSP, SPRING & HIBERNATE). Installing and Enabling Java Plugin to Run Java Applets in Browser (HINDI).Additional Flat INR 4000 Instant Discount on Citi Credit Card Trxn.10% Instant Discount up to INR 1250 on Citi Credit Card Non-EMI Trxn.10% Instant Discount up to INR 1500 on Citi Credit Card EMI Trxn.10% Instant Discount up to INR 1250 on Citi Debit Card Non-EMI Trxn.Additional Flat INR 750 Instant Discount on ICICI Bank Credit Card Trxn.Additional Flat INR 4000 Instant Discount on ICICI Bank Credit Card Trxn.

    what is awt in java in hindi

  • 10% Instant Discount up to INR 1250 on ICICI Bank Credit Card Non-EMI Trxn.
  • 10% Instant Discount up to INR 1500 on ICICI Bank Credit Card EMI Trxn.
  • Additional Flat INR 750 Instant Discount on Axis Bank Credit Card Trxn.
  • Additional Flat INR 4000 Instant Discount on Axis Bank Credit Card Trxn.
  • 10% Instant Discount up to INR 1250 on Axis Bank Credit Card Non-EMI Trxn.
  • 10% Instant Discount up to INR 1500 on Axis Bank Credit Card EMI Trxn.
  • 10% Instant Discount up to INR 750 on Axis Bank Debit Card Non-EMI Trxn.














  • What is awt in java in hindi