最新文章列表

Chapter 10. Deploying Applications and Applets

1.  A JAR (Java Archive) file can contain both class files and other file types such as image and sound files for packing your applications and delivering them to your users. It is compressed, using ...
leonzhx 评论(0) 有1880人浏览 2013-02-08 19:16

Java Preferences

Java中的Preferences的基本使用方法: import java.util.prefs.Preferences; public class PreferencesDemo { public static void main(String[] args) throws Exception { Preferences prefs = Preferences.userNodeF ...
wangleyiang 评论(0) 有1066人浏览 2013-01-06 10:40

在myeclipse中如何自动生成注释,修改注释内容

想在myeclipse中添加注释时自动把一些内容,比如说作者姓名,email,时间,日期等快速的添加到注释中,可采用以下方法: myeclipse -> Window -> Preferences -> Java -> Code Style -> Code Templates -> Comments -> Types 点击Edit ,可在Pattern ...
xmliu 评论(0) 有4540人浏览 2012-08-14 13:45

Eclipse 修改快捷键

1. 在Eclipse面板上选择[Window]-[Preferences] 2. 打开Preferences面板,导航至[General]-[Keys] 3. 在搜索框中输入需要修改的Command或Binding 4. 选择[Unbind Command](删除)或[Restore Command](重置)或在Binding中输入新的键盘键(修改) 示例: a. 解决按键盘辅助键[Alt ...
czj4451 评论(0) 有1620人浏览 2012-07-30 10:26

Eclipse代码自动提示(内容辅助content assist)

Eclipse中默认是输入"."后出现自动提示,用于类成员的自动提示,可是有时候我们希望它能在我们输入类的首字母后就出现自动提示,可以节省大量的输入时间(虽然按alt + /会出现提示,但还是要多按一次按键,太麻烦了)。     从Window -> preferences -> Java -> Editor -> Content assist -> ...
zydest 评论(0) 有1433人浏览 2012-07-20 23:30

如何恢复eclipse弹出workspace的提示框

启动Eclipse/MyEclipse后, 打开"Window -> Preferences -> General -> Startup and Shutdown->Workspaces",   然后勾选 "Prompt for workspace on startup";  
hollowinhart 评论(0) 有922人浏览 2012-06-21 10:06

java读写注册表的两种方式,Preferences与jRegistry

由于java程序是“write once, run everywhere”,用java读写注册表,那程序的跨平台性就差了。java对注册表的操作,在jdk1.4以前的版本中,那是不可能的,只能用JNI来实现;然而jdk1.4之后提供的prefs包可以操作windows注册表,不过定死了root只在SOFTWARE/JavaSoft/prefs下,估计也是出于这种两难吧,又要保证所谓平台无关,还要照顾 ...
xiaohuafyle 评论(1) 有15531人浏览 2012-05-29 11:53

SharedPreferences

Preferences首选项 用来保存一些简单的数据,一般为程序启动时的预设参数 通过SharedPreferences来存取 SharedPreferences接口主要负责读取程序的Preferences数据; 通过SharedPreferences的内部接口来提供写入数据的能力,即调用edit()方法。 Preferences累死于Map Collection数据,包含key-value。 Sh ...
kasi56 评论(0) 有674人浏览 2012-04-20 10:28

技术应用网站链接

网站访问统计:http://demo.51yes.com/search_simple.aspx 互联网魔法技术库:http://www.nowamagic.net/ 搜索引擎优化:http://www.seo.as/Topic/List.Asp?id=1 在线Flash游戏:http://www.hasbro.com.cn/monopoly/ 百度地图API baidu API 二次开发需求 ...
boonya 评论(0) 有1212人浏览 2012-02-02 12:11

MyEclipse 字体大小 字体颜色

1 字体大小设置 【Window】-->【Preferences】-->【General】-->【Appearance】-->【Colors and Fonts】-->【Basic】-->【Text Font】-->【Chang】 可参见附件(字体大小.bmp)! 2 字体颜色设置 【java】→【enditor】→【syntax Coloring】,右边展 ...
djkin 评论(0) 有1266人浏览 2011-12-12 12:47

Chapter 18. I/O -- Thinking in Java

1) The File class has a deceiving name; you might think it refers to a file, but it doesn’t. In fact, "FilePath" would have been a better name for the class. It can represent either the nam ...
leonzhx 评论(0) 有1420人浏览 2010-10-03 17:37

最近博客热门TAG

Java(141744) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54919) .net(54785) Web(54514) 工作(54118) Linux(50905) Oracle(49875) 应用服务器(43289) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37267) 数据结构(36424)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics