Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

View RSS Feed

All Blog Entries

  1. Shutdown Hooks

    Shutdown hooks are threads to be run when the JVM is about to terminate. This can happen if all non-daemon threads have finished execution, System.Exit() has been called, or if the user is logging off/shutting down their OS among other operations.

    So to play around, I decided to write a simple shutdown hook that would print out "goodbye!" when the JVM was shutting down. The main program would spawn a number of threads which each would stay alive for some number of time. ...

    Updated September 21st, 2011 at 01:50 by helloworld922

  2. Java Programming Careers. Our new website!

    We get many members here on the forums posting Java jobs or talking about Java careers.
    Because of this we decided to branch out and create a dedicated Java careers site.

    If you are looking for a career in Java or are looking to change from your current job, please visit Java Programming Careers - Java Developer Jobs, IT Jobs

    If you need career advice, or would like to know more about being a full time Java developer, feel free to contact me or post in the forum ...
  3. Java Native Access and Eclipse Indigo Swing GUI editor

    Normally for native access, I would use JNI to run native code, especially code I've written which interfaces with Java components. However, often you just want to call native functions (particularly system calls).

    Rather than having to go through the whole JNI process (which is rather painstakingly slow), someone has created the JNA library which allows you to basically call native methods directly.

    As far as I understand, there are two main ways to use JNA:
  4. Microsoft Excel and Java

    For those who are looking for a Java library which can read/write to Microsoft's spreadsheet formats (.xls, and the newer .xlsx), I recently stumbled upon a library called the Apache POI Project. It's not particularly a new project, but it is still under active development and maintained. As an added bonus, Apache POI also supports word documents, power point presentations, and other document formats.

    To me, one of the main benefits of Apache POI is the support for Microsoft Office ...

    Updated June 24th, 2011 at 00:40 by helloworld922

  5. The Groovy in Java

    Although scripting languages seem like dime a dozen, there is always that learning curve to become familiar (let alone an expert) with a new language. For those who are more familiar with java - enter groovy. Groovy is a powerful higher level language based upon java, making certain tasks trivial to accomplish relative to the low level java equivalent. The power of groovy comes into play in its ability to plug-into java, and be plugged into from java. Groovy can access class files and libraries, ...

    Updated June 23rd, 2011 at 09:07 by copeg

Page 11 of 14 FirstFirst ... 910111213 ... LastLast