User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 427,638 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,457 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Contribute Code
A program that can send mails. This requires that you have activation.jar and mail.jar in you classpath. (View Snippet)
This class will sort strings in alphabetical order. (View Snippet)
Seriously, what is any programming language without a HelloWorld app? (View Snippet)
The question how to create HTML output to the browser from a Servlet based on XML data often comes up. Here's a fully functional example on how to achieve this using Jakarta Xalan 2 and Xerces 2. The system is quite simple, most of the code is concerned with housekeeping chores rather than the... (View Snippet)
The source of my COPYRIGHTED tictactoe java game. It shows how to use multiple classes, methods, etc. (View Snippet)
Java Code that creates a random number between 1 and 100 and then asks the user to guess the number and tells if the guess was too high, too low or, the right number. Loops until right number is guessed. (View Snippet)
The code simply captures your working window as jpeg image and stores it in the same directory as where your java class after compiling by javac is being stored (View Snippet)
------------------------------------------------------------ Intro: This is a small program that measures the performance of given java classes. In snippet there are 2 classes: 1. TestClass.java contains all java classes that are being measured for performance, I've picked up Narue's Sorting... (View Snippet)
Well any Java programmer knows that a Java Interface only allows declaration of methods. You cannot define the methods inside interfaces. Yet if somebody like me wants you to define a method in interface and wants the program gets compiled and runs successfully, what would you do? Well the answer... (View Snippet)
Contribute Code
All times are GMT -4. The time now is 10:22 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC