Hello,
On May 22, 3:00 am, franzgabriel <[email protected]> wrote: > Last Night, I open Java API in Jdk 6 - I wonder it > now I am reading and the open library class to packet. > > my question: is possible for myself to create another packet from jdk6 > to use self purpose?How to create packet for specific class? example > only class AWT and in my class will create only simple > import.myPack.windowDesktop.*; all about using this library in this > packet? how? somebody tell me plz? I do not understand clearly what you like to achieve , but I think would you need is the "package" - statement which defines in which package the class belongs to. ( Pay attention to the directory structure, which must reflect the package hierarchy ). Package the classes into a jar file and add this jar file to the CLASSPATH. After this you can use in your classes an import package.statement.you.provided.in.the.jarFile.*; HTH Ewald --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
