<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>JavaReference.com Examples</title>
<link>http://www.javareference.com</link>
<description>Examples from JavaReference.com</description>
<copyright>Copyright(c) 2002-2005 JavaReference.com</copyright>
<language>en</language>
<docs>http://backend.userland.com/rss</docs>
<lastBuildDate>Fri, 9 Mar 2007 13:25:06 PST</lastBuildDate>
<item>
<title>Drawing multi-line text one Java Component</title>
<description>This code is an extract from the JDCTechTips, it shows how to draw multi-line text on Java Component.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=137</link>
<pubDate>Wed, 7 Mar 2007 00:00:00 PST</pubDate></item>
<item>
<title>Creating a Web Page Source Viewer</title>
<description>This example creates a Web Page Source Viewer, which takes a URL and shows its source code in a viewer.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=136</link>
<pubDate>Fri, 2 Mar 2007 00:00:00 PST</pubDate></item>
<item>
<title>Creating a Titleless and Borderless JFrame</title>
<description>This code shows how to create a JFrame without its Title bar.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=135</link>
<pubDate>Fri, 2 Mar 2007 00:00:00 PST</pubDate></item>
<item>
<title>Exploring a given directory</title>
<description>This example shows how to explore a given directory and list down all the files and sub-directories.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=134</link>
<pubDate>Thu, 1 Mar 2007 00:00:00 PST</pubDate></item>
<item>
<title>Creating and starting a Thread</title>
<description>This code shows the two ways of creating and starting a Thread.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=133</link>
<pubDate>Mon, 26 Feb 2007 00:00:00 PST</pubDate></item>
<item>
<title>Reading from a URLConnection</title>
<description>This code shows how to use a URLConnection object to read from a URL</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=132</link>
<pubDate>Sun, 25 Feb 2007 00:00:00 PST</pubDate></item>
<item>
<title>Performing Auto-Login by using cookies in the Servlet</title>
<description>This code shows how to set cookies in the servlet to perform auto-login.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=131</link>
<pubDate>Sun, 25 Feb 2007 00:00:00 PST</pubDate></item>
<item>
<title>Creating connection to the MySQL database</title>
<description>This code creates a connection to the MySQL database using the MM JDBC driver for MySQL.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=130</link>
<pubDate>Sat, 24 Feb 2007 00:00:00 PST</pubDate></item>
<item>
<title>Using regular expressions to match phone numbers</title>
<description>This code shows how to use regular expressions to match phone numbers.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=129</link>
<pubDate>Fri, 23 Feb 2007 00:00:00 PST</pubDate></item>
<item>
<title>Creating borderless button in Swing</title>
<description>This code creates borderless button in Swing</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=128</link>
<pubDate>Fri, 23 Feb 2007 00:00:00 PST</pubDate></item>
<item>
<title>Java MP3 Player</title>
<description>In this example Nagaraj shows how to create a MP3 player in Java using JMF.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=126</link>
<pubDate>Mon, 5 Feb 2007 00:00:00 PST</pubDate></item>
<item>
<title>How to compensate loosely couple XA transaction</title>
<description>This example demonstrates new JCA adapter released in TXConnect.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=127</link>
<pubDate>Mon, 5 Feb 2007 00:00:00 PST</pubDate></item>
<item>
<title>Rendering an image in a JTable collumn</title>
<description>The example shows how to display an image in a JTable collumn. It shows the different components of a table, the model, a renderer and the table creation.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=125</link>
<pubDate>Thu, 28 Sep 2006 00:00:00 PDT</pubDate></item>
<item>
<title>Loading text from a file</title>
<description>The example demonstrates how to load a file into memory using the FileReader and BufferedReader classes.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=124</link>
<pubDate>Thu, 28 Sep 2006 00:00:00 PDT</pubDate></item>
<item>
<title>Marshalling using Castor</title>
<description>In this third example on castor Rajeev Kashyap shows how to generate XML representation of an object.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=123</link>
<pubDate>Thu, 22 Jun 2006 00:00:00 PDT</pubDate></item>
<item>
<title>Parsing the XML File using Java Object created by Castor</title>
<description>In this second example Rajeev Kashyap explains, how to parse the XML File using Java Object created by Castor.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=122</link>
<pubDate>Tue, 20 Jun 2006 00:00:00 PDT</pubDate></item>
<item>
<title>Unmarshalling using Castor</title>
<description>In this example Rajeev Kashyap explains, how to perform Unmarshalling using Castor</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=121</link>
<pubDate>Mon, 19 Jun 2006 00:00:00 PDT</pubDate></item>
<item>
<title>Round Off a String to 2 Decimal Places(Both Positive and Negative)</title>
<description>In this example Hari Krishnakumar shows how a String representation of a decimal number can be rounded to two Decimal Places.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=120</link>
<pubDate>Mon, 5 Jun 2006 00:00:00 PDT</pubDate></item>
<item>
<title>Setting text drag in a JTextArea</title>
<description>This simple example shows how to enable dragging of text in a text component.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=119</link>
<pubDate>Mon, 3 Apr 2006 00:00:00 PDT</pubDate></item>
<item>
<title>Serialization</title>
<description>Serialization is nothing but converting a java object into its persistent state.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=118</link>
<pubDate>Wed, 29 Mar 2006 00:00:00 PST</pubDate></item>
<item>
<title>Generating RSS (XML) from a JSP Page</title>
<description>This example shows how to use a JSP page to generate RSS feed. This is demonstrated by creating JavaReference.com Examples RSS.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=117</link>
<pubDate>Wed, 15 Mar 2006 00:00:00 PST</pubDate></item>
<item>
<title>Extending multiple classes</title>
<description>In this example Subhadip Niyogi shows a simple trick to simulate multiple inheritance in java.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=116</link>
<pubDate>Wed, 1 Mar 2006 00:00:00 PST</pubDate></item>
<item>
<title>Understand references (Soft, weak and phantom) in Java</title>
<description>This example shows you how to use references (Soft, weak and phantom) in java. It clearly indicates the cleaning up of unreferenced, softly referenced, weakly referenced and phantomly referenced objects by the garbage collector.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=115</link>
<pubDate>Tue, 21 Feb 2006 00:00:00 PST</pubDate></item>
<item>
<title>Using Observer pattern with two observers observing a changing integer</title>
<description>This example shows how to use Observer pattern with two observers observing a changing integer, one printing out the integer as it is and the other squaring it.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=114</link>
<pubDate>Mon, 20 Feb 2006 00:00:00 PST</pubDate></item>
<item>
<title>Play with access modifiers at runtime</title>
<description>Java provides a way to change the access modifiers of variables at runtime. 
Thought that you cannot access private variables of a class? Using reflection, you can!</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=113</link>
<pubDate>Thu, 2 Feb 2006 00:00:00 PST</pubDate></item>
<item>
<title>Implementing simple AJAX interaction in your Web Application using XMLHttpRequest object</title>
<description>This example will give you an idea about how you can implement simple AJAX interaction in your web application. It is demostrated by a live JSP/Servlet.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=111</link>
<pubDate>Mon, 30 Jan 2006 00:00:00 PST</pubDate></item>
<item>
<title>Creating a BufferedImage from an Image object</title>
<description>This example shows how to create a BufferedImage from an Image object. It demonstrates this by creating a SaveAsPNG class which saves an image in a .png format after creating a buffered image of it.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=112</link>
<pubDate>Mon, 30 Jan 2006 00:00:00 PST</pubDate></item>
<item>
<title>Listing all threads in a process</title>
<description>The example demonstrates how to list all the threads in an application. Thread enumeration can be used while dumping debug logs in response to exceptions or for general debugging purposes.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=110</link>
<pubDate>Wed, 25 Jan 2006 00:00:00 PST</pubDate></item>
<item>
<title>Modify the behaviour of the default JToolTip</title>
<description>The following example demonstrates how a component can be overridden to change the behaviour of the associated tooltip.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=109</link>
<pubDate>Wed, 25 Jan 2006 00:00:00 PST</pubDate></item>
<item>
<title>Making a zip file of directory including its subdirectories recursively</title>
<description>This example shows how to create a zip file of a directory and its subdirectories recursively.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=108</link>
<pubDate>Tue, 24 Jan 2006 00:00:00 PST</pubDate></item>
<item>
<title>Using the Random class to create a simple guess game</title>
<description>This example shows how to use java.util.Random class to create a simple Guess Game. The game is demonstrated by an applet.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=107</link>
<pubDate>Sat, 7 Jan 2006 00:00:00 PST</pubDate></item>
<item>
<title>Creating image of a JTable</title>
<description>This example shows how to create an image of a JTable component.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=106</link>
<pubDate>Thu, 5 Jan 2006 00:00:00 PST</pubDate></item>
<item>
<title>Create a composite image by placing one image over other</title>
<description>The example demonstrates how to generate a composite image (a combination of 2 images placed one over the other). This concept is very useful in denoting different states of the same object in GUI.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=105</link>
<pubDate>Thu, 15 Dec 2005 00:00:00 PST</pubDate></item>
<item>
<title>Creating a socket connection with a timeout</title>
<description>This example shows how to create a socket connection with a timeout.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=104</link>
<pubDate>Tue, 13 Dec 2005 00:00:00 PST</pubDate></item>
<item>
<title>Struts/Servlets: How to raise a "File Download/Save As" Dialog Box for known mime types</title>
<description>If any struts action or servlet sends a known mime type (example text/xml or image/jpeg etc) to the response stream, the receiving browser will render it. But you might want to immediately prompt the user to save the response to a file directly to the user&#39;s disk, without opening it in the browser.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=103</link>
<pubDate>Mon, 12 Dec 2005 00:00:00 PST</pubDate></item>
<item>
<title>Struts: Handling file upload</title>
<description>This example shows how to write struts form and action which will handle the file upload from the browser. It also shows what should be the contents of JSP to invoke file upload action.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=102</link>
<pubDate>Tue, 6 Dec 2005 00:00:00 PST</pubDate></item>
<item>
<title>Writing a servlet to handle an HTTP post request</title>
<description>This example shows how to write a servlet that handles the post request. It demonstrates this using a HTML form, which posts the data to the servlet after submitting.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=101</link>
<pubDate>Tue, 22 Nov 2005 00:00:00 PST</pubDate></item>
<item>
<title>Writing a simple Servlet to handle an HTTP get request</title>
<description>This example shows how to write a simple HTTP servlet and handle the get request. It also explains how to handle parameters passed to the servlet and dynamically generate the response based on it.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=100</link>
<pubDate>Mon, 21 Nov 2005 00:00:00 PST</pubDate></item>
<item>
<title>Searching node in a JTree</title>
<description>This example is the extension of earlier JTree examples and explains how to search a node in a JTree. It also demonstrates how to search and delete a node.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=99</link>
<pubDate>Mon, 14 Nov 2005 00:00:00 PST</pubDate></item>
<item>
<title>Deleting nodes from JTree</title>
<description>This example explains how to create a JTree to which you can add and delete nodes.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=98</link>
<pubDate>Sat, 12 Nov 2005 00:00:00 PST</pubDate></item>
<item>
<title>Grabbing a page using socket</title>
<description>This example shows how to get a web page from the webserver using socket.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=97</link>
<pubDate>Tue, 1 Nov 2005 00:00:00 PST</pubDate></item>
<item>
<title>Creating and using a TableModel to display data in a JTable</title>
<description>This simple example demonstrates how to use AbstractTableModel to display any arbitrary data in a JTable.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=96</link>
<pubDate>Tue, 1 Nov 2005 00:00:00 PST</pubDate></item>
<item>
<title>Set menu mnemonics on the fly</title>
<description>The example features a class called MenuMnemonicOntheFly which can be used to set the mnemonics of all the items in a menubar at runtime.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=95</link>
<pubDate>Mon, 31 Oct 2005 00:00:00 PST</pubDate></item>
<item>
<title>Formatting an XML file using Transformer</title>
<description>The formatXMLFile example method formats the XML file using Transformer.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=94</link>
<pubDate>Sat, 29 Oct 2005 00:00:00 PDT</pubDate></item>
<item>
<title>A Thin SMTP Client</title>
<description>The example features a class called ThinSMTPClient which can be used as an alternative to including the JavaMail api in your projects.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=93</link>
<pubDate>Fri, 28 Oct 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Extracting an XML formatted string out of a DOM object</title>
<description>Code example to extract the string representation of an XML document.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=91</link>
<pubDate>Fri, 28 Oct 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Rotating image using Java 2D AffineTransform class</title>
<description>This example shows how to create an Image Rotator that rotates images in clockwise and anti-clockwise direction using Java 2D AffineTransform class. This is demonstrated using an applet.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=88</link>
<pubDate>Sun, 11 Sep 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Creating a JTable with rows of variable height</title>
<description>This example shows how to create a JTable with rows of variable height. The example is demonstrated using an applet.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=87</link>
<pubDate>Tue, 30 Aug 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Capturing Screen in an image using Robot class</title>
<description>This example creates a screen capture image of the current screen and displays it in a Window. Since Windows does not have a title and border, after executing the program it gives the effect that the whole screen is freezed.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=86</link>
<pubDate>Sat, 27 Aug 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Positioning a component in the center of other component using GridbagLayout</title>
<description>This example shows how to position a component in the center using GridBagLayout. It demostrates this using an applet.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=85</link>
<pubDate>Thu, 18 Aug 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Creating a Image Zoomer using Graphics2D</title>
<description>This example explains how to use Graphics2D to perform scaling. It demonstrates this by creating a Image Zoomer.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=84</link>
<pubDate>Mon, 1 Aug 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Showing an Image in a ToolTip</title>
<description>This example shows and demonstrates different ways to display an Image in aToolTip.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=83</link>
<pubDate>Sun, 24 Jul 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Getting all fonts available in the System</title>
<description>This example displays all the fonts available in the system using the GraphicsEnvironment class and shows how java renders those.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=82</link>
<pubDate>Tue, 12 Jul 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Calling methods of an Applet from JavaScript code</title>
<description>This example shows you how to communicate with an Applet from a JavaScript code.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=81</link>
<pubDate>Thu, 30 Jun 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Adding editable nodes to JTree</title>
<description>This example explains how to create a JTree to which you can add a node and immediately make it available for editing (Kind of like what Windows Explorer does).</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=80</link>
<pubDate>Thu, 23 Jun 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Displaying contents of a compressed zip file</title>
<description>This example creates a ZipFileViewer, which takes a zip file and displays all its content in a JTable.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=79</link>
<pubDate>Wed, 22 Jun 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Getting list of Local Interfaces on a machine</title>
<description>This example shows you how to get the list of all local interfaces available on a machine with interface name and associated addresses.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=78</link>
<pubDate>Tue, 21 Jun 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Creating a modal progress dialog</title>
<description>Were you ever faced with the problem of having to display a modal progress dialog ?</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=77</link>
<pubDate>Mon, 20 Jun 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Using mediatracker to pre-load images</title>
<description>Have you ever faced a problem such that even after loading your images using Toolkit.getImage(), the picture you loaded is not displayed when you call drawImage()?</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=76</link>
<pubDate>Sun, 19 Jun 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Creating Frames with a background image</title>
<description>This example demonstrates how to create a JFrame with a background image.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=75</link>
<pubDate>Sun, 19 Jun 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Setting the system icon for a JFrame</title>
<description>This example shows how to set the system icon for a java application.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=74</link>
<pubDate>Sun, 19 Jun 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Setting the look and feel for a swing app</title>
<description>The following code snippet shows how you can set a desired look and feel for your java swing applications.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=73</link>
<pubDate>Sun, 19 Jun 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Using BorderFactory class to draw borders on Swing components</title>
<description>This example shows how to draw borders on the Swing components using the BorderFactory class.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=72</link>
<pubDate>Wed, 15 Jun 2005 00:00:00 PDT</pubDate></item>
<item>
<title>Using Swings Timer</title>
<description>This example explains how to use the Swings Timer class in your GUI applications. The example code is demonstrated by using both application and applet.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=71</link>
<pubDate>Sun, 5 Jun 2005 00:00:00 PDT</pubDate></item>
<item>
<title>List out methods in a class using Java Reflection</title>
<description>This example illustrates the use of reflection APIs to list out the methods in a class.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=69</link>
<pubDate>Thu, 10 Feb 2005 00:00:00 PST</pubDate></item>
<item>
<title>Changing ToolTip background color for Swing Applications</title>
<description>This example shows how to change a ToolTip background color for the entire swing application using Look and Feel classes.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=66</link>
<pubDate>Thu, 4 Nov 2004 00:00:00 PST</pubDate></item>
<item>
<title>Calling a .NET Web Service</title>
<description>This example uses SAX to load a remote XML document - the URL provided in essence is a HTTP GET request to a Web service. This example applies XSLT stylesheet on the XML returned by the Web service and saves the transformed HTML into a disk file.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=65</link>
<pubDate>Thu, 11 Sep 2003 00:00:00 PDT</pubDate></item>
<item>
<title>Applying XSLT Stylesheets</title>
<description>This example accepts names of XML and XSLT files as command line parameters, applies the transformation and sends the transformed output to the console.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=64</link>
<pubDate>Wed, 10 Sep 2003 00:00:00 PDT</pubDate></item>
<item>
<title>Creating XML Document using DOM</title>
<description>This example illustrates using DOM to create an XML document from scratch and saving it to a disk file. It converts a comma separated (CSV) file to an XML document.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=63</link>
<pubDate>Tue, 9 Sep 2003 00:00:00 PDT</pubDate></item>
<item>
<title>Evaluate XPath Expressions</title>
<description>This example uses SAXON 6.5.2 along with JAXP to load an XML document using DOM and then evaluate an XPath expression.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=62</link>
<pubDate>Sun, 7 Sep 2003 00:00:00 PDT</pubDate></item>
<item>
<title>Loading an XML Document using DOM</title>
<description>This example illustrates loading an XML document into a DOM tree and checking if the XML document is well-formed.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=61</link>
<pubDate>Sun, 7 Sep 2003 00:00:00 PDT</pubDate></item>
<item>
<title>POSTing data to an HTTP server</title>
<description>This examples explains how to programmatically POST values to an HTTP server.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=48</link>
<pubDate>Tue, 16 Jul 2002 00:00:00 PDT</pubDate></item>
<item>
<title>A multithreaded Socket Server</title>
<description>This example demonstrates the basic infrastructure for a true
multithreaded server application and can be directly enhanced to
perform as any server application.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=47</link>
<pubDate>Fri, 12 Jul 2002 00:00:00 PDT</pubDate></item>
<item>
<title>Creating customized DefaultTreeCellRenderer</title>
<description>This examples shows how to sub class the DefaultTreeCellRenderer and customize the display of JTree by setting node specific icons and tooltips</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=46</link>
<pubDate>Thu, 11 Jul 2002 00:00:00 PDT</pubDate></item>
<item>
<title>Using DefaultTreeCellRenderer</title>
<description>This example shows how to customize the tree display using the DefaultTreeCellRenderer class</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=45</link>
<pubDate>Mon, 8 Jul 2002 00:00:00 PDT</pubDate></item>
<item>
<title>Creating simple JTree using DefaultMutableTreeNode</title>
<description>This example shows how to create a simple JTree in swing using the DefaultMutableTreeNode</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=43</link>
<pubDate>Mon, 1 Jul 2002 00:00:00 PDT</pubDate></item>
<item>
<title>Simple XML parser</title>
<description>A simple XMLParser class that can be used to parse XML in applets and applications that do not want to carry the baggage of an XML parser.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=42</link>
<pubDate>Sat, 29 Jun 2002 00:00:00 PDT</pubDate></item>
<item>
<title>Using JSpinner in JDK 1.4</title>
<description>Example explains how to use the new JSpinner component introduced in JDK1.4</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=13</link>
<pubDate>Sat, 15 Jun 2002 00:00:00 PDT</pubDate></item>
<item>
<title>A connection pool for database access</title>
<description>An example with code for a connection pool class which can be used to manage connections to a database.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=41</link>
<pubDate>Mon, 10 Jun 2002 00:00:00 PDT</pubDate></item>
<item>
<title>Using Glass Pane</title>
<description>Example demonstrating the usage of GlassPane</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=44</link>
<pubDate>Mon, 29 Apr 2002 00:00:00 PDT</pubDate></item>
<item>
<title>Displaying Multi-Line Text on Swing Components</title>
<description>This example shows a easy way to display multi line text on a swing component using HTML rendering</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=14</link>
<pubDate>Mon, 8 Apr 2002 00:00:00 PDT</pubDate></item>
<item>
<title>Creating TextArea with Undo, Redo Capabilities</title>
<description>An example showing how to create a TextArea with Undo and Redo capabilities in Java</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=16</link>
<pubDate>Mon, 18 Mar 2002 00:00:00 PST</pubDate></item>
<item>
<title>The Observer Pattern</title>
<description>This example explains Observer Design pattern</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=24</link>
<pubDate>Mon, 11 Mar 2002 00:00:00 PST</pubDate></item>
<item>
<title>Waiting on an object</title>
<description>This example illustrates the use of the wait() and notify() functions.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=3</link>
<pubDate>Mon, 18 Feb 2002 00:00:00 PST</pubDate></item>
<item>
<title>Registering Shutdown Hooks for Virtual Machine</title>
<description>Example showing use of Shutdown Hooks to handle Virtual Machine shutdown.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=2</link>
<pubDate>Mon, 11 Feb 2002 00:00:00 PST</pubDate></item>
<item>
<title>Using Reflection to browse a java class</title>
<description>This examples explains how to use reflection and get to know the constructors, fields, and methods of a class at runtime</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=11</link>
<pubDate>Mon, 11 Feb 2002 00:00:00 PST</pubDate></item>
<item>
<title>The Singleton Pattern</title>
<description>An example explaining use of Singleton Pattern in Java</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=25</link>
<pubDate>Mon, 4 Feb 2002 00:00:00 PST</pubDate></item>
<item>
<title>Starting In-process RMI Registry</title>
<description>A good tip to reduce the memory requirements by starting the In-process RMI Registry</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=8</link>
<pubDate>Mon, 21 Jan 2002 00:00:00 PST</pubDate></item>
<item>
<title>Explicitly removing RMI binding before the VM exits</title>
<description>This example recommends a good practice of explicitly removing RMI binding before the VM exits</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=7</link>
<pubDate>Mon, 14 Jan 2002 00:00:00 PST</pubDate></item>
<item>
<title>Exporting RMI objects on a specific port</title>
<description>Example explaining different ways to export RMI objects on specific port</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=6</link>
<pubDate>Mon, 7 Jan 2002 00:00:00 PST</pubDate></item>
<item>
<title>Using PopupMenu from AWT</title>
<description>This simple example shows how to create and use PopupMenu in AWT</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=15</link>
<pubDate>Mon, 31 Dec 2001 00:00:00 PST</pubDate></item>
<item>
<title>Using ComponentListener to catch the JFrame Maximization event</title>
<description>This example shows the handling of Maximization event on a JFrame using ComponentListener interface.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=9</link>
<pubDate>Mon, 10 Dec 2001 00:00:00 PST</pubDate></item>
<item>
<title>Handling Action Events on the Component (Using ActionListener)</title>
<description>Simple example explaining use of ActionListener, to handle events on a component</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=12</link>
<pubDate>Mon, 19 Nov 2001 00:00:00 PST</pubDate></item>
<item>
<title>Encoding an image to a JPEG file</title>
<description>This example shows how to encode an image in memory to a JPEG file</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=10</link>
<pubDate>Mon, 12 Nov 2001 00:00:00 PST</pubDate></item>
<item>
<title>Displaying Image in an Applet</title>
<description>An Example showing how to display an image in an applet.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=22</link>
<pubDate>Mon, 22 Oct 2001 00:00:00 PDT</pubDate></item>
<item>
<title>Visiting a Web Site from an Applet</title>
<description>Example show how to use AppletContext and visit a website</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=21</link>
<pubDate>Mon, 15 Oct 2001 00:00:00 PDT</pubDate></item>
<item>
<title>Creating simple JTable using AbstractTableModel</title>
<description>This example shows how to create a simple JTable in swing using the AbstractTableModel</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=17</link>
<pubDate>Mon, 8 Oct 2001 00:00:00 PDT</pubDate></item>
<item>
<title>Sorting User-defined data structures using the Comparator Interface</title>
<description>This example shows how to use a Comparator Interface to sort user-defined data structures.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=1</link>
<pubDate>Mon, 17 Sep 2001 00:00:00 PDT</pubDate></item>
<item>
<title>Appending data to existing file</title>
<description>This example explains how data can be appended to files by using the RandomAccessFile class.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=5</link>
<pubDate>Mon, 10 Sep 2001 00:00:00 PDT</pubDate></item>
<item>
<title>Using CardLayout</title>
<description>This example shows how to use CardLayout.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=28</link>
<pubDate>Mon, 3 Sep 2001 00:00:00 PDT</pubDate></item>
<item>
<title>Using BorderLayout</title>
<description>Example explaining use of BorderLayout</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=27</link>
<pubDate>Mon, 20 Aug 2001 00:00:00 PDT</pubDate></item>
<item>
<title>Using FlowLayout</title>
<description>This examples demonstrates the use of FlowLayout</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=31</link>
<pubDate>Mon, 13 Aug 2001 00:00:00 PDT</pubDate></item>
<item>
<title>Viewing file properties</title>
<description>This example explains how a File object can be used to view details of a File or Directory</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=4</link>
<pubDate>Mon, 23 Jul 2001 00:00:00 PDT</pubDate></item>
<item>
<title>Setting Layout Manager to null (Absolute Positioning)</title>
<description>This example explains how to place components at absolute positions in the GUI. That is demonstrated by positioning a Label in the frame at random locations. The thread generates random x and y values, and the Label is placed at that location in the frame.</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=26</link>
<pubDate>Mon, 16 Jul 2001 00:00:00 PDT</pubDate></item>
<item>
<title>Creating Frames, Dialogs, and Windows</title>
<description>This example demonstrates how to create a Frame, Dialog and Window from AWT and shows differences and similarities between them</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=30</link>
<pubDate>Mon, 9 Jul 2001 00:00:00 PDT</pubDate></item>
<item>
<title>Playing Sound in an Applet</title>
<description>This example demonstrates an applet playing sound files</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=20</link>
<pubDate>Mon, 25 Jun 2001 00:00:00 PDT</pubDate></item>
<item>
<title>Writing and Running a Java Applet</title>
<description>Shows how to write a simple HelloWorld applet in java</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=18</link>
<pubDate>Fri, 15 Jun 2001 00:00:00 PDT</pubDate></item>
<item>
<title>Passing Parameters to Java Applet</title>
<description>An simple example showing how to pass parameters to a Java Applet</description>
<link>http://www.javareference.com/jrexamples/viewexample.jsp?id=19</link>
<pubDate>Fri, 15 Jun 2001 00:00:00 PDT</pubDate></item>
</channel>
</rss>
