Return | Method | Summary |
---|---|---|
String | getImplementationTitle() | Return the title of this package. |
String | getImplementationVendor() | Returns the name of the organization, vendor. |
String | getImplementationVersion() | Return the version. |
public class Main {
public static void main(String[] args) {
Package p = Package.getPackage("javax.swing");
System.out.println(p.getImplementationTitle());
System.out.println(p.getImplementationVendor());
System.out.println(p.getImplementationVersion());
}
}
The output:
Java Runtime Environment
Sun Microsystems, Inc.
1.6.0_12
java2s.com | Contact Us | Privacy Policy |
Copyright 2009 - 12 Demo Source and Support. All rights reserved. |
All other trademarks are property of their respective owners. |