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.


>> REGISTER NOW TO START POSTING


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

View RSS Feed

Uncategorized

Entries with no category

  1. Thread Volatility

    Summary
    This is put at the top for those who don't want to read the entire thing.
    • Threads get more volatile as more are added, up to a point
    • Thread volatility jumps drammatically on my computer between 4 and 8 threads.
    • Calling non-volatile variables is very inaccurate


    Overview
    I recently posted a forum thread that more Java Threads will increase volatility. While I had seen the side-effect volatility and it seemed intuitive enough, I decided that n order ...

    Updated March 13th, 2012 at 03:26 PM by Tjstretch

    Categories
    Uncategorized
  2. Windows 7 Console

    Well I encountered a problem recently that a lot of people were complaining about when I Googled, which is a lot of the time I like to share some basic console programs with only have functional java installed, and on windows 7 the command I used to use to open command prompt [Runnable.getRunnable().exec("exec /k run.bat")] no longer works due to security precautions. So I made a simple class that creates the functional equivalent of console for programs. Possibly the size of the console ...

    Updated June 20th, 2012 at 01:09 PM by Tjstretch (Looked over this code -- Added EDT, println(), handleException)

    Categories
    Uncategorized