<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Java program to implement a shape selector from a given set of shapes	</title>
	<atom:link href="https://studentprojects.in/software-development/java/java-programs/applet/java-program-to-implement-a-shape-selector-from-a-given-set-of-shapes/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in/software-development/java/java-programs/applet/java-program-to-implement-a-shape-selector-from-a-given-set-of-shapes/</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Thu, 25 Apr 2013 10:08:34 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>
	<item>
		<title>
		By: jeril		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/applet/java-program-to-implement-a-shape-selector-from-a-given-set-of-shapes/comment-page-1/#comment-9726</link>

		<dc:creator><![CDATA[jeril]]></dc:creator>
		<pubDate>Thu, 25 Apr 2013 10:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1155#comment-9726</guid>

					<description><![CDATA[Thankx Machu...Don&#039;t repeat it again........]]></description>
			<content:encoded><![CDATA[<p>Thankx Machu&#8230;Don&#8217;t repeat it again&#8230;&#8230;..</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Lohith S		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/applet/java-program-to-implement-a-shape-selector-from-a-given-set-of-shapes/comment-page-1/#comment-9359</link>

		<dc:creator><![CDATA[Lohith S]]></dc:creator>
		<pubDate>Sat, 29 Dec 2012 10:12:45 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1155#comment-9359</guid>

					<description><![CDATA[import java.awt.*;
import java.awt.event.*;
import java.applet.*;
 
public class shape extends Applet implements itemListener
{
	Chekbox rect,circle,line;
	ChekboxGroup cbg;
 
	String msg;
	String s1=&quot;rect&quot;;
	String s2=&quot;circle&quot;;
	string s3=&quot;line&quot;;
	public void init()
	{
		cbg=new checkboxGroup();
 
		rect = new checkbox(&quot;rect&quot;,cbg,true);
		circle = new Checkbox(&quot;circle&quot;,cbg,false);
		line = new Checkbox(&quot;line&quot;,cbg,false);
 
		add(rect);
		add(circle);
		add(line);
 
		rect.addItemListener(this);
		circle.addItemLisener(this);
		line.addItemListener(this);	
	}
	public void item StateChanged(ItemEvent ie)
	{
		repaint();
	}
	public void paint(Graphics g)
	{
		msg=cbg.getSelctedCheckbox().getLabel();
		if(msg.compareTo(s1)==0)
		{
			g.drawRect(10,40,40,80);
		}
		else if(msg.compareTo(s2)==0)
		{
			g.drawOvel(10,40,80,80);
		}
		else
		{
			g.drawLine(0,0,100,100);
		}
	}
}]]></description>
			<content:encoded><![CDATA[<p>import java.awt.*;<br />
import java.awt.event.*;<br />
import java.applet.*;</p>
<p>public class shape extends Applet implements itemListener<br />
{<br />
	Chekbox rect,circle,line;<br />
	ChekboxGroup cbg;</p>
<p>	String msg;<br />
	String s1=&#8221;rect&#8221;;<br />
	String s2=&#8221;circle&#8221;;<br />
	string s3=&#8221;line&#8221;;<br />
	public void init()<br />
	{<br />
		cbg=new checkboxGroup();</p>
<p>		rect = new checkbox(&#8220;rect&#8221;,cbg,true);<br />
		circle = new Checkbox(&#8220;circle&#8221;,cbg,false);<br />
		line = new Checkbox(&#8220;line&#8221;,cbg,false);</p>
<p>		add(rect);<br />
		add(circle);<br />
		add(line);</p>
<p>		rect.addItemListener(this);<br />
		circle.addItemLisener(this);<br />
		line.addItemListener(this);<br />
	}<br />
	public void item StateChanged(ItemEvent ie)<br />
	{<br />
		repaint();<br />
	}<br />
	public void paint(Graphics g)<br />
	{<br />
		msg=cbg.getSelctedCheckbox().getLabel();<br />
		if(msg.compareTo(s1)==0)<br />
		{<br />
			g.drawRect(10,40,40,80);<br />
		}<br />
		else if(msg.compareTo(s2)==0)<br />
		{<br />
			g.drawOvel(10,40,80,80);<br />
		}<br />
		else<br />
		{<br />
			g.drawLine(0,0,100,100);<br />
		}<br />
	}<br />
}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Lohith S		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/applet/java-program-to-implement-a-shape-selector-from-a-given-set-of-shapes/comment-page-1/#comment-9358</link>

		<dc:creator><![CDATA[Lohith S]]></dc:creator>
		<pubDate>Sat, 29 Dec 2012 10:12:05 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1155#comment-9358</guid>

					<description><![CDATA[It is throwing error please correct it]]></description>
			<content:encoded><![CDATA[<p>It is throwing error please correct it</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
