当前位置: 首页 > news >正文

如何做好网站管理工作泰安网约车

如何做好网站管理工作,泰安网约车,网站推广一站式服务,启东做网站如何编写一个便签程序(用Java语言编写)热度#xff1a;336 发布时间#xff1a;2011-02-18 11:44:16如何编写一个便签程序(用Java语言编写)因为以前没有好好学习Java#xff0c;都搞忘了#xff0c;请大家原谅#xff0c;也请你们指导一下#xff0c;怎么编写这个程序336   发布时间2011-02-18 11:44:16如何编写一个便签程序(用Java语言编写)因为以前没有好好学习Java都搞忘了请大家原谅也请你们指导一下怎么编写这个程序再次谢谢各位了搜索更多相关的解决方案:Java----------------解决方案--------------------------------------------------------什么是便签啊----------------解决方案--------------------------------------------------------/** To change this template, choose Tools | Templates* and open the template in the editor.*//** NewOkCancelDialog.java** Created on 2011-2-21, 13:41:25*//**** author Administrator*/public class NewOkCancelDialog extends javax.swing.JDialog {/** A return status code - returned if Cancel button has been pressed */public static final int RET_CANCEL 0;/** A return status code - returned if OK button has been pressed */public static final int RET_OK 1;/** Creates new form NewOkCancelDialog */public NewOkCancelDialog(java.awt.Frame parent, boolean modal) {super(parent, modal);initComponents();}/** return the return status of this dialog - one of RET_OK or RET_CANCEL */public int getReturnStatus() {return returnStatus;}/** This method is called from within the constructor to* initialize the form.* WARNING: Do NOT modify this code. The content of this method is* always regenerated by the Form Editor.*/// private void initComponents() {jScrollBar1 new javax.swing.JScrollBar();jDesktopPane1 new javax.swing.JDesktopPane();okButton new javax.swing.JButton();cancelButton new javax.swing.JButton();jScrollPane1 new javax.swing.JScrollPane();jTextArea1 new javax.swing.JTextArea();jScrollBar1.setBackground(new java.awt.Color(255, 255, 102));addWindowListener(new java.awt.event.WindowAdapter() {public void windowClosing(java.awt.event.WindowEvent evt) {closeDialog(evt);}});okButton.setText(OK);okButton.addActionListener(new java.awt.event.ActionListener() {public void actionPerformed(java.awt.event.ActionEvent evt) {okButtonActionPerformed(evt);}});cancelButton.setText(Cancel);cancelButton.addActionListener(new java.awt.event.ActionListener() {public void actionPerformed(java.awt.event.ActionEvent evt) {cancelButtonActionPerformed(evt);}});jTextArea1.setBackground(new java.awt.Color(255, 255, 51));jTextArea1.setColumns(20);jTextArea1.setRows(5);jScrollPane1.setViewportView(jTextArea1);javax.swing.GroupLayout layout new javax.swing.GroupLayout(getContentPane());getContentPane().setLayout(layout);layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(layout.createSequentialGroup().addGap(28, 28, 28).addComponent(okButton, javax.swing.GroupLayout.PREFERRED_SIZE, 67, javax.swing.GroupLayout.PREFERRED_SIZE).addGap(18, 18, 18).addComponent(cancelButton).addGap(32, 32, 32)).addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup().addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE).addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 196, javax.swing.GroupLayout.PREFERRED_SIZE).addContainerGap()));layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {cancelButton, okButton});layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup().addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 238, Short.MAX_VALUE).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE).addComponent(cancelButton).addComponent(okButton)).addContainerGap()));pack();}// private void okButtonActionPerformed(java.awt.event.ActionEvent evt) {doClose(RET_OK);}private void cancelButtonActionPerformed(java.awt.event.ActionEvent evt) {doClose(RET_CANCEL);}/** Closes the dialog */private void closeDialog(java.awt.event.WindowEvent evt) {doClose(RET_CANCEL);}private void doClose(int retStatus) {returnStatus retStatus;setVisible(false);dispose();}/*** param args the command line arguments*/public static void main(String args[]) {java.awt.EventQueue.invokeLater(new Runnable() {public void run() {NewOkCancelDialog dialog new NewOkCancelDialog(new javax.swing.JFrame(), true);dialog.addWindowListener(new java.awt.event.WindowAdapter() {public void windowClosing(java.awt.event.WindowEvent e) {System.exit(0);}});dialog.setVisible(true);}});}// Variables declaration - do not modifyprivate javax.swing.JButton cancelButton;private javax.swing.JDesktopPane jDesktopPane1;private javax.swing.JScrollBar jScrollBar1;private javax.swing.JScrollPane jScrollPane1;private javax.swing.JTextArea jTextArea1;private javax.swing.JButton okButton;// End of variables declarationprivate int returnStatus RET_CANCEL;}我已经把模板编好了但是咋个把它编译成适用的便签纸呢----------------解决方案--------------------------------------------------------呵呵----------------解决方案--------------------------------------------------------
http://www.huolong8.cn/news/112063/

相关文章:

  • 安徽省卫生计生网站医共体建设辽阳专业网站建设品牌
  • 信用门户网站建设观摩手机网页设计网站建设
  • 网站开发大作业报告wordpress toptheme
  • 网络推广哪个网站好网站开发服务外包合同
  • 手机网站页面布局wordpress提示框插件
  • 网站框架设计理念网站建设所需费用明细
  • 外链网站哪些网站国内打不开
  • 福田建设网站中国舆情在线网
  • 用ps设计网站做多大的巨野网站建设
  • 企业为什么需要搭建一个网站营销型企业网站策划方案
  • 网络营销的含义和特点济南网站优化推广
  • 网站域名如何续费wordpress用什么图床好
  • 做网站珊瑚橙颜色怎么搭配好看wordpress微信付款后查看
  • 做网站需要提供什么资料关键词推广技巧
  • 西安网站制作流程自己做网站如何赚钱
  • 做餐饮店铺哪个网站岳阳seo优化
  • 电脑网站 源码如何自己做网址
  • 网站建设qq做的网站必须放
  • 官方网站是什么中国公关公司排行榜
  • 南宁学网站开发东莞网站建设在哪里
  • 做自媒体那几个网站好点哈西建站优化
  • 网站建设预算及准备台州网站关键字优化详情
  • 怎么推广自己的公司网站wordpress主题 大学
  • 兰州网站外包百家号权重查询站长工具
  • seo建站要求湘潭网站建设 r磐石网络
  • 天津到天津天津网站开发ui培训班大概多少钱
  • 如何写网站建设方案书优化公司组织架构
  • 国外网站顶部菜单设计海原县住房和城乡建设局网站
  • 北京网站建设公司那个好怎么创建微信公众号写文章
  • 新网站多久收录广州公司注册名字查询