| Author |
List in jsk 1.4.0 beta!
|
Roy Ben Ami
Ranch Hand
Joined: Jan 13, 2002
Posts: 732
|
|
has anyone tried to create a List object in jdk 1.4.0 beta? for some reason i can't create it. the comoiler doesnt recognize any of the constructors in List. in other jdk's it compiles fine! i also didnt find anything in the bugs databse at sun! any idea guys? (and gals) p.s i mean the awt List, not the util one. and my code is just: List x=new List(); written in a class that extends Frame (and yes i imported awt and all the other button and stuff works fine).
|
 |
Roy Ben Ami
Ranch Hand
Joined: Jan 13, 2002
Posts: 732
|
|
reposted. any ideas people? i actually need this vecause im a teacher, and i need in the next lesson for this to work (they just installed in the classes the 1.4 beta version). grr..
|
 |
Mark Fletcher
Ranch Hand
Joined: Dec 08, 2001
Posts: 897
|
|
Hello, Ive installed the JDK1.4 release candidate on my Windows 2000 machine. I found the following code created an AWT List: Hope that helps, Mark
|
Mark Fletcher - http://www.markfletcher.org/blog
I had some Java certs, but they're too old now...
|
 |
Roy Ben Ami
Ranch Hand
Joined: Jan 13, 2002
Posts: 732
|
|
wow!!! thanks a lot Mark! using your code i was able to filer my problem! it is so unbelivable i feel stupid!! apprently (and belive it or not it took me almsot 2 hours of kicking at the computer) in the current directory i was, 1 of the 100 classes there was a stupid List class that someone put there. thats why it didnt recognize the real List in awt pakcage (although i used the appropriare long name etc) - it always seems to go to the one in the current directory. anyway, thanks a lot, and im sorry to bother u people with this. this is really frustrating (and to think i almost punched my monitor) thanks again.
|
 |
Mark Fletcher
Ranch Hand
Joined: Dec 08, 2001
Posts: 897
|
|
Hi Roy, Glad to have been of help Yee haw! Mark
|
 |
 |
|
|
subject: List in jsk 1.4.0 beta!
|
|
|