Results 1 to 2 of 2

Thread: What is need to import java.awt.event.*

  1. #1
    Geek_Guest
    Guest

    What is need to import java.awt.event.*

    In making the awt programs we import java.awt.*
    It means all the packages inside this must be imported to my programe.
    Then what is need to import java.awt.event.*;in the same programe..
    means in a same programe why there is aneed to import java.awt.even if we imported java.awt...

    Question asked by visitor aashi


  2. #2
    Junior Member
    Join Date
    May 2007
    Answers
    10

    Re: What is need to import java.awt.event.*

    We need to import java.awt.event.*along with java.awt.*in the same program why becauce both are different packages
    java.awt package:Contains all of the classes for creating user interfaces and for painting graphics and images.

    java.awt.event package:Provides interfaces and classes for dealing with different types of events fired by AWT components.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact