Sunday, January 24, 2016

Compute Total Price


//Lab Assignment
//****************
//Provide gui to allow user to enter quantity and unitprice for 2 items
//your code is to compute the subtotals, tax, and total
//display all in currency format
//provide a second button to clear
//use second option in dealing with action event

Cylinder - Action Event Option 2


package actionEventOpt2;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;

Java Temperature Converter



//LAB ASSIGNMENT
//New project to allow user to convert temperature from celsius to fahrenheit
//and from fahrenheit to celsius. Provide a way to clear all.

package TempConverter;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

Intro To NetBeans - Action Event



package week1day1;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

Saturday, March 21, 2015

Quering IP Address


using System.Windows.Forms;
using System.Net; //Added
using System.Net.Sockets; //Added

Simple Server and Client Application


Simple Server in Console
using System.Threading.Tasks;
using System.Net;//we add this using system
using System.Net.Sockets;//we add this using system

Friday, March 20, 2015

Using DNS Class

...
using System.Windows.Forms;
using System.Net; //Added
using System.Net.Sockets; //Added