首页 > 2018年09月06日 > 全部分享
e740. 向标签中加入一个图标
This example creates a JLabel component with an icon. This example adds or replaces the icon in an existing JLabel component: The methods to control t ...
分类:其他   时间:2018-09-06 10:15:06    收藏:0  评论:0  赞:0  阅读:125
e566. 关闭的时候关闭程序
By default, when the close button on a frame is clicked, nothing happens. This example shows how to exit the application when the frame is closed: ...
分类:其他   时间:2018-09-06 10:14:34    收藏:0  评论:0  赞:0  阅读:132
e586. Drawing Simple Shapes
There are two ways to draw basic shapes like circles, ovals, lines, arcs, squares, rectangles, rounded rectangles, and polygons. The first is to use s ...
分类:Windows开发   时间:2018-09-06 10:13:56    收藏:0  评论:0  赞:0  阅读:156
e565. 关闭的时候隐藏窗口
By default, when the close button on a frame is clicked, nothing happens. This example shows how to make the action hide the frame. One reason for hid ...
分类:其他   时间:2018-09-06 10:13:41    收藏:0  评论:0  赞:0  阅读:137
e606. Determining Which Component or Window Has the Focus
// null is returned if none of the components in this application has the focus Component compFocusOwner = KeyboardFocusManager.getCurrentKeyboardFocu... ...
分类:Windows开发   时间:2018-09-06 10:13:24    收藏:0  评论:0  赞:0  阅读:113
【深度学习】ubuntu16.04下安装opencv3.4.0
1、首先安装一些编译工具 2、下载opencv https://github.com/opencv/opencv/archive/3.4.0.zip 3、编译安装 ...
分类:系统服务   时间:2018-09-06 10:13:08    收藏:0  评论:0  赞:0  阅读:178
20180905-生活中的两种苦
没错,这是一篇闲文—— 刚在家做完keep健身,累,不过出完汗后很舒爽。 有一句话我最近才体会出其中感受:健身是少数付出汗水就有回报的事情之一。才坚持健身跑步几个月而已,已经很明显感觉到变化,身体上的、精神上的。但是在这之前,虽然也常常想健身却往往维持不了几天——让我真正能够排除各种因素行动起来的, ...
分类:其他   时间:2018-09-06 10:12:53    收藏:0  评论:0  赞:0  阅读:134
数位DP入门
~待填坑~ 数位DP入坑 数位dp是一种计数用的dp,一般就是要统计一个区间[le,ri]内满足一些条件数的个数。所谓数位dp,字面意思就是在数位上进行dp咯。 数位dp一般应用于: 求出在给定区间[A,B]内,符合条件P(i)的数i的个数. 条件P(i)一般与数的大小无关,而与 数的组成 有关. ...
分类:其他   时间:2018-09-06 10:12:35    收藏:0  评论:0  赞:0  阅读:217
30个极大提高开发效率的Visual Studio Code插件
看完这篇文章,我打算从 Sublime Text 转到 Visual Studio Code 了! ...
分类:其他   时间:2018-09-06 10:12:18    收藏:0  评论:0  赞:0  阅读:156
e617. Determining the Opposite Component of a Focus Event
The opposite component is the other component affected in a focus event. Specifically, in a focus-lost event, the opposite component is the one gainin ...
分类:其他   时间:2018-09-06 10:11:46    收藏:0  评论:0  赞:0  阅读:135
4个错误使用JavaScript数组方法的案例
译者按: 做一个有追求的工程师,代码不是随便写的! 原文: "Here’s how you can make better use of JavaScript arrays" 译者: "Fundebug" 为了保证可读性,本文采用意译而非直译。另外,本文版权归原作者所有,翻译仅用于学习。 小编推荐: ...
分类:编程语言   时间:2018-09-06 10:11:30    收藏:0  评论:0  赞:0  阅读:140
JS的splice()方法在for循环中使用可能会遇到的坑
在写JS代码时,我们常常使用 splice 函数来删除数组中的元素,因为 splice 函数会直接对数组进行修改,从而不需再自己写一个算法来移动数组中的其他元素填补到被删除的位置。splice 功能十分强大,除了可以删除数组的元素之外,还可以删除的同时添加新的元素到删除的位置等等用法。在本篇文章中, ...
分类:Web开发   时间:2018-09-06 10:11:14    收藏:0  评论:0  赞:0  阅读:175
锐捷客户端下虚拟机VMware无法联网的问题
打开VMware,选择右下角的网络适配器,设置为NAT模式。 如果还不能上网,则打开电脑的任务管理器,保证VMwate的服务保持开启。 但是锐捷客户端,会自动检测并且关闭VMware NAT Service 这个服务,借鉴https://blog.csdn.net/su20145104009/art ...
分类:系统服务   时间:2018-09-06 10:10:58    收藏:0  评论:0  赞:0  阅读:226
【共读Primer】49.[6.3]返回类型和return语句--关于返回值 Page201
值是如何被返回的 返回值用于初始化调用点的一个临时量。 在下面的函数中,返回值的内容是被拷贝到调用点 在下面的函数中则是将引用型参数作为返回值直接返回了参数的引用 不要返回局部对象的引用或指针 在函数运行返回后到达返回点,函数运行过程中所占用空间被随之释放。 这个过程意味着在函数返回后所有的函数体内 ...
分类:其他   时间:2018-09-06 10:10:40    收藏:0  评论:0  赞:0  阅读:178
redis的应用场景 为什么用redis
一、不是万能的菲关系系数据库redis 在面试的时候,常被问比较下Redis与Memcache的优缺点,个人觉得这二者并不适合一起比较,redis:是非关系型数据库不仅可以做缓存还能干其它事情,Memcache:是仅用做缓存。常常让我们对这二者进行比较,主要也是由于Redis最广泛的应用场景就是Ca ...
分类:其他   时间:2018-09-06 10:10:16    收藏:0  评论:0  赞:0  阅读:188
ubuntu18.04 左上角hot corner 禁用
在应用商店搜索 No Topleft Hot Corner 并安装,设置下就好了 具体问题可参考以下网站: https://unix.stackexchange.com/questions/196541/remove-disable-hot-corner https://askubuntu.com/ ...
分类:系统服务   时间:2018-09-06 10:09:31    收藏:0  评论:0  赞:0  阅读:291
机器学习与算法面试太难?
机器学习与算法面试太难? 来源:https://mp.weixin.qq.com/s/GrkCvU2Ia_mEaQmiffLotQ作者:石晓文 八月参加了一些提前批的面试,包括阿里、百度、头条、贝壳、一点资讯等。整理了一些面试题,分享给大家。 一、机器学习基础题 1、LSTM的公式 2、RNN为什么 ...
分类:编程语言   时间:2018-09-06 10:09:15    收藏:0  评论:0  赞:0  阅读:200
密码机
树状数组 #include<bits/stdc++.h> using namespace std; int x,y,c[200005]; char str[20]; int inline read(){ int x=0,f=1; char ch=getchar(); while(ch<'0'||ch ...
分类:其他   时间:2018-09-06 10:08:45    收藏:0  评论:0  赞:0  阅读:148
lintcode104 - Merge K Sorted Lists -medium
Merge k sorted linked lists and return it as one sorted list.Analyze and describe its complexity.ExampleGiven lists:[ 2->4->null, null, -1->null],retu ...
分类:其他   时间:2018-09-06 10:08:28    收藏:0  评论:0  赞:0  阅读:130
e742. 加入标签的可拖动能力
This example demonstrates how to modify a label component so that its text can be dragged and dropped to another component. ...
分类:其他   时间:2018-09-06 10:08:11    收藏:0  评论:0  赞:0  阅读:177
1280条   上一页 1 ... 49 50 51 52 53 ... 64 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!