当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 请教一下,我用eclipse开发一个可以读取串口信息的插件,把
 

 

    摘要: swingjava desktop network components(jdnc): java.net/">https://jdnc.dev.java.net/skinnable look and feel for 1.5 (synth): java.sun.com/j2se/1.5.0/docs/api/javax/swing/plaf/synth/package-summary.html"......
 ·用javamail发送带附件的邮件    »显示摘要«
    摘要: 本文根据ian f. darwin的《java cookbook》整理而成,原书用整章的文字介绍如何发邮件,可能头绪会比较乱,本文则将其浓缩成一篇文章,力求使完全不懂javamail的人,都可以根据文中指示稍作修改,拿来就可以用。如果对其中原理还有不清楚,你可以参考原书。一、首先要用到三个java文件:1.mailconstants.java,properties文件的助记符://///////......


[求助]关于eclipse下开发串口操作插件的问题

请教一下,我用eclipse开发一个可以读取串口信息的插件,把它单独作为应用程序可以正常运行.但以插件形式运行时点击按钮就会出现异常.不知道是什么问题?

package com.plugin.hello;import org.eclipse.core.runtime.*;import org.eclipse.jface.dialogs.errordialog;import org.eclipse.jface.window.applicationwindow;import org.eclipse.swt.swt;import org.eclipse.swt.events.*;import org.eclipse.swt.layout.*;import org.eclipse.swt.widgets.*;import com.leon.serial.*; 【程序编程相关:经过百般努力,终于用JSP写出FileU

插件窗口程序: 【推荐阅读:Junit FAQ(001-016)

    // open the main window    open(); 【扩展信息:JavaMail 之 杜绝邮件乱码

/** * this class demonstrates jfaces errordialog class */public class dialogsample extends applicationwindow {  /**   * showerror constructor   */  public dialogsample() {    super(null);  }  /**   * runs the application   */  public void run() {    // dont return from open() until window closes    setblockonopen(true);

    // dispose the display    display.getcurrent().dispose();  }

  /**   * configures the shell   *   * @param shell the shell   */  protected void configureshell(shell shell) {    super.configureshell(shell);


...   下一页
 ·jsp学习笔记--jsp标签库    »显示摘要«
    摘要: 原文地址:http://www.7880.com/info/article-461b6340.html1.jsp标签库(也称自定义库)可看成是一套产生基于xml脚本的方法,它经由javabeans来支持。在概念上说,标签库是非常简单和可以重用的代码构造。它可以大大简化你在页面中输入各种录入框的代码(诸如此类的代码:<input type="text" name=&quo......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE