Java Topics I Cover in CSIT 225
If you need any of the topics below, please email me. There is a lot
of stuff that you may find it hard to find elsewhere.
- Installation of Java; history of Java; why Java; differences between
Java and other languages especially C++; Java text editors.
- Applications and applets; Java input and output; data types;
scientific notation; formatting the output; intializations in Java;
classes associated with the basic data types (e.g. Long, Double, etc);
implicit and explicit type casting.
- Object-oriented programming; abstract; final; static; interface;
class; extends; implements; inheritance; public; private; inner and outer
classes; polymorhism; super; this; constructors.
- Arrays (all kinds), array processing, and methods to use or not use
with them.
- Methods (recursive and non-recursive); recursion.
- Selection sort and binary search.
- String and character processing; String, StringTokenizer, and
StringBuffer classes.
- The Math class.
- Conversion from one number system (e.g. binary, hexadecimal, etc.) to
another.
- Input, message, and confirm dialogs.
- GUI.
- Font, Color, Image and ImageIcon classes; JColorChooser.
- Frames, panels, desktops, and containers; JFrame; JPanel; JDeskTop;
JLabel; JButton; JTextField; JTextArea; JRadioButton; JCheckBox;
JComboBox; JList; JTable; JTextPabe; JPaneEditor; JToolBar; JSpinner;
JSlider; (also JTabbed Pane which was covered in one of the students'
projects).
- Applets; JApplet; Applet; Handling images and sounds in applets.
- AppletViewer (why not use) vs. the browser.
- Passing parameters to applets.
- ActionListener and ListSelectionListener interfaces.
- MouseListener; MouseMotionListener.
- KeyListener.
- Layout managers: null, BorderLayout, GridLayout, FlowLayout.
- Clipborad; Transferable; DataFlavor; tooltips; scrollbars; mnemonic;
accelerators; alignments; separators; strokes; and others.
- A component (e.g. a button) with multiple actions.
- Inner frames and multi-frames.
- Menus and toolabrs; JMenu; JMenuItem; JMenuBar; JPopupMenu;
JtoolBar.
- Centering the frame/applet; specifying location and size of
componenets.
- Conversion from an application to an applet and vice versa.
- Running the program as both an application and an applet.
- Popup windows.
- Animations.
- Audio playing.
- Threads.
- Time and date.
- Printing (to the printer) files and graphics; print dialog.
- Graphics; drawing geometric shapes, equations, and others; paint;
paintComponent; drawing on a frame and on a panel.
- System commands.
- Look&Feel; changing the appearance of the window and the
components.
- Removing/replacing the Java icon from the program; having an image
background for the frame/applet; determining during execution on which
platform the program is running.
- Exceptions; exception handling.
- Input Validation.
- Files (input and output); streams.
- File Dialogs.
- The File class.
- Saving/reading objects to/from files.
- Packages (built in and user-defined).
- Using HTML in Java.
- Javadoc.
- Examples like: our own fontchooser, colorchooser, wordprocessor,
convertor from text to HTML, animations, digital clock, conversion from
any system (e.g. hexadecimal) to any other system (e.g. octal), a password
generator, our own PaintBrush, our own FileDialog, slide shows, etc.
- Other topics.
Remark:
A large percentage of the topics covered is not in the textbook.