Kategorie General

Java Tip 100: Add a history mechanism to JFileChooser

Java Tip 100:  Add a history mechanism to JFileChooser

Enhance JFileChooser by implementing a directory history and file previewer accessory Good user interface design tries to minimize the needed user input. For example, some Unix system shells and editors provide auto completion for command input. The Windows desktop maintains…

Exceptions in Java: Nothing exceptional about them

Exceptions in Java: Nothing exceptional about them

Exception handling in Java from top to bottom Java projects rarely feature a consistent and thorough exception-handling strategy. Often, developers add the mechanism as an afterthought or an as-you-go addition. Significant reengineering during the coding stage can make this oversight…

News and New Product Briefs (August 18, 2000)

INDEXHEAD: IBM offers Java Virtual Machines for download Developers can now download five Java Virtual Machines (VMs) from IBM for various platforms, including Java VMs for Linux, AIX, and OS The newest version of OS/400 will contain a Java VM,…

Sun tries to boost Java-on-Linux uptake

Java’s steward announces two distribution agreements to expand J2SE on Linux platforms San Jose, Calif. (August 15, 2000) — Sun Microsystems announced at the LinuxWorld Conference & Expo two agreements designed to expand the distribution of J2SE (Java 2 Standard…

Help with the Java Communications API

Use this API to communicate with a serial port Q: I need to append a 1,000-byte StringBuffer to a file. These characters are read by my SerialConnection (main program) class from the serial port. I cannot seem to find a…

Java threads may not use all your CPUs

Java threads may not use all your CPUs

Simple testing reveals a major flaw in Java 1.1.7 on Solaris 2.6 Enterprise-level applications often need more CPU power than a single-CPU machine can provide, but getting applications to effectively use multiple CPUs can be tricky. If you’re lucky, you…

AS/400 leads the league in Java performance

IBM’s AS/400 server rocks the house in two Java benchmarks Some people still view IBM’s AS/400 as merely a character-based legacy platform, but that’s light-years from today’s reality. The AS/400’s glittering appearance at several recent Java benchmark parties was reminiscent…