Java Notes:
Java Notes. These Java programming notes are written to fill in missing or weak topics in textbooks that I've taught from. Many pages are useful for reference, but not as an ordered tutorial. Some pages are still rough drafts, but I'm slowly working on fixing them. notes-java-2007-04-25.zip [2.4 MB].
Java Basics. I've started writing a more coherent tutorial called Java Basics. In addition to lessons, there is also commentary which explains why things are done the way they are. JavaBasics-2007-04-25.zip [0.4 MB].
Copyleft - Java Notes is copyrighted by the very permissive MIT License, except as otherwise noted (eg, some GPL'ed images).
Copyright - Java Basics, which has more work put into it, has a traditional copyright, but allows free educational use.
Public Domain - All source code in the examples in both Java Notes and Java Basics is placed in the public domain so you can use them.
Index on Net:
Background
- Preface
- Programs
- Files and Directories
- CLASSPATH
- Directories and Files
- Packages - Importing
- Packages - Defining
- Using other packages
- NoSuchMethodError main
- Garbage Collection
- Links
Java Tools
Deployment
- Applications, Applets, etc.
Principles and practices
- Style
- Cohesion
- Design By Contract
- Process - Iterative
- Errors and debugging
- OO Design
- Complexity
- Function Point Analysis
Summaries
- Data summaries
- Summary - Data
- Summary - Expressions
- Summary - String
- Summary - Character
- Summary - StringBuilder etc
- Summary - Arrays 1
- Summary - Arrays 2
- GUI summaries
- Summary - GUI Components
- Summary - GUI Containers
- Summary - GUI Layouts 1
- Summary - GUI Layouts 2
- Summary - Graphics
- Misc summaries
Introductory Example Programs
- Overview of Intro Programs
- Do nothing!
- Output only
- Input - Output
- Example: Console: To your leader
- Example: Dialog: To your leader
- Example: Console: Capitalize
- Example: Dialog: Capitalize
- Ex: Console: Kilometers to Miles
- Ex: Dialog: Kilometers to Miles
- Ex: Dialog: Km to Miles - Format
- Loop (Input, Calculate, Output)
- Example: Console: Adding Machine
- Example: Console: Max, min, avg
- Example: Dialog: Adding Machine
- Example: Dialog: Longest Word
- Example: Dialog: Bad Words
- Programming Problems
- Methods
- Try...Catch
Example GUI Programs
- Components
- Example - ToUppercase
- Example - CombineName
- Example - Body Mass Index
- Example - Sleepy Face
- Example - Calculator
- Example - Simple editor
- Example - Roman numerals
- Graphics
- Example - Drawing a Face
- Example - BullseyeDemo
- Example - Roll Dice
- Example - ColorDisplay
- Example - Circles
- Animation
- Mouse
- Games
- Collections
Language
Control Flow
- If
- if Statement - Overview
- Else not Required
- Braces are your friend
- 'if' Statement - Indentation
- 'if' Statement - if inside if
- 'if' Statement - 'else if' style
- switch
- Loops
- Assertions
- Exceptions
- Methods
Classes
- See Java Basics
- Overview
- Constructors
- Interfaces
- Reflection / Introspection
- Enums
IO
- File IO
- java.io.File
- File I/O - Text Files
- Sys Independent Newline
- BufferedReader/Writer
- File Filters
- javax.swing.filechooser.FileFilter
- java.io.FileFilter
- Examples
- Console (System.in / System.out)
- Dialog (JOptionPane)
- Internet
- Formatted Output
- Properties and Preferences
- JDBC
Algorithms
- Big-Oh Notation
- Comparing
- Copying
- Searching
- Sorting
- Random numbers
- Math
Other
Data
- Basic Types
- Variables
- Expressions
- Expressions
- Precedence
- Assignment
- Comparison
- Bit operations
- Numbers
- Strings
- String Overview
- String Comparison
- Summary pages
- Conversion
- Regular_expressions
- Regular Expressions
- String Regex Methods
- Basic regex summary
- Pattern and Matcher
- Regex Language
- Regex Examples
- Full regex summary
- StringTokenizer
- String Examples
- Arrays
- Collections - Generic
- Java Data Structures
- Collections Overview
- Collection Interface
- Lists
- Deques
- Sets
- Maps
- Iterators
- Other
- Exercises
GUI
- See Java Basics
- Basics
- Summaries
- Events and Listeners
- Events - Introduction
- Listeners
- Inner-class Listeners
- Anonymous Listeners
- Top-level Listeners
- Action, AbstractAction
- Components
- Components
- Introduction to Components
- Where to declare components
- Intro to components
- JLabel
- Buttons
- Textfield
- Textarea
- Radio buttons
- Checkboxes
- Sliders
- Combobox
- Menus
- Containers
- Containers
- Windows
- Dialogs
- Panels
- Layouts
- Layouts
- FlowLayout
- BorderLayout
- GridLayout
- BoxLayout and Boxes
- BoxLayout spacing
- BoxLayout alignment
- GridBagLayout
- Example: GridBagLayout
- Null Layout
- Alternate Layout Managers
- GUI Program Structure
- Misc
GUI - Appearance
- Fonts
- Borders
- Look and Feel
GUI - Low level
- Graphics
- Summary: Graphics drawing
- Summary: Drawing component
- Images - BufferedImage
- Images - ImageIcon
- Graphics2D
- Mouse
- Keyboard
To learn step by step java :
http://java.sun.com/docs/books/tutorial/java/index.html
Easy guide to learn java :
It is in PDF format,
http://www.fileden.com/files/2007/5/26/1113360/JavaBasics-notes.pdf
No comments:
Post a Comment