1000 Java Tips ebook
Free "1000 Java Tips" eBook is here! It is huge collection of big and small Java
programming articles and tips. Please take your copy here.
Take your copy of free "Java Technology Screensaver"!.
Easy Learn Java: Programming Articles, Examples and Tips - Page 355
1060 Stories (530 Pages, 2 Per Page)
Java: Style and Correctness Checkers
- Description: PMD checks for a long list of possibly bad programming
practices and possible error conditions in source programs. My feeling about
it is mixed -- it is undoubtedly very useful, but the number of warnings
about things which were actually ok were excessive. Of course, what I should
be doing it tuning the rules so it diagnoses what I think is important. I've
used it from jEdit but found the interface difficult. "PMD has plugins for
JDeveloper, JEdit, JBuilder, NetBeans/Sun ONE Studio, IntelliJ IDEA,
TextPad, Maven, Ant, Eclipse, Gel, and Emacs."
- Checks style for adherence to coding standards, eg, Sun. I've used it as
a jEdit plugin. One nice feature is that it nags about providing javadoc
- Looks for bugs in Java code. Open-source, free. There's an article on
its use at
FindBugs, Part 1: Improve the quality of your code.
- Java Coding Standard Checker
- From Cafe au Lait Java News site: "Ralph Jocham's posted version 0.95 of
JCSC (Java Coding Standard Checker), a configurable tool for checking Java
source code for adherence to standard conding conventions such as naming
conventions, code structure, class size, and line length. According to
Rocham, version 0.95 "has been completely refactored. The core is now XML
driven which makes the adding of further rules faster. Also, rules can be
en-/disabled on a case by case basis and each rule can have a priority
assigned. The priority can be used to group the parse results. These changes
are reflected in an improved UI -- both in the ruleseditor and the generated
XML/HTML documents. JCSC now supports CruiseControl2. This release also
includes various bug fixes."
- Source code formatter. Very active support and available as plugin in
many IDEs. Check out this
article on Jalopy. There is now a $40 successor to Jalopy.
- Description: Checks Java programs for errors. Basis for CodeLint jEdit
plugin. Looks for a limited number of errors in source or class files. Not
very useful when I tried it.
Copyleft Fred Swartz
6 comments | | Score: 0
Posted by jalex on Tuesday, May 03, 2005 (00:00:00) (3370 reads)
These are the basic user interface components: labels, buttons, text
fields, ... Components are placed in a container (eg, JPanel). The visual
arrangement of the components depends on the container's layout. When the
user does something to a component, the component's listener is sent an
The most important components to learn for most simple programs are:
JLabel, JButton, and JTextField. Learn these first.
Information Display Components
- Progress bars (JProgressBar) - no notes
- Tool tips (using JComponent's
- File chooser (JFileChooser)
- Color chooser (JColorChooser) - no notes
More complex displays
- Tables (JTable) - no notes
- Trees (JTree) - no notes
- Formatted Text - no notes
3 comments | | Score: 0
Posted by jalex on Monday, May 02, 2005 (00:00:00) (2542 reads)