When you post a Java related question and your question has been answered, please mark your Thread as 'Solved'.
This is important to remember as it allows other members to see which threads require attention.
The result of this is your questions will be answered more quickly and it will also help you to identify threads of a similar nature that have already been solved.
Marking a thread as solved is quick and easy.
Once you are happy that your question has been answered:
Go to your post and click 'Thread Tools' at the top.
http://www.javaprogrammingforums.com/images/solved1.jpg
You will then see the option to 'Mark this thread as solved'
http://www.javaprogrammingforums.com/images/solved2.jpg
Click this and [SOLVED] will be added to your Thread title.
http://www.javaprogrammingforums.com/images/solved3.jpg
Note: You may not be able to mark your thread as solved until atleast one member has replied.
You can also follow these instructions to un-solve your thread.
Please always follow this rule as it will improve the overall user experience of these Forums.