Java Tutorials



Featured Tutorial
Feature your own tutorial here! Find out more.
Basic Calculator GUI
Submitted by Swivvet » This tutorial helps users understand the fundamentals of Java GUI, it can help them use techniques in different programs and introduces 2 different LayoutManagers to make a Calculator interface which look similar to the Windows Calculator
Rating: 3.2/5 | 90 clicks | 0 comments | 0 saves | share | report
The absolute basics of Java Programming
Submitted by Swivvet » This tutorial gives users a starting point with Java Programming and helps them understand the software they will require. It also shows users how to write a simple program and the basic structure of Java code
Rating: 3.0/5 | 110 clicks | 0 comments | 0 saves | share | report
Java Variables Explained
Submitted by Swivvet » Helps beginners understand how Variables can benefit a program and different data types available in the language.
Rating: 3.3/5 | 29 clicks | 0 comments | 0 saves | share | report
The 10 minutes “Getting started with RMI” tutorial
Submitted by Little Tutorials » Since Java 5 working with RMI (Remote Method Invocation) is very easy. You don’t need the rmic compiler unless you work with legacy RMI clients. Now stubs are generated automatically at runtime. Let’s see a very minimalistic example.
Rating: 3.7/5 | 169 clicks | 0 comments | 0 saves | share | report
How to script a Java application with Groovy, Jython, JRuby and JavaScript
Submitted by Little Tutorials » In Java 6 standard support for scripting engines was introduced (JSR 223: Scripting for the JavaTM Platform). This tutorial describes how to design a scriptable application and what you need to do to allow the users to write scripts for your application in various scripting languages.
Rating: 3.7/5 | 220 clicks | 0 comments | 0 saves | share | report
Network interface details with Java 6
Submitted by Little Tutorials » Many times it is useful to be able to get programmatically information about the network interfaces present on a host. Java standard library include a number of classes designed to provide access to this information. The most important is java.net.NetworkInterface which suffered a major face lifting in Java 6. Now it is possible to get a lot more information about every network interface in the system. Of special importance is the ability to get the MAC address of an interface.
Rating: 3.0/5 | 253 clicks | 0 comments | 0 saves | share | report
Locating resources in Java
Submitted by Little Tutorials » A resource is a file situated somewhere in the class path. It can be a file in a package folder, in the classes folder or in a jar file. Resources are usually needed at runtime and they can be properties files, images and so on. The ClassLoader and Class classes provide methods to find the desired resources but a little bit of attention has to be payed to the quirks of this API.
Rating: 4.0/5 | 193 clicks | 0 comments | 0 saves | share | report
More desktop integration: the system tray
Submitted by Little Tutorials » One more nice touch in the Java 6 offensive to the desktop is giving Java applications the ability to add icons to the system tray in a pretty consistent way across platforms. Of course differences exist and they will show up to some degree in the code but at least now the framework exists and the programmer’s effort is a lot smaller.
Rating: 2.5/5 | 311 clicks | 0 comments | 0 saves | share | report
Desktop integration with Java 6
Submitted by Little Tutorials » Java 6 tries hard to make Java applications easier to integrate in the desktop environment of various platforms. One of such welcome attempts is the new java.awt.Desktop class adapted from JDIC (JDesktop Integration Components).
Rating: 2.8/5 | 209 clicks | 0 comments | 0 saves | share | report
Console applications with Java 6
Submitted by Little Tutorials » In Java 6 a better way of interacting with the command prompt was introduced, the java.io.Console class. Together with the utility class java.util.Scanner introduced in Java 5 this new API can be used to develop more advanced Java console applications.
Rating: 2.8/5 | 174 clicks | 0 comments | 0 saves | share | report