³õѧJava ϹдһµÀ Ò»Çж¼ÊǸ¡ÔÆ
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
public class Test {
/**
* @×÷ÕßQQ£º351828554 2009/12/01 ÐÇÆÚ¶þ
version:1.0
*/
public static void main(String[] args) {
new encryptWindow();
}
}
class encryptWindow extends JFrame implements ActionListener
{
JSplitPane splitPane;
JButton button1,button2;
JTextArea inputText,showText;
JPanel p1;
JLabel la1,la2;
JMenuBar bar;
JMenu mu1,mu2;
JMenuItem itemCopy1,itemCut1,itemPaste1,
itemCopy2,itemCut2,itemPaste2,
itemHelp,itemClear;
HelpListen hlisten;
JPopupMenu menu1,menu2;
encryptWindow()
{
setTitle("¼òµ¥¼ÓÃÜС¹¤¾ß");
setBounds(170,120,500,330);
setVisible(true);
menu1=new JPopupMenu();
menu1.setBounds(10,10,20,20);
menu2=new JPopupMenu();
menu2.setBounds(10,10,20,20);
hlisten=new HelpListen();
button1=new JButton("¼ÓÃÜ");
button2=new JButton("½âÃÜ");
itemCopy1=new JMenuItem("¸´ÖÆ");
itemCut1=new JMenuItem("¼ôÇÐ");
itemPaste1=new JMenuItem("Õ³Ìù");
itemCopy2=new JMenuItem("¸´ÖÆ");
itemCut2=new JMenuItem("¼ôÇÐ");
itemPaste2=new JMenuItem("Õ³Ìù");
itemHelp=new JMenuItem("°ïÖú");
itemClear=new JMenuItem("Çå¿Õ");
menu1.add(itemCopy1);
menu1.add(itemCut1);
menu1.add(itemPaste1);
menu2.add(itemCopy2);
m
Ïà¹ØÎĵµ£º
Java½Ó¿ÚÓë³éÏóÀàµÄ±È½Ï
1¡¢ ×î´óµÄÇø±ð£ºjava³éÏóÀà¿ÉÒÔÌṩijЩ·½·¨µÄ²¿·ÖʵÏÖ£¬¶øjava½Ó¿Ú²»¿ÉÒÔ¡£
Èç¹ûÏòÒ»¸ö³éÏóÀàÀï¼ÓÈëÒ»¸öеľßÌå·½·¨£¬ÄÇôËûËùÓеÄ×ÓÀà¶¼Ò»ÏÂ×ӵõ½ÁËÕâ¸öз½·¨£¬¶øjava½Ó¿Ú×ö²»µ½ÕâÒ»µã¡£Èç¹ûÏòÒ»¸öjava½Ó¿ÚÀïÃæ¼ÓÈëÒ»¸öз½·¨£¬ËùÓÐʵÏÖÕâ¸ö½Ó¿ÚµÄÀà¾ÍÎÞ·¨³É¹¦Í¨¹ý±àÒëÁË£¬ÒòΪ±ØÐëÈà ......
Annotations
AnnotationsÊÇJ2SE 5.0ÒýÈëµÄÐÂÓïÑÔÌØÐÔ¡£Í¨³££¬ AnnotationsÔÊÐí¿ª·¢ÕßÓÃÒ»ÖÖ¸úÔËÐдúÂëÎ޹صĴÎÒªÐÅÏ¢À´±ê×¢À࣬·½·¨ÒÔ¼°³ÉÔ±¡£ÕâÑù¾Í¿ÉÒÔʹÓÃÀàËÆÆÀ¼ÛµÄ Annotations£¬±ÈÈ瓺÷½·¨”¡¢“»µ·½·¨”£¬»òÕ߸üÏêϸһЩ£¬“²»ÍƼöµÄ·½·¨”¡¢“¸²Ð´µÄ·½·¨&rdq ......
JAVA´úÂë±àÒëºóÊÇ.classÎļþ,ͨ¹ý·´±à¹¤¾ßºÜÈÝÒ×±»±ðÈË¿´µ½Ô´´úÂë
±£»¤JAVA´úÂëµÄ·½·¨ºÜ¶à£¬ÏÂÃæ½éÉÜÒ»ÖֱȽϷ½±ãʹÓõķ½·¨¡£
obfuscate4eÊÇÒ»¿î²ÉÓûìÏýÆ÷¸Ä±äCLASSÎļþÄÚÈݵķ½·¨¡£
ÏÂÎĽ«½éÉܾßÌåºÍeclipseµÄÕûºÏ·½·¨
1.ÏÂÔØobfuscate4e,¼ÓÈëÕ¾µãhttp://obfuscate4e.org/updates/,Õâ¸öÈí¼þÊǵ¹úÈË¿ª· ......
JavaÖеÄreturnÓï¾ä×ÜÊǺͷ½·¨ÓÐÃÜÇйØÏµ£¬returnÓï¾ä×ÜÊÇÓÃÔÚ·½·¨ÖУ¬ÓÐÁ½¸ö×÷Óã¬Ò»¸öÊÇ·µ»Ø·½·¨Ö¸¶¨ÀàÐ͵ÄÖµ(Õâ¸öÖµ×ÜÊÇÈ·¶¨µÄ)£¬Ò»¸öÊǽáÊø·½·¨µÄÖ´ÐÐ(½ö½öÒ»¸öreturnÓï¾ä)¡£
¡¡¡¡ÔÚreturnÓï¾äµÄ¸÷ÀàÎÄÕÂÖУ¬´ó¶à½ö½ö½éÉÜÁËreturnÓï¾äÓÃÓÚÓзµ»ØÖµ(·Çvoid·µ»ØÖµ)µÄ·½·¨ÖС£¶øºÜÉÙ»òûÓнéÉÜreturnÓï¾äÔÚvodi·µ»ØÖµ·½·¨ ......
Javaµ±ÖеÄÐòÁл¯£¬ÆäÖ÷ÒªµÄ×÷ÓÃÊǽ«ÀàµÄʵÀý½øÐÐÎÞËð´«Ê䣬»òÕß˵¾ÍÊÇͨ¹ýJavaµÄÐòÁл¯»úÖÆ£¬JavaÀàµÄʵÀý¿ÉÒÔͨ¹ýObjectÁ÷À´´«ÊäºÍÖØÐ»ñÈ¡£¬¶ø²»»áËð»µÀàµÄʵÀý¡£
Ê×ÏÈ£¬ÎÒÃÇ¿´¿´Ê²Ã´ÑùµÄÀàÊÇÐòÁл¯À࣬
1.AÀà×ÔÉíʵÏÖÁËSerializable½Ó¿ÚµÄÀࣻ ......