From: cindy <inf...@pi...> - 2001-03-28 10:36:54
|
Thanks for your reply, I also made it a bookmark. I went to the site and track down enableEvents() and found that it was a method of Component. So I imported java.awt.Component and then qualified enableEvents with java.awt.Component. I get an error tell me that enableEvents() is not an attribute of Component. So I checked my spelling ant thing look ok. Can someone tell me what I doing wrong? Thanks. Wayne "O'Brien-Strain, Eamonn" wrote: > Personally I keep a bookmark on my desktop to the Java API reference at ... > > http://java.sun.com/j2se/1.3/docs/api/overview-summary.html > > ... to which I frequently go to answer questions like this. > > In this case if you go to that page, click on "Index" at the top, click on > "E", and scroll down -- you will see that there are "enableEvents" methods > in two different classes. Following the links to those two methods should > help you figure out which one to use and what to pass as its arguments. > > __ > Eamonn > > -----Original Message----- > From: cindy [mailto:inf...@pi...] > [...]For instance, > one of the statements in an example reads like this, > "enableEvents(AWTEvent.WINDOW_EVENT_MASK)". > How would I go about determining which class/package to > import and how would I know what qualifiers to us for > "enableEvents"? > [...] > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > http://lists.sourceforge.net/lists/listinfo/jython-users |