edu.pdx.cs410J.examples._package.html Maven / Gradle / Ivy
This package contains some miscellaneous Java programs.
- Internationalization:
{@link edu.pdx.cs410J.examples.AroundTheWorld AroundTheWorld}
Demonstrates {@link java.util.Comparator Comparator}:
{@link edu.pdx.cs410J.examples.ClassComparator ClassComparator},
{@link edu.pdx.cs410J.examples.PersonComparator PersonComparator}
Demonstrate some of the collection classes:
{@link edu.pdx.cs410J.examples.Collections Collections},
{@link edu.pdx.cs410J.examples.Farm Farm}
Using {@link java.util.Date Date}:
{@link edu.pdx.cs410J.examples.DateDemo DateDemo},
{@link edu.pdx.cs410J.examples.FormattedDate FormattedDate},
{@link edu.pdx.cs410J.examples.Today Today}
Demonstrates {@link java.util.StringTokenizer StringTokenizer}:
{@link edu.pdx.cs410J.examples.ParseString ParseString}
Class and object reflection:
{@link edu.pdx.cs410J.examples.Reflect Reflect},
{@link edu.pdx.cs410J.examples.WhatAmI WhatAmI}
Java system {@link java.util.Properties properties}:
{@link edu.pdx.cs410J.examples.SystemProperties SystemProperties}
I/O
- Filtering out certain files:
{@link edu.pdx.cs410J.examples.DirectoryFilter DirectoryFilter},
{@link edu.pdx.cs410J.examples.FindJavaFiles FindJavaFiles},
{@link edu.pdx.cs410J.examples.JavaFilenameFilter JavaFilenameFilter}
- Working with files:
{@link edu.pdx.cs410J.examples.ReadDoubles ReadDoubles},
{@link edu.pdx.cs410J.examples.WriteDoubles WriteDoubles},
{@link edu.pdx.cs410J.examples.WriteToFile WriteToFile}
- Reading input from the command line:
{@link edu.pdx.cs410J.examples.ReadFromConsole ReadFromConsole}
XML
- Working with DOM trees:
{@link edu.pdx.cs410J.examples.BuildPhonebook BuildPhonebook},
{@link edu.pdx.cs410J.examples.Business Business},
{@link edu.pdx.cs410J.examples.PhoneBook PhoneBook},
{@link edu.pdx.cs410J.examples.PhoneBookEntry PhoneBookEntry},
{@link edu.pdx.cs410J.examples.Resident Resident}
Networking and Threads
- Demonstrate the need for thread synchronization:
{@link edu.pdx.cs410J.examples.ATM ATM},
{@link edu.pdx.cs410J.examples.BankAccount BankAccount},
{@link edu.pdx.cs410J.examples.SynchronizedATM SynchronizedATM},
{@link edu.pdx.cs410J.examples.SynchronizedBankAccount SynchronizedBankAccount},
{@link edu.pdx.cs410J.examples.Transfer Transfer}
- Comprehensive networking and threads example:
{@link edu.pdx.cs410J.examples.ChatCommunicator ChatCommunicator},
{@link edu.pdx.cs410J.examples.ChatListener ChatListener},
{@link edu.pdx.cs410J.examples.ChatMessage ChatMessage},
{@link edu.pdx.cs410J.examples.ChatSession ChatSession},
{@link edu.pdx.cs410J.examples.ChatSpeaker ChatSpeaker}
- Basic thread usage:
{@link edu.pdx.cs410J.examples.Counter Counter},
{@link edu.pdx.cs410J.examples.CountingRace CountingRace}
- Demonstrates the {@link java.net.URL URL} class:
{@link edu.pdx.cs410J.examples.DumpURL DumpURL}
- Simple networking example:
{@link edu.pdx.cs410J.examples.Listener Listener},
{@link edu.pdx.cs410J.examples.Speaker Speaker}
- Demonstrate fundamental threading facilities:
{@link edu.pdx.cs410J.examples.McCustomer McCustomer},
{@link edu.pdx.cs410J.examples.McDonalds McDonalds},
{@link edu.pdx.cs410J.examples.McEmployee McEmployee}
- Object serialization:
{@link edu.pdx.cs410J.examples.Node Node},
{@link edu.pdx.cs410J.examples.ReadDate ReadDate},
{@link edu.pdx.cs410J.examples.ReadNodes ReadNodes},
{@link edu.pdx.cs410J.examples.WriteDate WriteDate},
{@link edu.pdx.cs410J.examples.WriteNodes WriteNodes}
Graphical User Interface
- Demonstrates some graphics:
{@link edu.pdx.cs410J.examples.Clock Clock}
- Inner classes:
{@link edu.pdx.cs410J.examples.FindClassFiles FindClassFiles}
- Buttons, labels, and text fields:
{@link edu.pdx.cs410J.examples.SimpleGUI SimpleGUI}
- Text editing components, tool tips, scroll bars, menus, look and
feel, simple dialog boxes:
{@link edu.pdx.cs410J.examples.TextEditor TextEditor}
- Drawing graphics: {@link edu.pdx.cs410J.examples.DrawPolygon
DrawPolygon}, {@link edu.pdx.cs410J.examples.DrawCoords DrawCoords},
{@link edu.pdx.cs410J.examples.TranslateCoords TranslateCoords}
- Applets: {@link edu.pdx.cs410J.examples.DrawCoordsApplet
DrawCoordsApplet}
- Working with fonts: {@link edu.pdx.cs410J.examples.Fonts
Fonts}
- Tables and trees: {@link
edu.pdx.cs410J.examples.FileSystemBrowser FileSystemBrowser}
Security
- Policy file: {@link edu.pdx.cs410J.examples.PrintUser
PrintUser}, {@link edu.pdx.cs410J.examples.WriteToHomeDir
WriteToHomeDir}
- Digitally signing data: {@link
edu.pdx.cs410J.examples.SignMessage SignMessage}, {@link
edu.pdx.cs410J.examples.VerifyMessage VerifyMessage}
- doPrivileged: {@link edu.pdx.cs410J.examples.GameConsole
GameConsole}
Misc
- Demonstrates basic JavaMail capabilities:
{@link edu.pdx.cs410J.examples.MailFile MailFile}
- Creates a jar file:
{@link edu.pdx.cs410J.examples.MakeJar MakeJar}