import magic



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
.



Relevant Pages

  • Re: How to limit the number of imported rows
    ... spreadsheet data, which Access "sees" and imports, then try this: ... this is quicker and easier than importing to a Temp table. ... a common "not blank" field in your spreadsheet data, ... > I apprecite the advice re Excel but as this will be an ongoing import ...
    (microsoft.public.access.externaldata)
  • Re: Trying to understand some C/C++ code
    ... It is converted to a network byte order integer netval. ... My stab of the code above in Java is something like this - ... Use a ByteBuffer to wrap the byte array, then we can use the byte ordered ...
    (comp.lang.java.programmer)
  • CSV Import
    ... Just want to caution you that I'm new to Java. ... I've setup an object to import comma delimited data of type double. ... imports each record as a HashMap type object, ...
    (comp.lang.java)
  • Re: Antivirus engine check utility
    ... Please verify the Java version on those systems using: ... to determine where to generate the temp. ... Please verify what these system-property values are using this utility (which displays ALL ... > The Antivirus Status Java applet cannot run properly because either: ...
    (microsoft.public.security)
  • Re: Singleton implementation problems
    ... Ben Finney wrote: ... will not re-import a module that's already been imported, ... import temp ... Duplicate imports under multiple names are a known problem, and this is not the only way to create such. ...
    (comp.lang.python)