Lectures

1A: Introduction
1B: Java Intro
2A: BuildingBlocks
2B: Objects
3A: More Objects
3B: Exceptions
       & Threads
4A: Waves
4B: Nuclear &
       Particle
5A: AWT
5B: More AWT
      & Graphics
6A:Detectors &
      Simulation
6B: LHC/Atlas &
     RandomSims    
7A: Swing
7B: Java2D
8A: Java Apps
8B: Dialogs &
    MoreClasses
9A: Java I/O
9B: Utilities,
        Unicode
10A: More
    Threading
10B: File
    Handling
11A: Array,Print,
    Images
11B: SimplePhysics
    Simulation
12A: Tips &
    Techniques
12B: More Tips &
    Techniques
13A: Satellite
    
Simulations
13B: Intro to Java
    Networking
14A: Java Servers
14B: HTTP Server
15A: ServerClient
15B: ServerClient
   Expt.Simulation
16A: Course
          Review
16B: ExerciseTest
        Discussion

    Contacts
    Description
    Exercises
    Index
    Outline
    Q&A
    Resources
    StudentInfoForm
    Student Pages
    What's New

 

Home : Lecture TOC
Lectures: Table of Contents


 

1A
Introduction to physics and simulations.
Course structure and options.

       Lecture 1A
 Simul. & Analysis
 Course Options
 Theory,Model&Expt
 FundamentalPhysics
 Quark Model
 Specs of Model
 Specs in Biology
 Early Detectors
 UnderstandDetector
 
Very Large Systems
 
Large Experiments
 Data Rates

 

1B
Overview of Java and its applications in science.

Setting up the JDK.

Getting started.

        Lecture 1B
  History
  Features
  Benefits in Science
  Drawbacks
  Apps in science
 
  Running Java
  Interpret/Compile
  1.0 vs 1.1 vs 1.2
  Getting Started
  Tools
  Simple Applet
  Homepage Setup
  Java Books
  Exercises

           
  2A
Java Building Blocks

        Lecture 2A
  Basic Elements
  Statements
  Comments
  Javadoc
 
Expressions
  Primitive Types

  MorePrimitives
  Floating Point
  Casts & Mixing
  Math Tools
  Basic Graphics
  Drawing Methods

  2B
Objects and Java

        Lecture 2B
  Goals of OOP
  OO Analogies
  CreatingTypes
  Objects & Classes
  Complex Class

  Arrays
  Strings
  Example
  Exercise

           
  3A
More about Objects
        Lecture 3A
 Value vs Reference
 Overloading
 Inheritance
 Overriding
 OverrideVsOverload
 InheritanceExample
 This's & Super's
 AnotherExample
 
Abstraction
 Static Meth & Var.
  3B
Exceptions and Threads

        Lecture 3B
  Import
  MoreAboutApplets
  Wrappers & String-
     Type Conversion
  Exceptions
  Interfaces
  Threads
  
Thread Example
  Exercise

           
  4A
Wave Simulations
      Lecture 4A
  Wave Basics
  Wave Measures
  Wave Collisions
  Interference
  Reflect,Refract,
    & Diffract
  Sound Waves
  Doppler Effect
  WaveSimulation 1
  
Infrasound
  Recording
  Processing
  Examples
  WaveSimulation 2
  4B
Simulations in Nuclear and Particle Physics
        Lecture 4B
  PhotonAbsorption
  ComptonScattering
  Nuclear Structure
  Neutron Decay
  Exercises
           
  5A
Introduction to the AWT
      Lecture 5A
  AWT Overview
  Components
  Containers
  Events
  Event Overview
  Event Example
  Event Processing
  Button Example
  Frames & Menus
  Other Components

  LayoutManagers
  5B
Improved Graphics & Other Tips

        Lecture 5B
  Applets 1
  Applets 2
  More Drawing
  Colors
  Fonts
  Images
  Reduce Flicker:
    
Override Update
  
 Clipping
  
 Double Buffer
  Exercises

           
  6A
Atlas Detector at the LHC
      Lecture 6A
WhySimulations 
Detector Simulation
Resolution&Eff

CerenkovDetectors ComplexDetectors
Detectors/Biology
MicroSimulation
  6B
Detector Simulations
        Lecture 6B
PPbar Collisions
Atlas Detector
Physics at LHC
Sub-detectors
SimulationsSoFar
Sim & Randomness
Ran.Distributions
JavaRandomNums
Exercises
           
  7A
Swing
      Lecture 7A
Java Roadmap
CustomComponent
Swing
Running Swing
SwingDesign-
Demo
JButton      -    Demo
JPanel & Layouts
                    -   
Demo
JComponent's
                    -   
Demo
More JComponent's
                    -   
Demo
Swingset    -   
Demo
Converting Code
Using Plug-in
  7B
Java2D
        Lecture 7B
Polygons
Java2D API
Shape&Area   Demo
Paint&Stroke  Demo
Gradients,Textures
                          Demo
Transforms     Demo
Text                  Demo
Java2D & Swing
                          Demo
Other Java2D
           
  8A
Applications
      Lecture 8A
  Standalone Java
  Simple Application
  Window App
  Applet to App 1
  Applet to App 2
  Applet Viewer
  Inner Classes
  
AnnonymousClass
  AdapterClass
 
  8B
Utilities &
More about
Classes

      Lecture 8B
Class Design
Constructors
Object Class
Dialogs
Query: Modal
Query: Nonmodal
File Dialog
Exercises

           
  9A
Java I/O

      Lecture 9A
  Overview
  Streams
  Wrappers
  Keybd Example
  Console Example
  Keybd Numbers Ex.
  File Class
  File I/O
  File IO Char Ex.
  File IO Binary Ex.
  
Other I/O Features
  

  9B
Utility Classes & Unicode

      Lecture 9B
Unicode
Utility Package  
StringBuffer/Token
Vector/Enumeration
     & Iterator
Hashtable
Dates & Time
Other Utilities
Exercises

           
  10A
More Threading

      Lecture 10A
MoreAboutThreads
Thread Review
Multiprocessing
Thread Subclass
Using Threads
- No interaction
- Task splitting
- Exclusive Steps
- Communicating

Thread Problems
Scheduling/Priority

  10A
File Handling

      Lecture 10B
AppletSubdirectory
Jar Files
File Organization
Packages
Access
3rd Party
Packages
Exercises

       
  11A
Arrays, Printing, Images

      Lecture 11A
Arrays
Printing Screen
Images
Image Loading
Pixel Handling
Transparency
Image Saving

  11B
A Simulation of a Simple Physics Experiment

      Lecture 11B
Physics Model
Simulation Design
Physics Simulator
Experiment Design
Expt. Simulator
Expt.SimulatorCode
Detector Interface
Sim T vs Real T
Analysis
Exercises

           
  12A
Java Tips & Techniques

      Lecture 12A
Browsers
System Properties

Cursor Icons
MouseButtons
Keystrokes
Audio
Timing
Toolkit
AppletContext
Run Ext. Programs
Misc. Tools

  12B
More Java Tips & Techniques

      Lecture 12B
Cloning
File Read by Applet
RandomIO,Append
DecimalFormat
DecimalFormat-IBM
Precision Class-KI
Format - Core Java
Output to String

Console Demo
Exercises

           
  13A
Satellite Simulations

      Lecture 13A
Remote Expt. Sim.
Why Simulations?
Reasons
No Alternatives
Expl: Satellite Expt.
Rely on Simulations
Sat. Classifications
Swedish Satellites
Sim. Advantages
Why Small Sats?
Hugin Nanosat
Hugin-Block Diag.
Hugin-Simulations
Hugin-Att.Control
Earth B Field Sims.

  13B
Introduction to Java Networking

      Lecture 13B
Networking
Internet Basics
IP - Datagrams
TCP - UDP
Application Layer
Ports
Java Networking
URL
InetAddress
Sockets
Client-Server

RMI
Exercises

   

 

     
  14A
Java Server

      Lecture 14A
Servers & Servlets
Design of Server

ServerSocket
Threads For Clients
ClientServerStreams
HTTP Protocol
Server Application

  14B
Java HTTP Server

      Lecture 14B
Run Server
Security Problems
Secure Server
Run Secure Server
A client application
Server Apps
Exercises

           
  15A
Java Server-Client

      Lecture 15A
DataMonitorDesign
Processing Steps
Run DataMonitor
DataClientApplet
DataServer
DataSender
DataClient
DataReader

  15B
Server-Client Experiment Simulation

      Lecture 15B
Serving PhysicsSim
DataMonitorDesign
Run Data Server
Run Data Client
Data S
erver Code
Physics Sim Code
Data Client Code

           
  16A
Course Review
      Lecture 16A
Java Missed
Class class
Reflection
Javabeans
New API's
  16B
Exercise/Exam Discussion

      Lecture 16B
Java Review
PhysicsSimReview
Exercises
Exam Discussion
Course Discussion

           

 

Home Lectures Resources Index Contacts Students


Physics Simulations with JavaTM
KTH, Kurskod: 5A1418
Curator: Clark S. Lindsey