At 04:45 PM 5/2/99 -0700, Riyad Kalla wrote:
> I am not sure if this is an error, or my lack of knowledge. :)
> :) (: University of Arizona :)
well, you really wrote more... but my mail reader can't phatom the x-html
yours sends... anyway, this is one of the things you start to run into
when the class libs get as ... large ... as they are. Class names start to
collide when you use short hand notation; your solution of switching to
the fully package qualified is "as by design". If you'd rather not have
to, there are a couple things you can do; don't import * unless you really
need everything in the package (I often find I don't) instead use more
(quantitively speaking) more (qualitivly speaking) specific imports. This
usually leads to much uglier import clasues; but has the advantage of
removing any ambiguity the compiler will have (and may even speed up
compiliation by a very small amount). The only other thing I know of
is to not import _anything_ and always use fully package qualified names.
It's not as ugly as it sounds if you have a cool editor like Visual Slick
Edit (I wish I could afford it for home) that picks up your class path
and offers interactive menus _as_you_type_ to pick classes, methods and
fields from. -=Chris
!NEW!-=> <*> cabbey at home dot net http://members.home.net/cabbey/ <*>
"What can Microsoft do? They certainly can't program around us." - Linus
-----BEGIN GEEK CODE BLOCK----- Version:3.12 http://www.geekcode.com
GCS$/IT/PA$ d(-) s++:+ a-- C+++$ UL++++ UA++$ P++ L++ E- W++ N+ o? K? !P
w---(+)$ O- M-- V-- Y+ PGP+ t--- 5++ X+ R tv b+ DI+++ D G e++ h(+) r@ y?
------END GEEK CODE BLOCK------
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]