Library code snippets tagged with java
-
Debugging client JavaScript in VS 2005
by Ziemowit
Short guide how to debug client JavaScript in VS 2005.
-
Calculate the difference between two dates, ignoring weekends
by joki
This code allows calculating with dates as if there were no weekends. To achieve this, days are numbered from Monday, 29 December 1969 without any intervening weekends (that is, five days per week). One purpose is to calculate the number of working days in a month, ignoring further public and bank holidays.
-
Add a JavaScript popup to an ASP.NET button
by Edward Tanguay
How to add a javascript popup (alert) question to an ASP.NET button control.
-
Little Web Browser
by Michael H
A little web browser made from a JEditorPane and a JTextField and few JButtons. The code for the HyperlinkListener is straight from the api spec.
-
Compiling and executing Java Code in Visual Basic
by Obaid
If you are familiar with Java programming then you would probably know that one has to code in some text editor and then use Command Prompt to compile and run them by using the same old commands. Now that is indeed very annoying and of course there are many editor which allow you to compile and show the output of your code right there and then. Here I am going to show you how you can do this in Visual Basic. The program will ask for JDK Path and the Path of your code.
-
Building a MultiDimensional Array in Javascript
by David Nishimoto
Building a MultiDimensional Array in Javascript
-
Combining Javascript and DOM
by David Nishimoto
David Nishimoto demonstrates accessing the Document Object Model available in IE 5 from your javascript code
-
Installing and Using Java Look and Feels
by Michael H
Instructions for how to install and use java look and feels that you downloaded off the internet
-
A simple way to read an XML file in Java
by Kiran Pai
This is the simplest way to read data from an XML file into a Java program. I have also included some basic error checking, so you can directly cut-paste this code with a few changes ofcourse.
-
Counting down with JavaScript
by Kiran Pai
How to display a countdown using different images and Javascript
-
Sending email using SMTP and Java
by Kevin Saitta
How to send an email using an SMTP server and Java