亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? noteaddpanel.java

?? 發(fā)泄網(wǎng)! 發(fā)泄網(wǎng)! 發(fā)泄網(wǎng)! 發(fā)泄網(wǎng)! 發(fā)泄網(wǎng)! 發(fā)泄網(wǎng)! 發(fā)泄網(wǎng)! 發(fā)泄網(wǎng)!
?? JAVA
字號:
    /* CRMS, customer relationship management system    Copyright (C) 2003  Service To Youth Council    This program is free software; you can redistribute it and/or modify    it under the terms of the GNU General Public License as published by    the Free Software Foundation; either version 2 of the License, or    (at your option) any later version.    This program is distributed in the hope that it will be useful,    but WITHOUT ANY WARRANTY; without even the implied warranty of    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    GNU General Public License for more details.    You should have received a copy of the GNU General Public License    along with this program; if not, write to the Free Software    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA    For further information contact the SYC ICT department on GPL@syc.net.au    98 Kermode Street    North Adelaide    South Australia    SA 5006     +61 (0)8 8367 0755    *//* * CallViewPanel.java * * Created on 27 March 2003, 00:11 */package crms.applet;import javax.swing.*;import java.awt.*;import java.awt.event.*;import javax.swing.border.*;import javax.swing.event.*;import java.util.*;import crms.vo.*;import crms.module.*;import crms.util.*;import crms.ui.*;import java.text.*;import java.beans.*;import java.io.*;import java.text.*;/** * * @author  dmurphy */public class NoteAddPanel extends CRMSPanel implements ItemListener  {	public static final int CLOSE_WINDOW = 0;        JPanel titlePanel = new JPanel();    CRMSPanel bodyPanel = CRMSPanel.getEmptyPanel();    JLabel headingLabel = new JLabel();        public static SimpleDateFormat df = new SimpleDateFormat("EEEE, d MMMM, yyyy");    public static SimpleDateFormat tf = new SimpleDateFormat("h:mm a");    JButton buttonSave = new JButton("Save Note");    JButton buttonReset = new JButton("Clear");    JButton buttonCancel = new JButton("Close");    JCheckBox accessLevel = new JCheckBox("Private");    JTextArea noteText = new JTextArea();    JScrollPane noteScrollPane = new JScrollPane(noteText);        JPanel buttonPanel = new JPanel();    EntityType noteType = null;    int noteReference = -1;        //Permission entityPermission = null;	CallbackDestination destination = null;    	public NoteAddPanel() {	}    /** Creates a new instance of CallViewPanel */    public NoteAddPanel(EntityType noteType, int noteReference, String title, Permission entityPermission) {        this.noteType = noteType;        this.noteReference = noteReference;        //this.entityPermission = entityPermission;        headingLabel.setText(title);    }	public void setNotes(EntityType noteType, int noteReference) {        this.noteType = noteType;        this.noteReference = noteReference;	}	public void setDestination(CallbackDestination new_dest) {		destination = new_dest;	}        public void init() {		final Object thisobj = this;        setLayout(new BorderLayout());        setBackground(Color.WHITE);/*        headingLabel.setFont(new java.awt.Font("Serif", 1, 18));        headingLabel.setBackground(Color.WHITE);                noteText.setWrapStyleWord(true);        noteText.setLineWrap(true);                titlePanel.add(headingLabel);        titlePanel.setBackground(Color.WHITE);        add(titlePanel, BorderLayout.NORTH);*/              buttonPanel.setLayout(new FlowLayout(FlowLayout.RIGHT));		buttonPanel.setBackground(Color.WHITE);        buttonPanel.add(buttonSave);        buttonPanel.add(buttonReset);        buttonPanel.add(buttonCancel);                buttonSave.addActionListener( new ActionListener() {           public void actionPerformed(ActionEvent ev) {               saveNote();				if (destination != null) {					destination.callback(thisobj, NoteAddPanel.CLOSE_WINDOW, new Object());				}               //PanelManager.getInstance().activatePanel(new NotesViewPanel(noteType, noteReference, entityPermission));           }        });                buttonReset.addActionListener( new ActionListener() {           public void actionPerformed(ActionEvent ev) {               refreshData();           }        });                buttonCancel.addActionListener( new ActionListener() {           public void actionPerformed(ActionEvent ev) {			if (destination != null) {				destination.callback(thisobj, NoteAddPanel.CLOSE_WINDOW, null);			}            //PanelManager.getInstance().activatePanel(new NotesViewPanel(noteType, noteReference, entityPermission));           }        });        bodyPanel.setLayout(new GridBagLayout());        bodyPanel.setBackground(Color.WHITE);                noteText.setRows(10);                Insets defaultInsets = new Insets(4,0,0,0);                bodyPanel.add(new JLabel("Date"),                  new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0        ,GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, defaultInsets, 0, 0));        bodyPanel.add(new JLabel(df.format(new Date())),                  new GridBagConstraints(1, 0, 3, 1, 0.0, 0.0        ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, defaultInsets, 167, 0));                bodyPanel.add(new JLabel("Time"),                  new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0        ,GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, defaultInsets, 0, 0));        bodyPanel.add(new JLabel(tf.format(new Date())),                  new GridBagConstraints(1, 1, 3, 1, 0.0, 0.0        ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, defaultInsets, 167, 0));        bodyPanel.add(new JLabel("Note"),                  new GridBagConstraints(0, 3, 1, 1, 0.0, 0.0        ,GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, defaultInsets, 0, 0));        bodyPanel.add(noteScrollPane,                  new GridBagConstraints(1, 3, 3, 10, 0.0, 0.0        ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, defaultInsets, 167, 0));                // lubo: addd privacy 				bodyPanel.add(new JLabel("Private"),            new GridBagConstraints(0, 15, 1, 1, 0.0, 0.0        ,GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, defaultInsets, 0, 0));				bodyPanel.add(accessLevel,                  	  new GridBagConstraints(1, 15, 3, 1, 0.0, 0.0        ,GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, defaultInsets, 167, 0));		accessLevel.setBackground(Color.WHITE);                add(bodyPanel, BorderLayout.CENTER);        add(buttonPanel, BorderLayout.SOUTH);                setCurrentPanel(bodyPanel);                refreshData();    }        public void refreshData() {        noteText.setText("");		accessLevel.setSelected(false);    }        public void saveNote() {                Server server = ServerFactory.getInstance().getServer();                ServerCommand command = new ServerCommand(NoteModule.NOTES_ADD);                command.setParameter(NoteModule.PARAM_NOTE_TYPE, noteType.getCode());        command.setParameter(NoteModule.PARAM_NOTE_REFERENCE, String.valueOf(noteReference));        command.setParameter(NoteModule.PARAM_NOTE_TEXT, noteText.getText());                if (accessLevel.isSelected()) {					command.setParameter(NoteModule.PARAM_ACCESS_LEVEL, new Integer(1));        }        ServerResponse sr = server.sendCommand(command);    }    		/** Listens to the check boxes. */		public void itemStateChanged(ItemEvent e) {				int index = 0;				char c = '-';				Object source = e.getItemSelectable();				if (source == accessLevel) {						index = 0;						c = 'c';				} else  {						System.out.println("### Unknown object");				}				//Now that we know which button was pushed, find out				//whether it was selected or deselected.				if (e.getStateChange() == ItemEvent.DESELECTED) {					accessLevel.setSelected(true);				} else {					accessLevel.setSelected(false);				}					}			/**	 * Main class	 *	 * @param args	 */	public static void main(String[] args) {		JFrame frame = new JFrame("Utillity Bar");		NoteAddPanel ut = new NoteAddPanel(EntityType.COMPANY, -1, "test", null );		ut.init();		frame.getContentPane().add(ut);		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);		frame.pack();		frame.setVisible(true);	}    }

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
337p粉嫩大胆色噜噜噜噜亚洲| 韩国女主播一区| 成a人片亚洲日本久久| 久久视频一区二区| 国产精品一区二区在线播放 | 精品国产一区二区三区不卡| 久久福利视频一区二区| 久久一二三国产| 国产成a人亚洲精品| 亚洲天堂av一区| 欧美亚洲动漫精品| 日本系列欧美系列| 久久久99免费| 色婷婷久久99综合精品jk白丝| 一区二区三区在线观看国产| 欧美精品一二三区| 国产真实乱对白精彩久久| 国产精品热久久久久夜色精品三区 | 一区二区三区在线观看网站| 欧美日韩一区二区欧美激情| 国产日韩欧美一区二区三区乱码| 成人高清免费观看| 亚洲欧美日韩久久精品| 在线欧美小视频| 天堂影院一区二区| 日韩亚洲欧美成人一区| 韩国一区二区视频| 欧美成人bangbros| 国产mv日韩mv欧美| 亚洲精品乱码久久久久久| 欧美综合久久久| 天天色天天爱天天射综合| 在线综合亚洲欧美在线视频| 精品一区二区三区视频在线观看 | 日韩和欧美一区二区三区| 欧美另类z0zxhd电影| 蜜臀av性久久久久蜜臀aⅴ流畅| 精品久久久久久久人人人人传媒 | 亚洲精品国产品国语在线app| 91久久精品日日躁夜夜躁欧美| 亚洲国产欧美在线| 日韩一级视频免费观看在线| 国产91丝袜在线播放0| 亚洲免费观看高清完整版在线观看熊 | 综合电影一区二区三区 | 亚洲成人777| 久久老女人爱爱| 一本在线高清不卡dvd| 日韩高清不卡在线| 国产情人综合久久777777| 在线中文字幕一区| 人人超碰91尤物精品国产| 欧美激情一二三区| 欧美二区三区的天堂| 国产主播一区二区三区| 亚洲午夜电影网| 国产午夜精品一区二区| 色吧成人激情小说| 韩国欧美国产1区| 一区二区高清在线| 精品国产91久久久久久久妲己 | 日韩视频永久免费| 99re热这里只有精品视频| 日本欧美一区二区三区乱码| 国产精品毛片大码女人| 日韩欧美亚洲一区二区| 91在线播放网址| 国产一区二区三区电影在线观看| 亚洲精品少妇30p| 国产片一区二区| 欧美午夜视频网站| 波波电影院一区二区三区| 韩国视频一区二区| 免费亚洲电影在线| 亚洲电影在线免费观看| 国产精品久久久久久久久久免费看| 337p亚洲精品色噜噜噜| 色哟哟日韩精品| 粉嫩久久99精品久久久久久夜 | 欧美中文字幕不卡| 91丨九色丨国产丨porny| 国产大陆精品国产| 久久国产人妖系列| 日韩中文字幕不卡| 亚洲影视资源网| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 欧美tickling网站挠脚心| 欧美日韩亚洲国产综合| 在线欧美小视频| 色天使色偷偷av一区二区| av在线免费不卡| 不卡的av电影在线观看| 国产大陆a不卡| 国产一区二区三区久久久| 久久69国产一区二区蜜臀| 蜜臀av性久久久久av蜜臀妖精 | 国产亚洲精品超碰| 欧美伦理电影网| 色呦呦日韩精品| 91影院在线免费观看| 国产精品综合视频| 蜜臀av性久久久久蜜臀aⅴ四虎| 午夜欧美视频在线观看| 自拍偷拍国产亚洲| 亚洲少妇最新在线视频| 国产欧美日韩视频在线观看| 精品国产乱码久久久久久蜜臀 | 国产成人免费在线| 国产高清不卡一区二区| 国产经典欧美精品| 成人午夜av在线| 91免费看`日韩一区二区| 色综合视频一区二区三区高清| 99热在这里有精品免费| 色综合天天综合在线视频| 在线观看视频91| 91浏览器在线视频| 欧美系列日韩一区| 日韩久久久久久| 日本一区二区三区视频视频| 亚洲欧美怡红院| 亚洲永久精品大片| 另类专区欧美蜜桃臀第一页| 国产一区久久久| eeuss国产一区二区三区| 欧美色成人综合| 精品福利一二区| 中文字幕国产一区二区| 亚洲激情av在线| 麻豆精品精品国产自在97香蕉| 国产夫妻精品视频| 欧美性色欧美a在线播放| 欧美一区二区免费| 欧美国产综合一区二区| 亚洲一区二区三区视频在线 | 日韩在线播放一区二区| 久久国产精品免费| av电影在线不卡| 欧美一级免费大片| 中文字幕不卡的av| 亚洲韩国精品一区| 蜜桃精品视频在线| 不卡av在线网| 久久久久久夜精品精品免费| 亚洲精品欧美二区三区中文字幕| 美女视频一区二区| 91国产成人在线| 国产亚洲一区字幕| 亚洲午夜免费电影| 国产91高潮流白浆在线麻豆| 欧美亚洲综合网| 国产欧美日韩精品a在线观看| 午夜av电影一区| 成人午夜又粗又硬又大| 欧美一区二区三区婷婷月色| 中文字幕亚洲欧美在线不卡| 亚洲午夜激情av| 精品一区免费av| 91久久精品一区二区三| 精品国产精品一区二区夜夜嗨| 亚洲三级电影网站| 欧美aa在线视频| 成人av免费网站| 欧美va在线播放| 亚洲激情自拍视频| 国产成人超碰人人澡人人澡| 日韩欧美中文字幕精品| 一级做a爱片久久| 国产91在线观看| 久久久噜噜噜久久中文字幕色伊伊| 亚洲图片自拍偷拍| 91精彩视频在线| 亚洲同性同志一二三专区| 国产乱码一区二区三区| 日韩一区二区电影| 日韩极品在线观看| 欧美视频精品在线观看| 亚洲欧美另类在线| 97久久精品人人爽人人爽蜜臀| 久久精品男人的天堂| 久久99精品久久久久久久久久久久| 91免费国产在线| 国产欧美日韩视频一区二区| 国产美女精品人人做人人爽| 日韩欧美一区二区久久婷婷| 日韩成人免费看| 欧美日韩在线精品一区二区三区激情| 自拍偷拍欧美精品| 99久久精品国产导航| 国产精品久久久久久户外露出 | 欧美日韩一区二区三区不卡| 亚洲日韩欧美一区二区在线| 成人国产精品免费观看视频| 欧美高清在线一区| 成人91在线观看| 亚洲丝袜自拍清纯另类| 99精品欧美一区二区三区小说| 国产精品色噜噜| 91丨九色丨国产丨porny| 亚洲欧美日韩一区|