Quantcast
Channel: Duckout » Java
Browsing all 8 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Android Calculator

Prerequisite: Android ADT Plugin for Eclipse. What we gonna have at the end is a calculator for Android. It will be able to summate, subtract, multiply and divide: You need to write a number in the...

View Article


Image may be NSFW.
Clik here to view.

Android Moving Object

Here I will show you how to handle a moving object in Android. The object we are talking about is a circle which moves from the left side to the right side and back – all the time. First of all we...

View Article


Image may be NSFW.
Clik here to view.

Hibernate getting started

Getting started with Hibernate: Getting started with Hibernate 4.1.8 on Eclipse Juno with Hibernate Tools 3.4.0. My recommendation is to use those as well. It is also not part of this post to install...

View Article

Image may be NSFW.
Clik here to view.

JSON with Java (Jackson)

Prerequisites: Tomcat 7 with Eclipse Juno Scenario: Several POJOs (player, team, club) Mockup data Create JSON Object in Java using Jackson Use a simple JSP to offer the JSON data Download Jackson:...

View Article

Image may be NSFW.
Clik here to view.

First Eclipse e4 Application

The coding of this project is published on github. Here we will create an Eclipse e4 application which looks like this: Hello Duckout e4 Apllication Installation of e4 We need prepare our Eclipse...

View Article


Image may be NSFW.
Clik here to view.

e4 application with different layouts and widgets

Prerequisite: First e4 application Github: e4Layout After you did the your first e4 application you can use different layouts and widgets to make it a nice looking application. This is what we are...

View Article

Image may be NSFW.
Clik here to view.

SQLite with Java

0 Installation Download the SQLite JDBC driver. When using Eclipse you can just add the library to the classpath of your Java project. Add External Library to Build Path Select the Jar to the Build...

View Article

Using Levenshtein distance in Java

Recently I found this for computing Levenshtein distance in Java. With Levenshtein you can calculate the differnece between two strings. This is the Java code for the Levenshtein distance: public class...

View Article

Browsing all 8 articles
Browse latest View live