Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Trouble with Java3D
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with Java3D



Ah, how stupid of me! Thanks a million, got it working now.

Jerome Williams


In Java, an import with a * doesn't work recursively. You have to give the exact package or packages you want to import from. This is true for all of Java, not just Java3D.

For example, these would also fail:
  import com.*;  // hope to get com.sun.**, com.apple.**, etc.
  import java.*;  // hope to get java.applet.*, java.awt.*, etc.
  import com.sun.*;

The reason they fail is there are no classes directly in those packages.

  -- GG


_________________________________________________________________
Share folders without harming wildlife! http://www.communicationevolved.com/en-ie/


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.