ngotek

ngotek

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…

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…

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…

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…

Legacy application transformation

How do you transform legacy COBOL code into Web-enabled Java applications? These tools can help! The push for businesses to compete at Internet speed has only just begun. Unfortunately for many companies, tapping in to the efficiencies of e-business also…

Benefit from platform-independent builds

Automate your build process with jmk or Ant Any large Java project may be developed, deployed, and maintained on multiple OS platforms over its entire lifecycle. A software project typically needs automated build/make scripts to compile, jar, and create the…

C#, the natural progression

With Visual J++ in the dumpster, Microsoft introduces C# to fill the void July 31, 2000 — Microsoft’s new vision of the Internet is a far cry from today’s network of online content. Microsoft views the future Internet as a…