Free Web Hosting | Web Hosting | Free Web Space | Web Hosting

   
     
     

                                                  

GRAPHICAL USER INTERFACE (GUI) APPLICATIONS

Name

Description

Files

CALCULATOR

This is a simple calculator
program

CalculatorGuiDemo.java
Calculator.java
AboutCalculator.java
CalculatorHelpTopics.java
 

LOTTO

This is a program that will
play a simulated game of lotto

LottoGuiDemo.java
LottoGui.java
PlayLotto.java
AboutLotto.java
 

PARKING TRACKER

This is a good example of Save Dialog, Open Dialog, write to file, read from file, choice menu, checkbox, and popup menu.
The gif files need to be in the project.

StudentParkingGuiDemo.java
StudentParkingGui.java
duke_point.gif
duke_pencil.gif
duke_flip.gif
duke_box.gif

FIBONACCI

This program takes in an integer
and calculates the Fibonacci
numbers up to that integer

FibonacciGuiDemo.java
FibonacciGui.java
AboutFibonacci.java

 
 

CONSOLE APPLICATIONS

Name

Description

Files

TIC TAC TOE

This program is a two
player tic tac toe game

TicTacToeGameRevFive.java

BUBBLE SORT

This is a simple program that bubble sorts a pre-defined array
of integers.

BubbleSortDemo.java
BubbleSort.java

TEST INTEGER CODE

This program will read in a character from the keyboard and
display its integer code

TestIntegerCode.java

SIMPLE SORT

This is a simple sorting program

SelfInputSimpleSort.java
SimpleSort.java

CURRENCY FORMATTER

This program will read in a number from the user and convert the number to dollars and cents.

CurrencyFormatter.java

DOCTOR DEMO

This pair of files shows a simple
example of inheritance.

Doctor.java
DoctorDemo.java

MATRIX

This console application will
add, subtract, and multiply
two matrices of any size
 

MatrixDemo.java
Matrix.java

 
 

All duke images on this page are a trademark of Sun Microsystems