GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Happy Coding
  • Tutorials
  • Blog

This view

  • Original page
  • New address

GeezerVison is showing happycoding.io — Java Tutorials

Java Tutorials

  • Java Setup

  • Hello World
    • Higher Lower (Human Player)
    • Higher Lower (Random Computer Player)
    • Free Paycheck Calculator

  • Creating Classes
    • Taylor Swift Markov Model

  • Errors

  • Inheritance

  • Swing
    • Circle Button
    • Higher Lower

  • Libraries
    • Mastodon Bot

  • Eclipse

  • Exporting Jar Files

  • Processing in Java
    • Swing Control Window
    • Processing Showcase

  • Unit Testing
  • p5.js Tutorials
  • HTML Tutorials
  • JavaScript Tutorials
  • Processing Tutorials
  • Java Tutorials
  • Server Tutorials
  • Google Cloud
  • Android Tutorials
  • LibGDX Tutorials
  • How-To Guides
  • Interviewing

  • Gallery

  • Blog

  • Teaching

  • Forum

  • Mastodon github
    etsy youtube RSS

Java Tutorials

These tutorials assume you're already familiar with the fundamentals of coding and that you've already worked through the Processing tutorials. You can build on that knowledge to "graduate" to Java!

Chapter 1: Java Setup

Java Setup Java Setup

Install and run Java.


Chapter 2: Hello World

Hello World Hello World

Write, compile, and run your first Java application.


Hello World Examples

Higher Lower (Human Player) Higher Lower (Human Player)

Try to guess what number the computer is thinking.

Higher Lower (Random Computer Player) Higher Lower (Random Computer Player)

Think of a number and the computer will guess what it is.

Free Paycheck Calculator Free Paycheck Calculator

Find months that have three paychecks in them.

Add Your Own Example Add Your Own Example

Add your own example to Happy Coding.


Chapter 3: Creating Classes

Creating Classes Creating Classes

Learn more about creating classes.


Creating Classes Examples

Taylor Swift Markov Model Taylor Swift Markov Model

Teach an AI to write Taylor Swift lyrics.

Add Your Own Example Add Your Own Example

Add your own example to Happy Coding.


Chapter 4: Errors

Errors Errors

Catch exceptions and debug errors in your code.


Chapter 5: Inheritance

Inheritance Inheritance

Take OOP to the next level.


Chapter 6: Swing

Swing Swing

Create a graphical user interface.


Swing Examples

Circle Button Circle Button

Rectangle buttons are so last year.

Higher Lower Higher Lower

Guessing game gui

Add Your Own Example Add Your Own Example

Add your own example to Happy Coding.


Chapter 7: Libraries

Libraries Libraries

The power of other people's code.


Libraries Examples

Mastodon Bot Mastodon Bot

Create a Mastodon bot using Mastodon4j

Add Your Own Example Add Your Own Example

Add your own example to Happy Coding.


Chapter 8: Eclipse

Eclipse Eclipse

Upgrade your code editor.


Chapter 9: Processing in Java

Processing in Java Processing in Java

Use Processing as a Java library.


Processing in Java Examples

Swing Control Window Swing Control Window

Create a Processing sketch with a Swing control window.

Processing Showcase Processing Showcase

Create a Java program that cycles through Processing sketches.

Add Your Own Example Add Your Own Example

Add your own example to Happy Coding.


Chapter 10: Unit Testing

Unit Testing Unit Testing

JUnit and Mockito


Chapter 11: Exporting Jar Files

Exporting Jar Files Exporting Jar Files

Package your code so other people can run it.


You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.