R
Roedy Green
I understand that I import classes in Java so that it can figure out
if the method signatures on the calls match those off the imported
callees. IT need help finding the packages of the class names I use.
Why is it that if I write:
Font temp = x.getFont();
y.setFont( temp );
I need to import java.awt.Font;
but If I write:
y.setFont( x.getFont() );
I don't.
It seem on first breath they are equally difficult problems.
So how come Java needs help with import on the first but not the
second.
It seems odd that some trivial detail as to whether you use a temp
variable somewhere, e.g. added for debugging, that it should any
bearing on something so overarching as imports. I am still using the
exact same classes!
I hate the way you have to keep putting them in and taking them out.
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes
if the method signatures on the calls match those off the imported
callees. IT need help finding the packages of the class names I use.
Why is it that if I write:
Font temp = x.getFont();
y.setFont( temp );
I need to import java.awt.Font;
but If I write:
y.setFont( x.getFont() );
I don't.
It seem on first breath they are equally difficult problems.
So how come Java needs help with import on the first but not the
second.
It seems odd that some trivial detail as to whether you use a temp
variable somewhere, e.g. added for debugging, that it should any
bearing on something so overarching as imports. I am still using the
exact same classes!
I hate the way you have to keep putting them in and taking them out.
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes