会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liupengcheng
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
下一页
2015年6月12日
制作登录界面的布局时候,可以使用 android:stretchColumns="0,3"
摘要: android:stretchColumns="0,3" 拉伸第一个和第4个 这个属性在tablelayout布局里使用制作登录界面的布局时候,可以使用来自为...
阅读全文
posted @ 2015-06-12 14:57 liupengcheng
阅读(639)
评论(0)
推荐(0)
2014年11月4日
对话框
摘要: //copyright©liupengcheng //http://www.cnblogs.com/liupengcheng addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { System.exit(0); } }); /** * Creat...
阅读全文
posted @ 2014-11-04 11:33 liupengcheng
阅读(229)
评论(0)
推荐(0)
2014年11月3日
IDEA 13.1.1 汉字乱码修复设置
摘要: 1、file-setting-project setting-file Encoding 按照下图所示设置 2、idea 右下角 选择 utf-8 效果如下图
阅读全文
posted @ 2014-11-03 17:09 liupengcheng
阅读(306)
评论(0)
推荐(0)
2014年10月30日
Intellij IDEA 搜索框显示乱码
摘要: 转载自 http://www.myexception.cn/program/1224226.html Intellij IDEA 搜索框显示乱码 按以下步骤设置,就可以解决中文乱码显示的问题了。 一、进入设置页。File-->Settings (快捷键:Ctrl+Alt+S) 二、进入IDE Settings 里的 General 项,在File Encoding 中 的 Defa...
阅读全文
posted @ 2014-10-30 14:41 liupengcheng
阅读(1228)
评论(0)
推荐(0)
2014年10月24日
多线程-同步代码块
摘要: //copyright©liupengcheng //http://www.cnblogs.com/liupengcheng /** * Created by Administrator on 2014/10/24. * synchronized 锁旗标,改变标志位,已达到同一时刻只有一个线程在执行有效操作。 */ //copyright©liu...
阅读全文
posted @ 2014-10-24 10:30 liupengcheng
阅读(289)
评论(0)
推荐(0)
Thread的 join方法
摘要: //copyright©liupengcheng //http://www.cnblogs.com/liupengcheng /** * join public final void join() throws InterruptedException等待该线程终止。 抛出: InterruptedException - 如果任何...
阅读全文
posted @ 2014-10-24 09:27 liupengcheng
阅读(349)
评论(2)
推荐(0)
2014年10月23日
setDaemon的简单使用
摘要: //copyright©liupengcheng //http://www.cnblogs.com/liupengcheng /** * Created by Administrator on 2014/10/23. * * setDaemon public final void setDaemon(boolean...
阅读全文
posted @ 2014-10-23 15:15 liupengcheng
阅读(984)
评论(0)
推荐(0)
Thread 使用Runnable接口模拟实现4个窗口售票
摘要: //copyright©liupengcheng //http://www.cnblogs.com/liupengcheng /** * Created by Administrator on 2014/10/23. *以下事例模拟4个窗口售100张票 */ // 创建线程的另一种方法是声明实现 Runnable 接口的类。该类然后实现 ru...
阅读全文
posted @ 2014-10-23 14:40 liupengcheng
阅读(502)
评论(0)
推荐(0)
2014年9月29日
面向对象(throws和throw的区别)
摘要: /** * Created by Administrator on 2014/9/29. * * throws和throw的区别 * * throws使用在函数上,throw使用在函数内 * * throws后面跟的是异常类,可以跟多个,用逗号连接 * throw后面跟的是异常对象 ...
阅读全文
posted @ 2014-09-29 14:52 liupengcheng
阅读(382)
评论(0)
推荐(0)
面向对象(自定义异常)
摘要: /** * Created by Administrator on 2014/9/29. * * 自定义异常,需要继承Exception. */ //copyright©liupengcheng //http://www.cnblogs.com/liupengcheng class fushuException ...
阅读全文
posted @ 2014-09-29 14:23 liupengcheng
阅读(90)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告