从JDK1.2开始JFC就包含在JDK里面了,JDK1.5里面就已经有了,不用下载了。

解决方案 »

  1.   

    同意楼上
    The Java Foundation Classes (JFC) are a set of Java class libraries provided as part of Java 2 Platform, Standard Edition (J2SE) to support building graphics user interface (GUI) and graphics functionality for client applications that will run on popular platforms such as Microsoft Windows, Linux, and Mac OSX.
    Overview of Java Foundation Classes (JFC) Features 1 Abstract Window Toolkit (AWT) - APIs that enable programs to integrate into the native desktop window system, including APIs for Drag and Drop.2 Java 2D - APIs to enable advanced 2D graphics, imaging, text and printing.3 Swing GUI Components - APIs that extend the AWT to provide a rich, extensible GUI component library with a pluggable look and feel.4 Accessibility - APIs and assistive technologies are for ensuring an application is accessible to users with disabilities and meets government requirements for accessibility.5 Internationalization - All JFC technologies include support for creating applications that can interact with users around the world using the user's own language and cultural conventions. This includes the Input Method Framework API.These five technologies are designed to be used together to enable you to build fully functional GUI client applications that run and integrate on any client machine that supports the J2SE platform, including Microsoft Windows, Solaris, Linux, and Mac OSX.Note: The most recent release containing JFC API is Java 2 SDK, Standard Edition, (J2SE) v 1.4 and is available for Microsoft Windows, Solaris, and Linux. Visit www.apple.com/java to find the latest information on J2SE platform support for OSX
      

  2.   

    安装好jdk后,JFC已经包含在\jdk1.5.0\lib\dt.jar里面了,你只要把这设置到classpath里,在程序里import javax.swing.*;就可以了
      

  3.   

    to thrive_li() :
    安装好jdk后,JFC已经包含在\jdk1.5.0\lib\dt.jar里面了?????不是这个吧?应该是\jdk1.5.0\jre\lib\rt.jar,还有rt.jar是不用加到classpath里的,这是基础