BitDaddys Corp.
BitDaddys offers msg file solutions!

Email, Database and IT Solutions


Main Menu
Home

Product Sections
Product Locator
Email Utilities
Database Utilities
Other Products

Reference Sections
Articles
MySQL
Outlook - Import EML
.net Network Security
Flash
Fireworks
PHP
DB/C
Java
Email File Extensions
EML email file extension
MSG email file extension
TNEF email file extension
TXT email file extension
HTML email file extension
Java Script

OISV - Organization of Independant Software Vendors - Charter Member

Recommended Links

Get Firefox



Get Thunderbird  

MySQL

Find good sites at
Find good sites at Gimpsy  

 

Web Master:

Keith Birchfield


Here you can find many examples of how to use java simply and effectively

For JavaScript, please click here.

Please take a look at the below examples to help you get started on that next web project where java can make the difference!.

[ Tutorials ] [ FAQs ] [ Examples ]
[ Variables ]


Tutorials

A demo of how to create a java file on the command line, compile it, and execute it.

In this demo you will see an animation that steps you through the basic steps of creating and running a simple java program that displays a dialog box.

Steps:

  1. Create a java program using a windows command line echo to console redirect
  2. Compile the java program
  3. Execute the java program

Here is the animated java demo:

Animated Java Demo

return to top


FAQs

Q. What is Java?
A. " Java is an object-oriented programming language developed primarily by James Gosling and colleagues at Sun Microsystems. The language, initially called Oak (named after the oak trees outside Gosling's office), was intended to replace C++, although the feature set better resembles that of Objective C. Java should not be confused with JavaScript, which shares only the name and a similar C-like syntax." from: en.wikipedia.org/wiki/Java_(programming_language)

Q. What is a .java file ?
A. A file that ends with the .java extension is probably a java source (code) file. It contains the text version of the program that will be compiled into a run time application or applet. It is the program part.

Q. What is a .class file ?
A. a file that ends with the .class extension is probably a java byte code file. It is the intermediate result of a java source code file compile. It will be interpreted by the java run time machine for the local host's instruction set. It is the executable part.

return to top


Examples


Example of the traditional "Hello World" - GUI Version

This example introduces you to the basics.

import java.applet.*; 
import java.awt.*; 
public class HelloWorld extends Applet 
{ 
  public void paint(Graphics g) 
  { 
    g.drawString("Hello world!", 50, 25); 
  } 
}

 


Example of the traditional "Hello World" - Console Version

This example introduces you to the very basics.

public class HelloWorldApp 
{
public static void main(String[] args) {
System.out.println("Hello World!");
}
}

Example of the Web Page that calls a traditional "Hello World"

This example shows the html necessary to present a Java Applet in a web page.

<HTML>
<HEAD>
<TITLE>A Java Hello World Applet</TITLE>
</HEAD>
<BODY>
Here is Hello World Applet!:
<APPLET CODE="HelloWorld.class" WIDTH=150 HEIGHT=25>
</APPLET>
</BODY>
</HTML>

Example of a way to show a dialog in a java program

This example shows one way to show a pop-up dialog from a Java program.

public class HiDialog 
{
public static void main(String[] args) {
javax.swing.JOptionPane.showMessageDialog(null ,"Hello From a Dialog! " ,"A howdy dialog", javax.swing.JOptionPane.INFORMATION_MESSAGE);
System.exit(0);
}
}

 

 

 

 

 	        
 

@bitdaddys

Highlighted Products
Email Pack

Email Pack
BitDaddys Corp.
$39.95

More Info
Buy Now!

Email conversion and action pack. Get all of our powerful email utilities for one very low price! more ...

O2X
ODBC2XLS
BitDaddys Corp.
$10.00

More Info
Free Trial
Buy Now!
Convert ODBC to Excel XML or CSV! Offers the user a simple, fast and effective method to extract ODBC Table Data from the local ODBC driver into an application, like Excel, more ...

CSV2DG
CSV2DG
BitDaddys Corp.
$10.00

More Info
Free Trial
Buy Now!
Create, Edit, Import and Display CSV ( Comma Separated Values) files in an easy to use Data Grid with the ability to print, launch Excel or even launch a custom application. This application allows for quick edit and display of csv data in a format that allows for easy viewing, sorting and printing. You can also customize the apparent program name, company name, report title and visible options more...

MSGDETACH
MySQL Data Backup Tool
BitDaddys Corp.
FREE

More Info
Free Download

Automatic Daily MySQL Database backups. Powerful Backup Rotations. more ...

outlookFiller64
BitDaddys Corp.
$19.95

More Info
Free Trial
Buy Now!
Import eml and msg Files into 64 bit Outlook more ...

outlookFiller
BitDaddys Corp.
$14.00

More Info
Free Trial
Buy Now!
Import eml and msg Files into Outlook more ...

MSGDETACH
MySql Excel Exporter
BitDaddys Corp.
FREE

More Info
Free Download
Create Excel Spreadsheets from your MySQL data. more ...

EMLDETACH
email Open View Pro
BitDaddys Corp.
$19.95

More Info
Trial Version
Buy Pro Now!
View .msg and .eml Email Files Print email. Extract Attachments. Convert to PDF, BMP, GIF, JPG and more ...

emlBridge
BitDaddys Corp.
$14.00

More Info
Free Trial
Buy Now!
Import eml Files into nearly any Email Client. With emlBridge you can import rfc822 standard text email files into programs like Outlook, Thunderbird and Outlook Express more ...




About Us | Site Map | Privacy | Contact Us |
©2004-2011 BitDaddys Corp.