Quantcast
Channel: Articles
Browsing all 18 articles
Browse latest View live

isAssignableFrom() vs. instanceof

In Java, you can check the class of an object using the instanceof operator:microwaveinstanceofOvenWhen you have a Class object, it would make sense to...

View Article


Image may be NSFW.
Clik here to view.

Java source formatting

You are probably familiar with the Eclipse hotkeys to automatically format your source code:Correct Indentation: Ctrl + IFormat: Ctrl + Shift + FThese are quite helpful and can save a great deal of...

View Article


Image may be NSFW.
Clik here to view.

Building tables made easy: TableViewerBuilder

In my last RCP training the participants complained a bit about the JFace TableViewer API. I have to agree, tables are the bread and butter of many RCP business applications and binding tables to your...

View Article

Image may be NSFW.
Clik here to view.

Contributing commands to context menus

In the following post I’ll show how one creates context menus for structured viewers in Eclipse RCP applications and how to contribute Eclipse commands to such a context menu:Creating the context...

View Article

Image may be NSFW.
Clik here to view.

Running Maven-based Wicket projects in Eclipse

After you have created a new Wicket project according to the Wicket QuickStart instructions, you might wonder how to setup and run the project in Eclipse. There are two ways:Using m2eclipse and WTPUse...

View Article


Calling web service APIs using Java, Spring, JAX-WS and Maven

This is a recipe for calling web service SOAP/WSDL-based APIs from a Java/Spring application that is built with Maven. As example, I’ll use the Campaign Monitor Web Service API.Generating client...

View Article

Image may be NSFW.
Clik here to view.

Eclipse RCP examples

In this blog post I’ll show you some Eclipse RCP example applications that you can use to explore the Eclipse RCP platform.RCP Mail 2.0RCP Mail 2.0 is an enhanced version of the “RCP Mail” template...

View Article

Image may be NSFW.
Clik here to view.

Headless Eclipse RCP builds with Buckminster and Hudson

The tutorial will show how to set up a headless build for the Mail sample application using Eclipse Buckminster and the Hudson build server:How to define and share a target platformHow to export a p2...

View Article


Image may be NSFW.
Clik here to view.

Tutorial: p2 updates for Eclipse RCP applications

In this tutorial I’ll show how to make the RCP mail example application updatable using the p2 provisioning platform. This version of the tutorial is for Eclipse 3.6 from the Helios release. I assume...

View Article


Git screencast

View Article

JFace Wizard FAQ

How to implement a JFace Wizard?Create a WizardPage subclass for every step of the wizard, for...

View Article

Image may be NSFW.
Clik here to view.

JFace Data Binding & WindowBuilder: Exchangeable model objects

A very common case in UI applications are forms which are bound to exchangeable model objects. For example, one might want to bind this address form in such a way that you can set a new Address object...

View Article

Image may be NSFW.
Clik here to view.

Java sources in Eclipse on Mac OS X

Problem: Eclipse IDE does not show the sources for JRE classes on Mac OS X:Solution: Download and install Java for Mac OS X Developer Package (registration required).This will create a folder...

View Article


Running Java applications as daemon on Debian Linux

Debian has start-/stop scripts in /etc/init.d/ which are documented in the Debian Policy Manual. An example is available in /etc/init.d/skeleton. These scripts use start−stop−daemon to start and stop a...

View Article

Image may be NSFW.
Clik here to view.

Git Tutorial

InstallationGit on WindowsGit on Mac OS XGit on LinuxCreating a new repositoryThe working treeThe staging indexCommittingCommit historyGit configuration: user settingsSeeing what will be...

View Article


Image may be NSFW.
Clik here to view.

Einführung in Objective C

Table of contentsTypen (Auszug)Klassen deklarierenMethoden deklarierenMethodenaufrufeKonstruktorenStringsLoggingWeitere InformationenObjective-C ist ein um objektorientierte Sprachkonstrukte...

View Article

Ruby Regular Expressions

Finding the first matchAccessing capturesFinding all matchesReplacing matchesModifiersRegular expressions by exampleMore InformationFinding the first matchString.=~(Regexp) returns the starting...

View Article


Image may be NSFW.
Clik here to view.

Pull To Refresh

Since iOS 6 the Mail app has a Pull to Refresh indicator:In this article I’ll show how to implement such an animation from scratch. This is for learning and practice purposes only, there is no need to...

View Article
Browsing all 18 articles
Browse latest View live


Latest Images