<?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 Color Section from a given set of Color.	</title>
	<atom:link href="https://studentprojects.in/software-development/java/java-programs/applet/java-program-to-implement-a-color-section-from-a-given-set-of-color/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in/software-development/java/java-programs/applet/java-program-to-implement-a-color-section-from-a-given-set-of-color/</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Tue, 01 Sep 2015 14:40:01 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>
	<item>
		<title>
		By: JITHIN MOHAN		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/applet/java-program-to-implement-a-color-section-from-a-given-set-of-color/comment-page-1/#comment-127945</link>

		<dc:creator><![CDATA[JITHIN MOHAN]]></dc:creator>
		<pubDate>Tue, 01 Sep 2015 14:40:01 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1153#comment-127945</guid>

					<description><![CDATA[check the spelling it should be itemStateChanged(ItemEvent ie)]]></description>
			<content:encoded><![CDATA[<p>check the spelling it should be itemStateChanged(ItemEvent ie)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: JITHIN MOHAN		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/applet/java-program-to-implement-a-color-section-from-a-given-set-of-color/comment-page-1/#comment-127944</link>

		<dc:creator><![CDATA[JITHIN MOHAN]]></dc:creator>
		<pubDate>Tue, 01 Sep 2015 14:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1153#comment-127944</guid>

					<description><![CDATA[Lot of errors in the program i solved all and here is the corrected code..thanks for your code
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
 /*


*/
public class fillcolor extends Applet implements ItemListener
{
	Checkbox red,yellow,black,blue,orange;
	CheckboxGroup cbg;
	String msg;
	String s1=&quot;red&quot;;
	String s2=&quot;yellow&quot;;
	String s3=&quot;black&quot;;
	String s4=&quot;orange&quot;;
	public void init()
	{
		cbg = new CheckboxGroup();
		red = new Checkbox(&quot;red&quot;,cbg,true);
		yellow= new Checkbox(&quot;yellow&quot;,cbg,false);
		black = new Checkbox(&quot;black&quot;,cbg,false);
		blue = new Checkbox(&quot;blue&quot;,cbg,false);
		orange = new Checkbox(&quot;orange&quot;,cbg,false);
		add(red);
		add(yellow);
		add(black);
		add(blue);
		add(orange);
		red.addItemListener(this);
		yellow.addItemListener(this);
		black.addItemListener(this);
		blue.addItemListener(this);
		orange.addItemListener(this);
	}
	public void itemStateChanged(ItemEvent ie)
	{
		repaint();
	}
	public void paint (Graphics g)
	{
		msg = cbg.getSelectedCheckbox().getLabel();
		if(msg.compareTo(s1)==0)
		{	
		    setBackground(Color.red);
		}
		else if (msg.compareTo(s2)==0)
		{
		    setBackground(Color.yellow);
		}
		else if(msg.compareTo(s3)==0)
		{
		    setBackground(Color.black);
		}
		else if (msg.compareTo(s4)==0)
		{
		    setBackground(Color.blue);
		}
		else
		{
		    setBackground(Color.orange);
		}
	}
}]]></description>
			<content:encoded><![CDATA[<p>Lot of errors in the program i solved all and here is the corrected code..thanks for your code<br />
import java.awt.*;<br />
import java.awt.event.*;<br />
import java.applet.*;<br />
 /*</p>
<p>*/<br />
public class fillcolor extends Applet implements ItemListener<br />
{<br />
	Checkbox red,yellow,black,blue,orange;<br />
	CheckboxGroup cbg;<br />
	String msg;<br />
	String s1=&#8221;red&#8221;;<br />
	String s2=&#8221;yellow&#8221;;<br />
	String s3=&#8221;black&#8221;;<br />
	String s4=&#8221;orange&#8221;;<br />
	public void init()<br />
	{<br />
		cbg = new CheckboxGroup();<br />
		red = new Checkbox(&#8220;red&#8221;,cbg,true);<br />
		yellow= new Checkbox(&#8220;yellow&#8221;,cbg,false);<br />
		black = new Checkbox(&#8220;black&#8221;,cbg,false);<br />
		blue = new Checkbox(&#8220;blue&#8221;,cbg,false);<br />
		orange = new Checkbox(&#8220;orange&#8221;,cbg,false);<br />
		add(red);<br />
		add(yellow);<br />
		add(black);<br />
		add(blue);<br />
		add(orange);<br />
		red.addItemListener(this);<br />
		yellow.addItemListener(this);<br />
		black.addItemListener(this);<br />
		blue.addItemListener(this);<br />
		orange.addItemListener(this);<br />
	}<br />
	public void itemStateChanged(ItemEvent ie)<br />
	{<br />
		repaint();<br />
	}<br />
	public void paint (Graphics g)<br />
	{<br />
		msg = cbg.getSelectedCheckbox().getLabel();<br />
		if(msg.compareTo(s1)==0)<br />
		{<br />
		    setBackground(Color.red);<br />
		}<br />
		else if (msg.compareTo(s2)==0)<br />
		{<br />
		    setBackground(Color.yellow);<br />
		}<br />
		else if(msg.compareTo(s3)==0)<br />
		{<br />
		    setBackground(Color.black);<br />
		}<br />
		else if (msg.compareTo(s4)==0)<br />
		{<br />
		    setBackground(Color.blue);<br />
		}<br />
		else<br />
		{<br />
		    setBackground(Color.orange);<br />
		}<br />
	}<br />
}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: debasish roy		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/applet/java-program-to-implement-a-color-section-from-a-given-set-of-color/comment-page-1/#comment-109151</link>

		<dc:creator><![CDATA[debasish roy]]></dc:creator>
		<pubDate>Sat, 06 Jun 2015 18:40:18 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1153#comment-109151</guid>

					<description><![CDATA[contains lots of errors :  i have solve it a bit bt a problm still there . 

import java.applet.Applet;
import java.awt.Checkbox;
import java.awt.CheckboxGroup;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;


public class FillTheWindow extends Applet implements ItemListener{
	
	
	Checkbox red,yellow,black,blue,orange;
	CheckboxGroup cbg;
	String msg;
	String s1=&quot;red&quot;;
	String s2=&quot;yellow&quot;;
	String s3=&quot;black&quot;;
	String s4=&quot;orange&quot;;
	public void init()
	{
		cbg = new CheckboxGroup();
		red = new Checkbox(&quot;red&quot;,cbg,true);
		yellow= new Checkbox(&quot;yellow&quot;,cbg,false);
		black = new Checkbox(&quot;black&quot;,cbg,false);
		blue = new Checkbox(&quot;blue&quot;,cbg,false);
		orange = new Checkbox(&quot;orange&quot;,cbg,false);
		add(red);
		add(yellow);
		add(black);
		add(blue);
		add(orange);
		red.addItemListener(this);
		yellow.addItemListener(this);
		black.addItemListener(this);
		blue.addItemListener(this);
		orange.addItemListener(this);
	}
	public void itemStartechanged(ItemEvent ie)
	{
		repaint();
	}
	public void paint (Graphics g)
	{
		msg = cbg.getSelectedCheckbox().getLabel();
		if(msg.compareTo(s1)==0)
		{	
		    setBackground(Color.red);
		}
		else if (msg.compareTo(s2)==0)
		{
		    setBackground(Color.yellow);
		}
		else if(msg.compareTo(s3)==0)
		{
		    setBackground(Color.black);
		}
		else if (msg.compareTo(s4)==0)
		{
		    setBackground(Color.blue);
		}
		else
		{
		    setBackground(Color.orange);
		}
	}
	

}]]></description>
			<content:encoded><![CDATA[<p>contains lots of errors :  i have solve it a bit bt a problm still there . </p>
<p>import java.applet.Applet;<br />
import java.awt.Checkbox;<br />
import java.awt.CheckboxGroup;<br />
import java.awt.Color;<br />
import java.awt.Graphics;<br />
import java.awt.event.ItemEvent;<br />
import java.awt.event.ItemListener;</p>
<p>public class FillTheWindow extends Applet implements ItemListener{</p>
<p>	Checkbox red,yellow,black,blue,orange;<br />
	CheckboxGroup cbg;<br />
	String msg;<br />
	String s1=&#8221;red&#8221;;<br />
	String s2=&#8221;yellow&#8221;;<br />
	String s3=&#8221;black&#8221;;<br />
	String s4=&#8221;orange&#8221;;<br />
	public void init()<br />
	{<br />
		cbg = new CheckboxGroup();<br />
		red = new Checkbox(&#8220;red&#8221;,cbg,true);<br />
		yellow= new Checkbox(&#8220;yellow&#8221;,cbg,false);<br />
		black = new Checkbox(&#8220;black&#8221;,cbg,false);<br />
		blue = new Checkbox(&#8220;blue&#8221;,cbg,false);<br />
		orange = new Checkbox(&#8220;orange&#8221;,cbg,false);<br />
		add(red);<br />
		add(yellow);<br />
		add(black);<br />
		add(blue);<br />
		add(orange);<br />
		red.addItemListener(this);<br />
		yellow.addItemListener(this);<br />
		black.addItemListener(this);<br />
		blue.addItemListener(this);<br />
		orange.addItemListener(this);<br />
	}<br />
	public void itemStartechanged(ItemEvent ie)<br />
	{<br />
		repaint();<br />
	}<br />
	public void paint (Graphics g)<br />
	{<br />
		msg = cbg.getSelectedCheckbox().getLabel();<br />
		if(msg.compareTo(s1)==0)<br />
		{<br />
		    setBackground(Color.red);<br />
		}<br />
		else if (msg.compareTo(s2)==0)<br />
		{<br />
		    setBackground(Color.yellow);<br />
		}<br />
		else if(msg.compareTo(s3)==0)<br />
		{<br />
		    setBackground(Color.black);<br />
		}<br />
		else if (msg.compareTo(s4)==0)<br />
		{<br />
		    setBackground(Color.blue);<br />
		}<br />
		else<br />
		{<br />
		    setBackground(Color.orange);<br />
		}<br />
	}</p>
<p>}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: shweta		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/applet/java-program-to-implement-a-color-section-from-a-given-set-of-color/comment-page-1/#comment-1727</link>

		<dc:creator><![CDATA[shweta]]></dc:creator>
		<pubDate>Sun, 02 May 2010 16:15:15 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1153#comment-1727</guid>

					<description><![CDATA[plzz upload d code to implement spell checker using dictionary...]]></description>
			<content:encoded><![CDATA[<p>plzz upload d code to implement spell checker using dictionary&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: shweta		</title>
		<link>https://studentprojects.in/software-development/java/java-programs/applet/java-program-to-implement-a-color-section-from-a-given-set-of-color/comment-page-1/#comment-1726</link>

		<dc:creator><![CDATA[shweta]]></dc:creator>
		<pubDate>Sun, 02 May 2010 16:13:24 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1153#comment-1726</guid>

					<description><![CDATA[thanx really wid these simple programs which r too easy to grasp...]]></description>
			<content:encoded><![CDATA[<p>thanx really wid these simple programs which r too easy to grasp&#8230;</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
