in Software that use java, Show popmenu that have the function of cut copy past to

类别:Java 点击:0 评论:0 推荐:
 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:  [email protected]  

本文地址:http://com.8s8s.com/it/it10170.htm