in Software that use java, Show popmenu that have the

发表于:2007-07-01来源:作者:点击数: 标签:
in Software that use java ,Show popmenu that have the function of cut copy past tothe JTextField JTextArea JTextPane。//How to Use?: in thethod MAIN()add some code public static void main(String[] d) { try { LookAndFeel alloyLnF = new so
 in Software that use java, Show  popmenu   that  have  the  function   of cut copy  past to the  JTextField JTextArea JTextPane。//How to Use?:  in thethod MAIN()add some code  public static void main(String[] d) {    try {          LookAndFeel alloyLnF = new soft.wes.feels.BedouinThemeAlloyLookAndFeel();      javax.swing.UIManager.setLookAndFeel(alloyLnF);            UIManager.put("TextFieldUI", "wmw.ui.textui.WTextFieldUi");      UIManager.put("TextAreaUI", "wmw.ui.textui.WTextAreaUi");      UIManager.put("TextPaneUI", "wmw.ui.textui.WTextPaneUI");      /*  Put other code that start your Software */             }    catch (Exception ex) {      ex.printStackTrace();    }  }//运行 test:   run.bat      // Mail:  wmwcpu88@hotmail.com  

原文转自:http://www.ltesting.net