09 2011 档案
摘要:Alt+Shift+r: rename the method in all the places.Ctrl+Shift+f: layoutCtrl+Shift+o: add the missing packageCtrl+Shift+x > j: run Console Application
阅读全文
摘要:右键单击 > 属性 > 解除锁定 (Unlock)This is to avoid a Microsoft security defect.
阅读全文
摘要:如何禁用 JFrame 的 关闭按钮import java.awt.Dimension;import java.awt.FlowLayout;import java.awt.HeadlessException;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import javax.swing.JButton;import javax.swing.JFrame;public class Main extends JFrame { public Main() throws HeadlessExcept.
阅读全文