<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>AWT和Swing on 杨刚的个人网站</title>
    <link>https://www.ygang.top/posts/3ab7256e/4e1989d8/</link>
    <description>Recent content in AWT和Swing on 杨刚的个人网站</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh</language>
    <copyright>Copyright © 2018-2025 GradyYoung. All rights reserved.</copyright>
    <lastBuildDate>Wed, 07 May 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://www.ygang.top/posts/3ab7256e/4e1989d8/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>1、AWT</title>
      <link>https://www.ygang.top/posts/3ab7256e/4e1989d8/b85dd164/</link>
      <pubDate>Tue, 06 May 2025 00:00:00 +0000</pubDate>
      
      <guid>https://www.ygang.top/posts/3ab7256e/4e1989d8/b85dd164/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;Java 图形化界面 
    &lt;div id=&#34;java-图形化界面&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#java-%e5%9b%be%e5%bd%a2%e5%8c%96%e7%95%8c%e9%9d%a2&#34; aria-label=&#34;锚点&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;Java使用AWT和Swing相关的类可以完成图形化界面编程，其中AWT的全称是抽象窗口工具集(Abstract Window Toolkit),它是sun公司最早提供的GUI库，这个GUI库提供了一些基本功能，但这个GUI库的功能比较有限，所以后来sun公司又提供了Swing库。通过使用AWT和Swing提供的图形化界面组件库，java的图形化界面编程非常简单，程序只需要依次创建所需的图形组件，并以合适的方式将这些组件组织在一起，就可以开发出非常美观的用户界面。&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>2、Swing</title>
      <link>https://www.ygang.top/posts/3ab7256e/4e1989d8/5f0a2f9a/</link>
      <pubDate>Wed, 07 May 2025 00:00:00 +0000</pubDate>
      
      <guid>https://www.ygang.top/posts/3ab7256e/4e1989d8/5f0a2f9a/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;Swing 概念 
    &lt;div id=&#34;swing-概念&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#swing-%e6%a6%82%e5%bf%b5&#34; aria-label=&#34;锚点&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;实际使用 Java 开发图形界面程序时 ，很少使用 AWT 组件，绝大部分时候都是用 Swing 组件开发的。&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
