坑人的代码
- 格式:doc
- 大小:82.50 KB
- 文档页数:10
package ;import java.awt.Color;import java.awt.EventQueue;import java.awt.Font;import ponent;import javax.swing.JButton;import javax.swing.JFrame;import javax.swing.JOptionPane;import javax.swing.JPanel;import javax.swing.JTextField;import javax.swing.border.EmptyBorder;public class HaHa extends JFrame {private JPanel contentPane;private JTextField textField;private JTextField textField_1;/*** Launch the application.*/public static void main(String[] args) {EventQueue.invokeLater(new Runnable() {public void run() {try {HaHa frame = new HaHa();frame.setVisible(true);} catch (Exception e) {e.printStackTrace();}}});JOptionPane.showMessageDialog(null, "不要心急,你是关不掉的!除非重启电脑咯!继续看看吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "孩子,好了不逗你了,圣诞节快乐,擦掉吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "我努力的擦啊擦,怎么就是擦不掉呢?电脑烂了??", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "哈哈,自信点,你电脑没有烂呢!", "哈哈JOptionPane.showMessageDialog(null, "好了,说出你的圣诞节的愿望就放过你算了吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "你说不说??不说是吧??好,那你擦掉吧!浪费我的表情!!", "哈哈",RMATION_MESSAGE);JOptionPane.showMessageDialog(null, "叫你不听话,急死你,你就等着重启电脑吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "这里是个炸弹!!小心!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 打开有惊喜!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "圣诞节快乐", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "不要心急,你是关不掉的!除非重启电脑咯!继续看看吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "孩子,好了不逗你了,圣诞节快乐,擦掉吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "我努力的擦啊擦,怎么就是擦不掉呢?电脑烂了??", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "哈哈,自信点,你电脑没有烂呢!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "好了,说出你的圣诞节的愿望就放过你算了吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "你说不说??不说是吧??好,那你擦掉吧!浪费我的表情!!", "哈哈",RMATION_MESSAGE);JOptionPane.showMessageDialog(null, "叫你不听话,急死你,你就等着重启电脑吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "这里是个炸弹!!小心!", "哈哈JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 打开有惊喜!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "圣诞节快乐", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "不要心急,你是关不掉的!除非重启电脑咯!继续看看吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "孩子,好了不逗你了,圣诞节快乐,擦掉吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "我努力的擦啊擦,怎么就是擦不掉呢?电脑烂了??", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "哈哈,自信点,你电脑没有烂呢!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "好了,说出你的圣诞节的愿望就放过你算了吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "你说不说??不说是吧??好,那你擦掉吧!浪费我的表情!!", "哈哈",RMATION_MESSAGE);JOptionPane.showMessageDialog(null, "叫你不听话,急死你,你就等着重启电脑吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "这里是个炸弹!!小心!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 打开有惊喜!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "圣诞节快乐", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "不要心急,你是关不掉的!除非重启电脑咯!继续看看吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "孩子,好了不逗你了,圣诞节快乐,擦掉吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "我努力的擦啊擦,怎么就是擦不掉呢?电脑烂了??", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "哈哈,自信点,你电脑没有烂呢!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "好了,说出你的圣诞节的愿望就放过你算了吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "你说不说??不说是吧??好,那你擦掉吧!浪费我的表情!!", "哈哈",RMATION_MESSAGE);JOptionPane.showMessageDialog(null, "叫你不听话,急死你,你就等着重启电脑吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "这里是个炸弹!!小心!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 打开有惊喜!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "圣诞节快乐", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "不要心急,你是关不掉的!除非重启电脑咯!继续看看吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "孩子,好了不逗你了,圣诞节快乐,擦掉吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "我努力的擦啊擦,怎么就是擦不掉呢?电脑烂了??", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "哈哈,自信点,你电脑没有烂呢!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "好了,说出你的圣诞节的愿望就放过你算了吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "你说不说??不说是吧??好,那你擦掉吧!浪费我的表情!!", "哈哈",RMATION_MESSAGE);JOptionPane.showMessageDialog(null, "叫你不听话,急死你,你就等着重启电脑吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "这里是个炸弹!!小心!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 打开有惊喜!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "圣诞节快乐", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "不要心急,你是关不掉的!除非重启电脑咯!继续看看吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "孩子,好了不逗你了,圣诞节快乐,擦掉吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "我努力的擦啊擦,怎么就是擦不掉呢?电脑烂了??", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "哈哈,自信点,你电脑没有烂呢!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "好了,说出你的圣诞节的愿望就放过你算了吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "你说不说??不说是吧??好,那你擦掉吧!浪费我的表情!!", "哈哈",RMATION_MESSAGE);JOptionPane.showMessageDialog(null, "叫你不听话,急死你,你就等着重启电脑吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "这里是个炸弹!!小心!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 打开有惊喜!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "圣诞节快乐", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "不要心急,你是关不掉的!除非重启电脑咯!继续看看吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "孩子,好了不逗你了,圣诞节快乐,擦掉吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "我努力的擦啊擦,怎么就是擦不掉呢?电脑烂了??", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "哈哈,自信点,你电脑没有烂呢!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "好了,说出你的圣诞节的愿望就放过你算了吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "你说不说??不说是吧??好,那你擦掉吧!浪费我的表情!!", "哈哈",RMATION_MESSAGE);JOptionPane.showMessageDialog(null, "叫你不听话,急死你,你就等着重启电脑吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "这里是个炸弹!!小心!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 打开有惊喜!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "圣诞节快乐", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "不要心急,你是关不掉的!除非重启电脑咯!继续看看吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "孩子,好了不逗你了,圣诞节快乐,擦掉吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "我努力的擦啊擦,怎么就是擦不掉呢?电脑烂了??", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "哈哈,自信点,你电脑没有烂呢!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "好了,说出你的圣诞节的愿望就放过你算了吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "你说不说??不说是吧??好,那你擦掉吧!浪费我的表情!!", "哈哈",RMATION_MESSAGE);JOptionPane.showMessageDialog(null, "叫你不听话,急死你,你就等着重启电脑吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "这里是个炸弹!!小心!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 打开有惊喜!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "圣诞节快乐", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "不要心急,你是关不掉的!除非重启电脑咯!继续看看吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "孩子,好了不逗你了,圣诞节快乐,擦掉吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "我努力的擦啊擦,怎么就是擦不掉呢?电脑烂了??", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "哈哈,自信点,你电脑没有烂呢!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "好了,说出你的圣诞节的愿望就放过你算了吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "你说不说??不说是吧??好,那你擦掉吧!浪费我的表情!!", "哈哈",RMATION_MESSAGE);JOptionPane.showMessageDialog(null, "叫你不听话,急死你,你就等着重启电脑吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "这里是个炸弹!!小心!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 打开有惊喜!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "圣诞节快乐", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "不要心急,你是关不掉的!除非重启电脑咯!继续看看吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "孩子,好了不逗你了,圣诞节快乐,擦掉吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "我努力的擦啊擦,怎么就是擦不掉呢?电脑烂了??", "哈哈",RMATION_MESSAGE);JOptionPane.showMessageDialog(null, "哈哈,自信点,你电脑没有烂呢!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "好了,说出你的圣诞节的愿望就放过你算了吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "你说不说??不说是吧??好,那你擦掉吧!浪费我的表情!!", "哈哈",RMATION_MESSAGE);JOptionPane.showMessageDialog(null, "叫你不听话,急死你,你就等着重启电脑吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "这里是个炸弹!!小心!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 打开有惊喜!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "圣诞节快乐", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "不要心急,你是关不掉的!除非重启电脑咯!继续看看吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "孩子,好了不逗你了,圣诞节快乐,擦掉吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "我努力的擦啊擦,怎么就是擦不掉呢?电脑烂了??", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "哈哈,自信点,你电脑没有烂呢!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "好了,说出你的圣诞节的愿望就放过你算了吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "你说不说??不说是吧??好,那你擦掉吧!浪费我的表情!!", "哈哈",RMATION_MESSAGE);JOptionPane.showMessageDialog(null, "叫你不听话,急死你,你就等着重启电脑吧!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "从前有棵树,叫高树,书上挂了好多人噢,哈哈", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 从前有座庙,里面住了三个和尚", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "这里是个炸弹!!小心!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "吓你的!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, " 打开有惊喜!", "哈哈",RMA TION_MESSAGE);JOptionPane.showMessageDialog(null, "圣诞节快乐", "哈哈",RMA TION_MESSAGE);}/*** Create the frame.*/public HaHa() {setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);setBounds(100, 100, 450, 300);contentPane = new JPanel();contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));setContentPane(contentPane);contentPane.setLayout(null);textField = new JTextField();textField.setText("\u54C8\u54C8\uFF0C\u5723\u8BDE\u8282\u5FEB\u8981\u6765\u4E34\u 4E86\uFF01");textField.setBounds(52, 85, 169, 21);contentPane.add(textField);textField.setColumns(10);textField_1 = new JTextField();textField_1.setText("\u6709\u7B28\u86CB\u5C31\u8981\u4E0A\u94A9\u4E86\uFF01\uFF0 1\uFF01");textField_1.setBounds(52, 127, 163, 21);contentPane.add(textField_1);textField_1.setColumns(10);JButton btncadiao = new JButton("\u64E6\u6389");btncadiao.setBounds(164, 212, 93, 23);contentPane.add(btncadiao);btncadiao.setBackground(Color.RED);Font font1=new Font("Serif",Font.BOLD,24);btncadiao.setFont(font1);}}。