Documentation

The Java™ Tutorials
Hide TOC
Getting Started with SwingSwing入门
Trail: Creating a GUI With Swing

Lesson: Getting Started with Swing课程:开始Swing

Examples Index示例索引

This lesson gives you a brief introduction to using Swing. 本课简要介绍如何使用Swing。After telling you about Swing, it walks you through how to compile and run a program that uses the Swing packages.在介绍Swing之后,它将指导您如何编译和运行使用Swing包的程序。

The following lesson, Learning Swing with the NetBeans IDE will build on these first steps to help you create several progressively more complex examples. 下面的课程使用NetBeans IDE学习Swing将以这些第一步为基础,帮助您创建几个逐渐复杂的示例。For now, let's start with the basics.现在,让我们从基础开始。

About the JFC and Swing关于JFC和Swing

This section gives you an overview of Swing.本节概述Swing。

Compiling and Running Swing Programs编译和运行Swing程序

This section gives you detailed instructions on where to obtain the latest JDK and how to create, compile and run a program that uses Swing components.本节为您提供有关从何处获取最新JDK以及如何创建、编译和运行使用Swing组件的程序的详细说明。

If you are interested in using the JavaFX package to create your UI, see the JavaFX Documentation. 如果您对使用JavaFX包创建UI感兴趣,请参阅JavaFX文档To deploy, see Java Platform, Standard Edition Deployment Guide.要部署,请参阅Java平台,标准版部署指南


Previous page: Table of Contents
Next page: About the JFC and Swing