反编译java文件jar
本帖最后由 libo 于 2018-7-29 19:29 编辑前言
还是拿群主的表白神器 zuoai.jar研究:gaoao:
准备
[*]jd-gui-v0.3.6.exe(下载见附件)
[*]zuoai.jar
使用
文件—导入—jar文件
效果如下:
import java.awt.Component;
import java.awt.EventQueue;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
public class love
extends JFrame
{
private static final long serialVersionUID = 5430219520645185275L;
private JPanel contentPane;
protected Component frame;
public static void main(String[] args)
{
EventQueue.invokeLater(new Runnable()
{
public void run()
{
try
{
love frame = new love();
frame.setVisible(true);
}
catch (Exception e)
{
e.printStackTrace();
}
}
});
}
public love()
{
setDefaultCloseOperation(3);
setBounds(100, 100, 450, 300);
this.contentPane = new JPanel();
this.contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
setContentPane(this.contentPane);
this.contentPane.setLayout(null);
JLabel label = new JLabel("小姐姐处对象吗?");
label.setFont(new Font("幼圆", 0, 18));
label.setBounds(147, 20, 211, 41);
this.contentPane.add(label);
JButton button = new JButton("好的");
button.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent arg0)
{
JOptionPane.showMessageDialog(null, "恭喜!成功拿下!", "表白幺~", -1);
}
});
button.setBounds(98, 179, 93, 23);
this.contentPane.add(button);
JButton button_1 = new JButton("不行");
button_1.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
{
JOptionPane.showConfirmDialog(null, "房子写你名", "表白~", 0);
JOptionPane.showConfirmDialog(null, "我会做饭", "表白~", 0);
JOptionPane.showConfirmDialog(null, "我会洗衣服", "表白~", 0);
JOptionPane.showMessageDialog(null, "现在可以成为我女票吗?", "表白幺~", -1);
JOptionPane.showMessageDialog(null, "恭喜!成功拿下!", "表白幺~", -1);
}
});
button_1.setBounds(251, 179, 93, 23);
this.contentPane.add(button_1);
JLabel lblNewLabel = new JLabel("");
lblNewLabel.setIcon(new ImageIcon("love.png"));
lblNewLabel.setBounds(157, 57, 114, 98);
this.contentPane.add(lblNewLabel);
}
}
附件下载
我明明发的是love.jar不是zuoai.jar好不好:daizhi: 同样是九年义务教育,为何你如此优秀! admin 发表于 2018-7-29 19:18
我明明发的是love.jar不是zuoai.jar好不好
哈哈!{:6_239:} priess1314 发表于 2018-7-29 19:23
同样是九年义务教育,为何你如此优秀!
我是我,不一样的烟火!
页:
[1]