Eclipse - Tips'n tricks - Open Element

This Open Element option allows to find a specific element in a project with the beginning of its name. For that, open a class and type SHIFT + CTRL + T and a popup will open to find the correct element of your dreams. Very useful.

October 25, 2011

Eclipse - Standard Widget Toolkit (SWT) - Installation

SWT, the Standard Widget Toolkit, will help us to draw windows for the Java platform. On this webpage you will find links to download last stable releases http://www.eclipse.org/swt/ Once downloaded, open Eclipse, right click on the Explorer tab, then : Import… > General > Existing Projects into Workspace. Click Next then select the Select archive file option and browse until, for example for Windows OS, your swt-3.7.1-win32-win32-x86.zip file. Click Finish. Now in your Package Explorer you can see the org.eclipse.swt project. ...

October 21, 2011

Eclipse - Tips'n tricks - Open Type

This Open Type option allows to find a specific class in a project with the beginning of its name. For that, use the SHIFT + CTRL + H and a popup will open in front of your eyes. Start writing and all types with matching name will appear. 😭

October 21, 2011

Eclipse - Qt Framework - Installation

You like Qt framework and you like Eclipse as well. So you already developed with Qt Creator, but your favorite IDE is missing you. I understand. That’s why I will show you how to use Eclipse to compile a project with Qt framework. 1. Using Eclipse and Qt framework on Windows OS A. Qt for open source C++ development on Windows Let’s start by install the open source Qt libraries. I suggest you to downlod the .exe with this link: http://qt.nokia.com/downloads/windows-cpp ...

October 18, 2011

Eclipse - Tips'n tricks - Creating a Code Style

You can easily manage the Code Style of your pages in Eclipse. For example, for C++ (this is exactly the same for all others languages), simply do this: Window > Preferences > C/C++ > Code Style. Under classic built-in choices, click New… and create your own Code Style! Yeah!

October 11, 2011

Eclipse - Tips'n tricks - Generating getters and setters from the Source menu

An easy way to generate getters and setters is to use the Source option within Eclipse Indigo. For example, create a new file, add the following lines and select them: int nbPeople; int nbAnimal; Then right click. On the menu select Source > Generate getters and setters. On the new window, click on the right Select All, then Next and Finish. Your getters and setters are generated for you as follows: ...

October 11, 2011

Apache - Ant - Installation

Ant is a Java tool that can help you building projects and setting them correctly. It can generates files and directory from simple XML files. So, let’s get started with this tutorial of Apache Ant on Windows operating system. 1. Apache Ant installation on Windows So, we will install Ant on Windows and for that we will use in this tutorial: Windows 7 Ant 1.8.2 Two things are important, the path for the directory and the path for the environment variables. ...

October 4, 2011

Oracle - GlassFish Server Open Source Edition - Installation

A new tutorial to explain how to install the Oracle GlassFish server Open Source Edition 3.1.1 on Windows directly by running it and with the Eclipse IDE. 1. Installation on Windows by running it Let’s start by download it on the official website: http://glassfish.java.net/ Once downloaded, run it. Choose: Custom Installation > Next > Install and Configure > Next > Select a directory > Next > Select your Java SDK folder > Next > Check Install Update Tool and Enable Update Tool > Install ...

October 4, 2011

Security - Checksum - MD5

You just download a new file and you want to know if this file is really the good one. How to do that? With checksum of course! Of course, this is not a 100% secure way, but it is better than nothing! Why it is not a perfect secure way? Because someone may have hacked the website where is the file to download, and generate the checksum of its own hacked file. So if you try to check this checksum, you will have exactly the same, but the file will be hacked. But as I said, this is better than nothing! ...

October 4, 2011

Eclipse - Subversion - Installing SVN on Windows

You already have Eclipse Indigo, but you want more. That is a good thing. Indeed, you want be able to connect your projects with a software versioning and a revision control system, and this directly from Eclipse. You need SVN! Open Eclipse: Help > Eclipse Market Place… > Write Subclipse in the Find input area. Click Install on the right of the Subclipse details. Accept all and restart Eclipse. If you have a 64 bits Java Virtual Machine, you must download the JavaHL for 64 bits. Here the website: http://www.sliksvn.com/en/download ...

October 2, 2011