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.

Page 1 of 4 123 ... LastLast
Threads 1 to 50 of 184

Forum: Java Code Snippets and Tutorials

Java code repository to make your life easier!

Sub-Forums Threads / Posts  Last Post

  1. Java Development Kit, Eclipse, Netbeans etc

    Forum Actions:

    Forum Statistics:

    • Threads: 76
    • Posts: 119
  2. Database Manipulation. mySQL, JavaDB, Excel, Access etc

    Forum Actions:

    Forum Statistics:

    • Threads: 59
    • Posts: 76
  3. Building GUIs, ActionListener, Swing Components etc

    Forum Actions:

    Forum Statistics:

    • Threads: 73
    • Posts: 151
  4. Reading and Writing Files, Scanner Class, BufferedReader etc

    Forum Actions:

    Forum Statistics:

    • Threads: 74
    • Posts: 109
  5. Tips and Tricks For Debugging Your Code

    Forum Actions:

    Forum Statistics:

    • Threads: 65
    • Posts: 65
  1. Moved: Java program to format a double value to 2 decimal places

    Started by JavaPF, March 28th, 2009 11:35 AM
    •  
    •  
  2. Moved: How to Add ActionListener to a JButton in Swing?

    Started by JavaPF, March 12th, 2009 08:27 AM
    •  
    •  
  3. Moved: Typecasting of double variable to integer

    Started by JavaPF, April 7th, 2009 04:52 AM
    •  
    •  
  4. Moved: How to Change JTextArea font, font size and color

    Started by Flash, May 22nd, 2008 10:11 AM
    •  
    •  
  5. Moved: Multi-dimension ArrayList example

    Started by helloworld922, July 22nd, 2009 08:45 PM
    •  
    •  
  6. Moved: List of shortcuts key for Eclipse

    Started by Flash, May 15th, 2008 09:14 AM
    •  
    •  
  7. Moved: How to Write a simple XMPP (Jabber) client using the Smack API

    Started by JavaPF, June 9th, 2009 09:10 AM
    •  
    •  
  8. Moved: Beginners Eclipse Tutorial. How to run first java application on Eclipse?

    Started by JavaPF, February 21st, 2009 07:41 AM
    •  
    •  
    •  
    •  
  9. Moved: Java program which can list all files in a given directory

    Started by JavaPF, May 8th, 2008 06:55 AM
    •  
    •  
  10. Moved: Program to print current directory path to the console

    Started by JavaPF, April 16th, 2009 07:05 AM
    •  
    •  
  11. Arrays exercises and tasks

    Started by 1click, August 15th, 2013 02:55 PM
    • Replies: 3
    • Views: 11,236
    October 20th, 2013, 05:29 PM Go to last post
  12. Moved: How to use an ArrayList and what is its advantage over array?

    Started by JavaPF, May 15th, 2009 08:34 AM
    •  
    •  
  13. Moved: Java program to read last line of a file

    Started by JavaPF, May 19th, 2008 07:44 AM
    •  
    •  
  14. Moved: How to Sendkeys to an application in Java using the Robot Class

    Started by JavaPF, June 6th, 2008 10:06 AM
    •  
    •  
  15. Moved: How to Send command line arguments in Eclipse?

    Started by JavaPF, April 23rd, 2009 11:37 AM
    •  
    •  
  16. KeyListeners and KeyEvents

    Started by worsewicked, January 7th, 2012 07:50 PM
    • Replies: 1
    • Views: 9,617
    January 7th, 2012, 08:21 PM Go to last post
  17. Moved: Conversion of string into integer in Java

    Started by JavaPF, August 13th, 2008 09:03 AM
    •  
    •  
  18. Moved: How to Get the current date and time

    Started by JavaPF, May 19th, 2008 07:38 AM
    •  
    •  
  19. OutOfMemoryError Related JVM Arguments

    Started by Ram Lakshmanan, December 27th, 2019 11:47 PM
    • Replies: 1
    • Views: 6,598
    October 23rd, 2021, 07:19 AM Go to last post
  20. My first small project with java

    Started by Night9O, December 23rd, 2019 03:34 PM
    • Replies: 1
    • Views: 6,548
    December 24th, 2019, 06:56 AM Go to last post
  21. Post Making Executable Jar Files.

    Started by Java Programmer, January 7th, 2012 03:33 PM
    • Replies: 4
    • Views: 6,090
    January 19th, 2012, 12:14 AM Go to last post
  22. Moved: JButton with "Enter Key" keyboard action

    Started by chronoz13, January 26th, 2010 10:53 AM
    •  
    •  
  23. Moved: How to Navigate to a URL with Runtime.getRuntime().exec()

    Started by Flash, May 30th, 2008 04:54 AM
    •  
    •  
  24. Moved: How to get your computer name and IP address?

    Started by JavaPF, March 3rd, 2009 08:11 AM
    •  
    •  
  25. Moved: Java program to contol computer mouse using the awt Robot and events

    Started by JavaPF, January 20th, 2009 05:19 AM
    •  
    •  
  26. Moved: How to Connect to an Excel Spreadsheet using JDBC in Java

    Started by JavaPF, April 22nd, 2009 06:59 AM
    •  
    •  
  27. Moved: Java Program to add scroll bars to JTextArea using JScrollPane

    Started by Flash, May 22nd, 2008 09:27 AM
    •  
    •  
  28. Moved: How To: Add line numbers to your JTextArea

    Started by Freaky Chris, September 10th, 2009 01:26 PM
    •  
    •  
  29. Initializing Variables

    Started by Tjstretch, October 29th, 2011 12:37 PM
    • Replies: 0
    • Views: 3,684
    October 29th, 2011, 12:37 PM Go to last post
  30. GrandCentral

    Started by cristian_ny95, June 29th, 2012 02:54 PM
    • Replies: 2
    • Views: 3,663
    July 1st, 2012, 08:31 AM Go to last post
  31. what's wrong with code? Rectangle

    Started by OKJ, November 3rd, 2012 12:28 AM
    • Replies: 2
    • Views: 3,574
    November 9th, 2012, 12:27 AM Go to last post
  32. Help Getting Started With Java (tutorial)

    Started by D.K, October 26th, 2013 05:21 AM
    • Replies: 4
    • Views: 3,542
    October 27th, 2013, 10:56 AM Go to last post
  33. Moved: How to invert a word String

    Started by Truffy, July 21st, 2009 09:57 PM
    •  
    •  
  34. JOptionPane code for testing without the prompts

    Started by Norm, March 12th, 2013 10:18 AM
    • Replies: 0
    • Views: 3,443
    March 12th, 2013, 10:18 AM Go to last post
  35. Lightbulb Making a New Game Help

    Started by AndyLun, December 4th, 2012 03:39 AM
    • Replies: 2
    • Views: 3,398
    December 5th, 2012, 03:25 AM Go to last post
    • Replies: 0
    • Views: 3,350
    March 5th, 2019, 02:03 AM Go to last post
  36. Can anyone provide the program for this?

    Started by Dhruvnpatz, October 3rd, 2013 10:02 AM
    • Replies: 1
    • Views: 3,334
    October 3rd, 2013, 11:52 AM Go to last post
  37. Tutorial for those having problems with logical operators

    Started by Angelus1609, January 30th, 2014 02:10 AM
    logical operators, operators, short-circuit operators
    • Replies: 0
    • Views: 3,319
    January 30th, 2014, 02:10 AM Go to last post
  38. Moved: How to Pass unlimited Arguments to a Function

    Started by neo_2010, July 7th, 2009 03:40 PM
    •  
    •  
  39. Moved: How to read an XML document in Java with DOM Parse?

    Started by JavaPF, May 20th, 2008 07:04 AM
    •  
    •  
  40. Hi All

    Started by phatdogg, August 16th, 2012 07:34 PM
    • Replies: 5
    • Views: 3,250
    August 17th, 2012, 08:20 AM Go to last post
  41. Moved: Visual Swing 4 Eclipse

    Started by helloworld922, January 28th, 2010 04:34 AM
    •  
    •  
  42. The Java Journal (Java Ebook by me)

    Started by Earthly Minds, June 9th, 2013 07:53 PM
    • Replies: 0
    • Views: 3,218
    June 9th, 2013, 07:53 PM Go to last post
  43. OOP tutorials (I made)

    Started by Tokugawa, November 18th, 2018 11:08 PM
    • Replies: 1
    • Views: 3,217
    November 19th, 2018, 10:38 AM Go to last post
  44. Moved: Reading a file line by line using the Scanner class

    Started by JavaPF, April 17th, 2009 07:34 AM
    •  
    •  
  45. Java Advanced Tutorial part 2

    Started by Earthly Minds, June 9th, 2013 07:45 PM
    • Replies: 0
    • Views: 3,124
    June 9th, 2013, 07:45 PM Go to last post
  46. Post Tutorials Java and Spring Boot

    Started by cchelariu, February 16th, 2023 04:38 AM
    #programming #tutorials #java #springboot #blog
    • Replies: 0
    • Views: 3,115
    February 16th, 2023, 04:38 AM Go to last post
  47. Help: Data Structures and Data Types

    Started by TheLawG14, July 18th, 2013 02:51 PM
    • Replies: 2
    • Views: 3,100
    July 19th, 2013, 09:55 AM Go to last post

Page 1 of 4 123 ... LastLast

Thread Display Options

Use this control to limit the display of threads to those newer than the specified time frame.

Allows you to choose the data by which the thread list will be sorted.

Order threads in...

Note: when sorting by date, 'descending order' will show the newest results first.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 15 replies or 150 views
Hot thread with unread posts
More than 15 replies or 150 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •