Thursday, March 8, 2012

The easy way to print jtable using library "PrintPreview"

Well, i will show you how you can print jTable component with ease. Let's start.
First of all, you need an IDE , so you can ease manage your source code and import the library. i assume, you know how to import class library from IDE netbeans, just google it!!!.... :)

Ok, what does the library do??.... well, it can print your jTable component and preview the layout before you print them, ofcourse... i have add some function like zooming, import to image jpg and png extension capability. Check it out right now... :)

How using the class library for making chatting,send file,capture screen,file managemen, etc application via socket tcp ip

Ok, let us start.....(i assume, you know how to import class library from visual studio, if not there is documentation that i have included, so you can learn from there. You can download the documentation and complete project CLIENT and SERVER here:
We will make advanced program using this class library. Now, our application have 2 project. They are Server and client.

Server have function like this:
  1. listening incoming connection
  2. send message to client (chatting application)
  3. send broadcast messages to clients
  4. kill process at client
  5. retrive list drive,file and folder on the specific client
  6. upload and download file larger than 2 gigabyte (send and receive file to/from client), can send single file or multiple file (if you send folder and in the folder have subfolder and alot file in it, you dont need to create prototype like creating list file recursively... the library will handle it for you)
  7. screen capture from desktop screen client
  8. much more

Tuesday, March 6, 2012

Steganography whitespace using media plaintext

Steganography is the art and science of writing hidden messages in such a way that no one, apart from the sender and intended recipient, suspects the existence of the message, a form of security through obscurity. The word steganography is of Greek origin and means "concealed writing" from the Greek words steganos (στεγανός) meaning "covered or protected", and graphei (γραφή) meaning "writing". The first recorded use of the term was in 1499 by Johannes Trithemius in his Steganographia, a treatise on cryptography and steganography disguised as a book on magic. Generally, messages will appear to be something else: images, articles, shopping lists, or some other covertext and, classically, the hidden message may be in invisible ink between the visible lines of a private letter.

Thursday, May 5, 2011

Tutorial Asynchronous Socket Programming using .NET (For Server)

The following example program creates a server that receives connection requests from clients. The server is built with an asynchronous socket, so execution of the server application is not suspended while it waits for a connection from a client. The application receives a string from the client, displays the string on the console, and then echoes the string back to the client. The string from the client must contain the string "" to signal the end of the message.


Code For VB

Thursday, April 21, 2011

Tutorial Asynchronous Socket Programming using .NET (For Client)

The following example program creates a client that connects to a server. The client is built with an asynchronous socket, so execution of the client application is not suspended while the server returns a response. The application sends a string to the server and then displays the string returned by the server on the console.

Tutorial Synchronous Socket Programming using JAVA (For Server)

When you have setup code for client application, after a connection is established, a server application uses the same kind of Socket object for its side of the communications. However, to accept a connection from a client, it must first create a ServerSocket, bound to the correct port. Let's recreate the previous conversation from the server's point of view:



Tutorial Synchronous Socket Programming using JAVA (For Client)

A client application opens a connection to a server by constructing a Socket that specifies the hostname and port number of the desired server:

try {
Socket sock = new Socket("wupost.wustl.edu", 25);
} catch ( UnknownHostException e ) {
System.out.println("Can't find host.");
} catch ( IOException e ) {
System.out.println("Error connecting to host.");
}