1、首先打开eclipse,新建一个Java Project 。
3、点击 Finish ,完成工程创建。
5、选择Dialog 。
7、点击Finish,完成创建。
9、添加TextArea 和一个 Button 。
11、添加菱形代码。