<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AWT &#8211; Jitendra Zaa</title>
	<atom:link href="https://www.jitendrazaa.com/blog/tag/awt/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.jitendrazaa.com/blog</link>
	<description>AI, Salesforce, ServiceNow &#38; Enterprise Tech Guides</description>
	<lastBuildDate>Fri, 27 Aug 2010 04:23:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<site xmlns="com-wordpress:feed-additions:1">87744916</site><atom:link rel="search" type="application/opensearchdescription+xml" title="Search Jitendra Zaa" href="https://www.jitendrazaa.com/blog/wp-json/opensearch/1.1/document" />	<item>
		<title>setBackground not working in Swing or AWT</title>
		<link>https://www.jitendrazaa.com/blog/java/setbackground-not-working-in-swing-or-awt/</link>
					<comments>https://www.jitendrazaa.com/blog/java/setbackground-not-working-in-swing-or-awt/#respond</comments>
		
		<dc:creator><![CDATA[Jitendra]]></dc:creator>
		<pubDate>Fri, 27 Aug 2010 04:23:49 +0000</pubDate>
				<category><![CDATA[JAVA]]></category>
		<category><![CDATA[AWT]]></category>
		<category><![CDATA[Swing]]></category>
		<guid isPermaLink="false">http://JitendraZaa.com/blog/?p=904</guid>

					<description><![CDATA[setBackground() not working for the JLabel control in JAVA]]></description>
										<content:encoded><![CDATA[<p>I tried to change the background color of the JLabel control.</p>
<p>I tried lots of time, gone through JAVA documentation but it doesn&#8217;t helped much. After digging i found that few controls in JAVA have transparent background color and therefore <strong>controls having transparent background does not work for the setBackground() property.</strong></p>
<p>To set the background color of such controls, we need to explicitly set the Opaque to true.</p>
<blockquote>
<div id="_mcePaste">JLabel lblMousePointer.setBackground(Color.white);</div>
<div id="_mcePaste">lblMousePointer.setOpaque(true);</div>
</blockquote>
]]></content:encoded>
					
					<wfw:commentRss>https://www.jitendrazaa.com/blog/java/setbackground-not-working-in-swing-or-awt/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">904</post-id>	</item>
		<item>
		<title>setBounds method not working</title>
		<link>https://www.jitendrazaa.com/blog/java/setbounds-method-not-working/</link>
					<comments>https://www.jitendrazaa.com/blog/java/setbounds-method-not-working/#respond</comments>
		
		<dc:creator><![CDATA[Jitendra]]></dc:creator>
		<pubDate>Fri, 27 Aug 2010 04:01:16 +0000</pubDate>
				<category><![CDATA[JAVA]]></category>
		<category><![CDATA[AWT]]></category>
		<category><![CDATA[Swing]]></category>
		<guid isPermaLink="false">http://JitendraZaa.com/blog/?p=901</guid>

					<description><![CDATA[SetBounds method of Swing and AWT controls are not working]]></description>
										<content:encoded><![CDATA[<p>While working on Swings and AWT, i used the setBounds(int x,int y,int width,int height) method of control as per API documentation.<br />
However soon i realized that this method is not working as per expected.<br />
After few try i found that setBounds() method only works if <strong>the Layout of container of control is null.</strong></p>
<p>The layout of the container can be set null like below code:</p>
<blockquote><p>frame.getContentPane().setLayout(null);</p></blockquote>
]]></content:encoded>
					
					<wfw:commentRss>https://www.jitendrazaa.com/blog/java/setbounds-method-not-working/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">901</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: www.jitendrazaa.com @ 2026-07-03 05:37:21 by W3 Total Cache
-->