- Use Javadoc; it's a godsend.
- Don't ever use setSize as Swing's layout manager will just override it. Instead, use SetPreferredSize().
- Make certain that all listener objects implement actionPerformed() method.
- Add ActionListener(listener object) to the JComponents.
- Remember that a JComponent may have multiple objects listening to it.
- Create anonymous inner classes.
- Google "Swing Open Source XML"
- What are the differences between threading in C++ vx. Java?
- ILP - Instruction Level Parallelism limited to 3-4X by rearranging transitors on the chip.
- Could use more cache, otherwise the CPU would click over an instruction 100X faster than memory can process. However, big cache is slow cache.
- Threads go along way to leverage microchip/transistors.
- Single threaded is the fastest.
- Multi-core pushes the cost on to the software developer.
- SMT - Simultaneous Multi-Threading, aka HyperThreading by Intel.
Chad Salinas
