Eager to Code, Enjoy to Debug ~ Embark into Each Stage with Your Heart

Posts Tagged ‘Eclipse

Code Templates

Posted by: Chyne on: April 19, 2008

The steps to specify what information needs to be included in the created class files:-
1. On the Menubar, choose Project —> Properties
2. Chosse Java Code Style —> Code Templates
3. Tick to enabled project specific settings
- Comments
- Types
—> Click the Edit button
—> Change the cursor within the comment body
—> Click Insert Variable
—> Insert date, time, author
Example:
/**
* [...]

Tags:

Compile and Build Projects using Ant

Posted by: Chyne on: January 14, 2008

Here are the steps to compile and build projects using Ant in Eclipse:

Choose Window in the Toolbar.
Show View —> Others.
Double click the ‘Ant’ directory and choose the ’Ant’ icon.
Click ‘Ok’.
Choose a specific project.
On the Ant tab, click the icon ‘Add buildfiles’.
Choose the buildfiles to add (build.xml).
After choosing the build.xml, you can do the [...]

Tags:

How to Create a Jar File

Posted by: Chyne on: January 8, 2008

Here are the steps to create a jar file in Eclipse:

Select specific file or package in the Package Explorer / Project Explorer.
Right click the selected file and choose ‘Export’ from the list.
Select the folder ‘Java’ and choose ‘JAR file’.
Click ‘Next’.
Make sure the ticked project in the ‘Select the resources to export:’ is the right location [...]

Tags:

Friday’s Java Snack


In Java, "thread" means:

  • An instance of class java.lang.Thread
  • A thread of execution


An instance of Thread is just an object that has variables and methods, and lives and dies on the heap.
 
A thread of execution is an individual process that has its own call stack (one thread per call stack).

 

November 2009
M T W T F S S
« Oct    
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Archives


  • system_forex_: I like this website very much. This is such a outstanding web. And it is not like other money oriented website, the message here is genuinely impo
  • Faruk: its very very very fine solution perfect
  • blackhawk: Nice tip -- thanks for sharing

StatCounter

free hit counters