Rahul Sapkal

This example demonstrates the creation of a multithreaded socket server application. The server is currently a simple Echo Server, which simply accepts what the client says and sends it back. The example demonstrates the basic infrastructure for a true multithreaded server application and can be directly enhanced to perform as any server application.Continue Reading

JComponent supports drawing specialized borders around itself. This can be done using the setBorder(Border border) method. The javax.swing.border package provides classes to create several types of Border. To create these borders it is advisable to always use the javax.swing.BorderFactory class. This is a factory pattern implementation for creating swing borders.Continue Reading