服务热线:13616026886

技术文档 欢迎使用技术文档,我们为你提供从新手到专业开发者的所有资源,你也可以通过它日益精进

位置:首页 > 技术文档 > JAVA > 新手入门 > 基础入门 > 查看文档

in software that use java, show popmenu that have the function of cut copy past to

 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  

扫描关注微信公众号