最近写了两个组件,一个是日期选择;一个是两个JList,双击其中一个的任一个Item,这个Item就会跑到另一个JList中去。这里记录下来,以便以后的修改。

ComboBox控件——生日选择器 目标是要写出一个这样的生日选择器: 1.在Form窗体中添加三个ComboBox控件,把DropDownStyle属性改为DropDownList 2.添加年份到第一个ComboBox控件中:获取当前的年份 private void Form1_Load(object sender, EventArgs e) { int yearcmb = DateTime.Now.Year;//如何添加进去 for (int i = year 阅读详情

 

       日期选择组件:

1:外观:年月日也可以放在JComboBox的后面,间矩、大小、FONT、COLOR什么的都可以改,这个很容易的。

 

       2:功能:初始化就会显示电脑当前日,可以改选其它日期,若电脑日期错误,就一定会得到一个错误的日期,这点要小心。

       大小月日期的ComboBoxModel会自动变化得到正确的月天数。做法是在‘年’和‘月’的JComboBox中都添加一个ActionListener,‘年’和‘月’的改变会触发‘日’的ComboBoxModel被重置。

重置使用了一个单态方法,方法通过iDateChoose调用:

iDateChoose.setDayComboBoxModel(dayComboBox,currentYear,currentMonth);

iDateChoose来自:

private IDateChoose iDateChoose = DateChoose.getDateChooseInstance();

*********************************************************************

    一个月的天数只有31、30、28、29四种,做为公共数据,我将这四个ComboBoxModel和年、月的ComboBoxModel都放置在一个抽象类ADateChoose中,这个抽象类中还有两个不会被外界用到的内部方法:

    //闰年

    protected abstract boolean isSpecialYear(int year);

    //一月的天数

    protected abstract int daysAMonth(int year, int month);

*********************************************************************

    ‘年’、‘月’和‘日’的一个ComboBoxModel如下:年数不适用时可以很方便的做修改。

    //年

    protected static ComboBoxModel yearComboBoxModel = new DefaultComboBoxModel(new String[] {

           "2009", "2010", "2011", "2012", "2013", "2014", "2015", "2016",

           "2017", "2018", "2019", "2020" });

    //月

    protected static ComboBoxModel monthComboBoxModel = new DefaultComboBoxModel(new String[] {

           "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" });

    //日

    protected static ComboBoxModel dayComboBox28 = new DefaultComboBoxModel(new String[] { "1",

           "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13",

           "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24",

           "25", "26", "27", "28" });

 

通过继承可以很方便的直接使用以上的ComboBoxModel,在日期处理类DateChoose中不会看到数据,集中做抽象方法和对外接口的实现,这样一来,程序就OO了。

*********************************************************************

日期处理类DateChoose implements了一个接口 IDateChoose,对外开放四个方法:

//单态

    public abstract IDateChoose getDateChooseInstance();

    //set day combo box model

    public abstract void setDayComboBoxModel (JComboBox dayComboBox, int year, int month);

    //set month combo box model

    public abstract void setMonthComboBoxModel(JComboBox monthComboBox) ;

    //set year combo box model

public abstract void setYearComboBoxModel(JComboBox yearComboBox);

后两个方法没有也行,不会对组件的运行产生什么影响,但想到可能有的应用什么要求都会有,说不定一年会有十三个月,或者月份的index 0(item one)有人不想要是一月,比如学校,一般下学期二月份开学,上学期九月份开学,就会有需求说我要上学期一个MODEL二月份index 0,下学期一个MODEL九月份index 0。所以干脆一并写了。

 

DateChoose有一个私有方法:

private DateChoose(){

    }

用于做singleton,只能通过 getDateChooseInstance()方法获得DateChoose的单一实例。

 

*********************************************************************

*********************************************************************

以上权且当作是MVC中的M和C,V部分是用的MyEclipse的SWING做的,对外提供的方法有:   public int currentYear = Calendar.getInstance().get(Calendar.YEAR);

    public int currentMonth = Calendar.getInstance().get(Calendar.MONTH) + 1;

    public int currentDay = Calendar.getInstance().get(Calendar.DAY_OF_MONTH);

 

    public DateSelectedUnit() {

       this.initGUI();

    }

currentYear,currentMonth和currentDay在初始化和每次改动时会被子置值,其实也可以包装成一个Date或Calendar的,看需求了,到用到时再改吧!

第二个组件没写完,应该说是写不下去了,过年回家写的,没有网找资料,写得不伦不类,自己都看不下去,花的时间算是白忙了,放弃了又很可惜,且也记下来,以后再改。

UI如下:

完成功能:双击两个JList中任一Item, 选中Item都会跑到另一个JList中。右键弹出菜单组件与响应的Dialog。

       未完成功能:新数据的添加和数据编辑、删除。

 

 

左边的是targetList,右边的是fromList, 布局是两个JList放在两个JScrollPane里,两个JScrollPane放在一个JPanel中,因为还没写完,所以数据的Model都是乱加的,以后会有一个专门的模块处理数据加载。

 

所有的组件动作都由DoubleComboBoxUnitAction类处理,它有两个方法:listMouseClicked(MouseEvent evt, JList targetlist,

                     DefaultListModel fromData, DefaultListModel targetData, int index);

和

private void moveItem(JList list, DefaultListModel fromData, DefaultListModel targetData)

 

在listMouseClicked方法中,若是左键双击,则调用moveItem方法移动Item; 若右键单击,则弹出菜单,可做三个选择:add,edit and delete,这里就有一个没解决的小问题,若右键点在一个Item上,三个操作都有,若没有点在一个Item上,就只可以add。以前JTable中是完成过相同的程序的,现在?问题有:右键点在的那一行,不会被选中,得先左击一下选中,再右击。我试过如下几个方法:

targetList.setSelectedIndex(index);

targetList.addSelectionInterval(index);

targetList.setSelectionInterval(index, index + 1);

//相似的方法,JTable中有一个叫setRowSelectionInterval的可以完成。

都不行,右键就是不能选中,不能选中我删哪个?晕!有网了找找看能不能解决

 

Item的移动也有问题,最开始时出现一个IndexOutOfBoundsException,是targetList不够大,我就在向它添加Item前加一句:targetData.setSize(targetData.getSize() + 1);问题来了,有一次我多点了几次,移来移去后,两个JList的Item间间隔越来越大,我在两个Item之间点了个双击,有一个空白的横条被move了!!!,我不得不在moveItem方法中做两个listData的null遍历,把null的删去。

 

要真算的话,这个继承自JPopupMenu的SelfDefinePopupMenu也算是一个组件,它的JMenuItem来自一个MenuItemList类,MenuItemList把组装好的一个泛型通过List<JMenuItem> getMenuItemList()返回,SelfDefinePopupMenu再一个一个地把JMenuItem加到它上面去,也就是把view(SelfDefinePopupMenu)与control和model分开了。各个JMenuItem都有自己的JDialog做相应动作,如add会show一个AddDialog,delete会有一个confirmDialog等。

程序还有很多问题,没有面向接口编程,几个组件应该用Factory模式来组装,与数据库等的接口没有写等,这里先记下,毕竟桌面应用不是我的专长,各模式的应用还需要学习。我的架构师之路还很长!

 

Email: djbing@yahoo.cn

QQ:    406864638

                                          2009-2-20 18:00于家

 

18.Quick QML-ComboBox ComboBox类似于Button按钮,但是右侧有箭头标志,当我们点击它时,会弹出一个下拉列表框,供我们选择.ComboBox也可以设置为可编辑,就类似QQ登录用户名一样,可以输入账号,也可以通过下拉列表选择以前登过的账号.它的属性和方法如下所示:Properties: acceptableInput : bool,只读属性,用来获取当前输入的内容是否合法的输入,默认始终为true,如果我们设... 阅读详情

相关推荐

MFC中使用鼠标画圆

用鼠标画圆,画矩形,画椭圆,画其他图形,还可以选择颜色什么的,还有保存什么的 非常好用。

java结业作业_学习平台-北语201606考试批次《JAVA语言程序设计》(结课作业)答案-成人高等教育_成人本科教育报名_远程网络教育学院-江苏学历网报名服务中心...

201603考试批次《JAVA语言程序设计》结课作业学生姓名学习中心学号考号专业年级层次北京语言大学网络教育学院《JAVA语言程序设计》结课作业注意:本学期所布置的结课作业,请同学一律按照以下要求执行:一、学生必须预约才能在学生平台看见相关课程的“结课作业”按钮;二、提交路径:个人平台首页--学习中的课程,点击该课程名称--点击“结课作业”--点击“浏览”按钮,选择要上传的文档后点击“提交作业”即...

weixin_33250594的博客 479

swing中jlist点击事件demo

swing中的jlist 代码中定义了两个jlist 从一个jlist双击列表项可以将该项从这个列表删除并添加至另外一个列表中去

QML 自定义ComboBox控件

ComboBox是填充数据模型,数据模型通常是JavaScript数组,ListModel或者是整数,但是也支持其他类型的数据模型提供的属性。 QtQuick在Qt 5.7在Controls 2.5版本给出的ComboBox,它包括一下属性: acceptableInput : bool此属性控制组合框是否包含可编辑文本字段中的可接受文本 count : int组合框中的项目数 currentIndex : int保存...

被封印的橘猫的博客 6556

qml实现简单的时间选择控件

qml实现简单的时间选择控件

Python小波变换实战:用PyCWT分析气候数据(附完整代码)

本文详细介绍了如何使用Python中的PyCWT库进行小波变换分析,特别针对气候数据(如NINO3海温异常数据)的多尺度周期性特征提取。通过完整的代码示例,从数据预处理、小波参数配置到结果可视化,逐步指导读者掌握小波变换在气候研究中的实际应用。

weixin_29088655的博客 283

Qt自定义DateTime控件--实现日历及时间选择器自定义

怎样能够完全地实现一个不用其他控件就能正常使用的控件。最近尝试了下,使用了Qt的基础控件实现了一个完全自定义的日历控件,顺便改良了一下以前的时间选择器,测试效果还可以。终于实现了自定义的DateTime控件。......

slowlytalk 1万+

从零搭建SPI通信系统:AXI Quad SPI IP核在Xilinx平台上的完整配置流程

本文详细介绍了在Xilinx平台上使用AXI Quad SPI IP核从零搭建SPI通信系统的完整配置流程。涵盖IP核架构解析、Vivado环境配置、寄存器编程实战及性能优化策略,帮助开发者快速实现高速稳定的SPI通信,特别适用于嵌入式系统开发中的外围设备连接需求。

hh234的博客 1054

java jlist双击事件_博为峰Java技术文章 ——JavaSE Swing列表框双击事件的处理Ⅱ...

博为峰小博老师:这个程序首先创建一个DefaultListModel类的继承类,然后将其实例化成两个不同的列表框,当双击左边的列表框中的数据时,就会在右边添加相应的数据,反之亦然。具体代码如下:publicclassBWFextendsMouseAdapter{JListlist1=null;JListlist2=null;DefaultListModelmode1=null;Def...

weixin_42517569的博客 315

第一章 初识SpringBoot

提供大量的自动配置Spring和第三方库,开发者可以根据项目需求选择相关的starters依赖,而无需手动配置大量的Spring配置文件,开箱即用,无需配置XML,无代码生成。Spring Boot与Spring Cloud等框架集成,为构建微服务提供了强大的支持,并通过Spring Cloud实现服务注册、负载均衡、熔断等功能。本质上讲,Spring Boot就是Spring,它做了那些本应我们去做的Spring Bean配置等工作。以上就是一个简单的Spring Boot应用的创建和运行过程。

Calvin的博客 1582

把大表拆成更好用的“小仓库”:SAP HANA 表分区设计、分区裁剪与内存代价全解析

摘要:本文深入解析SAP HANA分区技术的核心价值与实现策略。作为内存数据库的"手术刀",分区通过将逻辑表横向切分为独立物理容器,显著提升并行计算能力与查询效率。重点探讨了三种分区类型(Range、Hash、Round-robin)的适用场景,以及分区裁剪的优化原理与前提条件。特别指出分区设计需要平衡查询模式与数据分布,并揭示了分区对内存占用的双向影响机制:既可能因字典复制增加消耗,也可能因数据纯度提升压缩率。通过电商订单表等实际案例,展示了合理分区如何将分钟级报表优化至秒级响应。文章

2007 年 ~ 2025 年,深耕 SAP 技术 18 年 1654

java jlist 鼠标事件_JAVA事件----JList事件响应

该楼层疑似违规已被系统折叠隐藏此楼查看此楼//JList事件响应:-----------------采用内隐类实现事件响应import java.awt.*;import java.awt.event.*;import javax.swing.*;import javax.swing.event.*;class TestJListAction {JFrame frame;Container co...

weixin_30449853的博客 515

效果炸裂_安装midscene_copw基于midscene操作电脑_基于视觉的软件测试执行_MIDSCENE的安装和使用---AI大模型应用探索0012

摘要:本文介绍了如何通过安装MidSceneJS来增强Copaw的屏幕操作能力。首先需要安装Node.js和npm,并配置淘宝镜像源加速安装。然后全局安装MidScene CLI工具(npm install @midscene/cli -g)。接着配置视觉大模型服务,通过设置环境变量指定模型API密钥、名称、基础URL和家族类型(如qwen3.5-27b),配置文件需存放在C:\Users\Administrator.copaw目录。安装成功后,MidScene已能成功识别并操作屏幕,使用效果良好。文中还提

添柴程序猿的专栏 648

java jlist_JAVA Jlist的使用方法

Java中Jlist这个Swing组件是用来展示一组项目,供用户选择的。可以将要展示的项目放在一个列上,也可以展示在多一个列中。有时候要展示的项目太多,组件的尺寸又不能随意扩大,所以,该组件经常是放在Scroll pane容器中的Jlist的使用方法1.Jlist的初始化下面是定义一个Jlist组件,并将它放在JscrollPane容器中的简单代码:JScrollPane scrollPane =...

weixin_33246767的博客 1963

基于FPGA的万兆以太网学习(1)

万兆(10G) 以太网测速视频:SFP+屏蔽笼可以插入千兆或万兆光模块。SFP+信号定义与 SFP 一致。

baidu_34971492的博客 2250

精雕软件(JDpaint) 5.5 绿色版

精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版

JList 双击事件的实现

 1.定义JList2.在JList对象上添加鼠标监控器 (MouseListener)3.在点击事件被触发以后,判断它在JList中的位置,然后确定击打的次数,根据次数来选择处理的函数。String data[] = {"red","blue","green"};JList jList = new JList(data);jList.addMouseListener(new

netwarning的专栏 1万+

OV9734 DATASHEET,完整规格书

OV9734完整规格书,包括电气参数,尺寸规格,寄存器配置表等

java jlist双击事件,java – 使JList中的按钮可单击

我不敢相信这不起作用.我有一个JList.我已将其渲染器设置如下.基本上,RankingPanel是一个带有两个标签和一个按钮的JPanel.topAchieverList = new JList();topAchieverList.setCellRenderer(new TopBottomCellRenderer());这是我的TopBottomCellRenderer.class TopBot...

weixin_39636718的博客 382

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

霍尼韦尔SoftMaster使用说明

霍尼韦尔SoftMaster使用说明

编程语言Java List双击事件实现方法

编程语言Java List双击事件实现方法 本文实例简述了Java List双击事件实现方法,有着不错的借鉴价值。分享给大家供大家参考之用。具体方法如下: 1. 定义一个MouseListener; 2. 在mouseListener中增加mouseClicked事件; 3. 由MouseEvent的getSource()获得List对象; 4. 由List的getSelectedIndex()事件获得点击项的Index; 5. 根据Index,用List的getItem()方法获得点击项;

803

MyEclipse Inline Diff 实用指南:逐处核对 AI 修改再提交

整理 Inline Diff 的编辑器入口、设置路径、Git HEAD 与上次保存两类基线,以及比较编辑器用法,配合一份适用于 AI 修改后的人工核对清单。

2501_91602431的博客 26
上一篇: 形如Exception thrown by getter for property XXX of bean XXX 或 No getter method for property XXX of bean XX
下一篇: 使用ldap实现domain登陆
assosson
博客等级 码龄18年 0粉丝 8原创
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值