[Personal Original] JAVA development tool JCreator Usage Skills Summary
Source: Internet
Author: User
Tips | original
Author: Dazern
Date: 2005.3.24 Night
Learn Java time is not short, but there is no one of their original things, today to write the IDE development tools to use the skills as my original start it, I hope we can like this article, but also hope that the vast majority of beginners Java friends have a little help! In the use of jcretor process, I groped out a little bit of the use of skills, here for the vast number of beginners and I like reference!
Tip 1: Create an empty project for Java programming;
It's best to build an empty project first when you're programming. Then, in this empty project, edit your Java program; This is a good habit, you can build your own package in this project, you edit the source program, according to the different functions of different packages So after you've been learning Java for a long time, you have a bag of your own, which is convenient for you to learn or check the relevant code later.
To establish a method of empty projects, perhaps everyone knows, but here I still wordy::
In the order of the Jcretor menu, create the method as follows:
file-->new-->project-->emptyproject;
Ha, actually very simple! May you have your own class library as soon as possible! :)
Tips 2:jcretor provides a good support for JDK's help documentation;
With Jcretor you can easily access the JDK Help document instantly! This feature enables Web pages to be displayed directly in the JCreator editing window without having to open any other browser for browsing. (JCreator This feature I like very much, as far as I know eclipse does not seem to provide this function) ha, said for so long I believe we will ask, you this function in the end how to use! :) ok! Don't worry, you'll be able to master this technique right away.
Do not know if you remember after we loaded JCreator, the first time you run JCreator, the system will require you to specify the installation path JDK; in fact, if you remember, after setting the JDK installation path, you will also be asked to provide a docs path. Ah, right, this is the pull! Oh...... Now let me show you how to set this path:
First, download the corresponding JDK documentation from the Sun company website;
Second, create a folder named Docs in the JDK installation directory (for example, my installation directory is D:\j2sdk1.4.2_06), and then extract the downloaded JDK document into the folder that you just created, and after the decompression is complete, Then, when installing Jcretors, select the directory where the JDK is located in the appropriate place; (note: To ensure that Docs folders do not have docs folders below) When you set up a good start jcreator, you will find your jcreator what has changed? Ha, actually some, do not believe you look at the Help Drop-down menu in the JCreator menu bar, take a closer look to see if there is something more. Oh...... Is there a "JDK Help Ctrl+f1" menu item! If there is, then congratulations, configuration success Pull! Below I will show you how to use this function;
Again, use Jcretor to play the role of JDK help document pull! That's exactly what I'm going to say, OK, let me tell you how to use this function specifically:
When you write a program in JCreator or look at someone else's original code, you will definitely encounter unfamiliar or unknown classes or methods, this time you use the mouse to select the name of the class or method you want to query, and then click on the Jcretor menu bar of the Help menu under the JDK Help, At this time you will find that the information you want to query immediately in the JCreator in the form of a Web page display! Oh...... is not found very simple, is not think it can be compared with the CHM format JDK documents! Ha, it's so simple!
Tip 3: This technique seems to be similar to tip 2, which is Bandi to implement a Web page file that is displayed directly in the JCreator editing window, and eliminates the hassle of opening other browser tools separately. In fact, this function is mainly to facilitate the writing of Java Applets applet programmer. When you write a applet program, always through the Web page to observe the results of the program, then use Jcretor to write an HTML original file and save! You will find the filename in the File View window at the far left of the JCreator edit window, select the file, right-click and click the View in Browser menu item, and soon your selected HTML file will appear in Jcretor. OK, with this method than you use the browser to open the HTML file, is not convenient Dora! Oh, it is so simple!
:) above is I use JCreator Java programming summed up a little bit of the use of skills, perhaps some friends already know that the inside of the function, swim, and write well please see cool! At the same time I also hope that you can put their own experience in the use of Jcretor summed up in the process for everyone to reference! I will also be in my blog in time to update the new skills I learned!
Welcome to my blog, the following is my blog address:
Please pay attention to my blog:http://blog.csdn.net/dazern/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service