Java
Posted on
September 9th, 2008 0 Comments
A ChatWindow supports two-way chatting between two users over the Internet. The constructor for a ChatWindow requires a connected Socket. Messages are sent and received through this socket. The window has a text-input box where the user can type messages. When the user presses return or clicks a “Send” button, the text in this box is transmitted...
Read More |
Make a Comment
Posted on
September 9th, 2008 0 Comments
Example of a gui with different features.
/*******************************************************
* MYCPLUS Sample Code - http://www.mycplus.com *
* *
* This code is made available as a service to our *
* visitors and is provided strictly for the *
* purpose of illustration....
Read More |
Make a Comment
Posted on
September 9th, 2008 0 Comments
This applet demonstrates various layout managers. The applet itself uses a border layout with a JPanel in the center, a JComboBox menu to the North, and a JLabel
to the south. The center panel uses a CardLayout. Each card in the card layout contains a number of buttons and uses a different layout manager. The JComboBox menu is used to select among these cards....
Read More |
Make a Comment
Posted on
September 9th, 2008 0 Comments
This program is for those who have a fixed limit for downloading/uploading. It creates and saves the statistics of the numerical value passed by the user.
Before use the user needs to create 2 text files every month. One named : stats<monthnumber>.txt and another totalb<monthnumber>.txt
/*******************************************************
* ...
Read More |
Make a Comment
Posted on
September 9th, 2008 3 Comments
This program evaluates postfix expressions entered by the user. The expressions can use non-negative real nubmers and the operators +, -, *, /, and ^ (where ^ represents exponentiation). Numbers must begin with a digit. That is, you have to say 0.7 rather than just .7. The value of an expression might be given as infinity or NaN.
A stack is used to evaluate...
Read More |
Make a Comment
Posted on
September 9th, 2008 0 Comments
SystemErrorOwnsYou—
This is a tool I created to put your freinds or enemies under Denial of service conditions-
Dont worry… this tool will not have any long lasting effect, in-fact once you re-boot you
computer it will be in the exact same state as it was before you ran the application.
All it basically does (if you cant understand the source) is...
Read More |
Make a Comment
Posted on
September 9th, 2008 0 Comments
An object of type MovingBall holds data about a “ball” that has a color, radius, position, speed, and direction. The ball is restricted to moving around inside a rectangle in the xy-plane. The ball can draw itself in a graphics context and will move when it is told to move. This class uses some trigonometry and vector math in its implementation.
/*******************************************************
*...
Read More |
Make a Comment
Posted on
September 9th, 2008 0 Comments
Simulation of console-I/O program BirthdayProblemDemo, using ConsoleApplet as a basis. See the file ConsoleApplet.java for more information.
David Eck
eck@hws.edu
/*******************************************************
* MYCPLUS Sample Code - http://www.mycplus.com *
* *
* This code is made...
Read More |
Make a Comment