Background color picker in java| net beans

Posted by admin On January - 7 - 2010

After designing

calculator1 Background color picker in java| net beans

On choice right click and  choose event>Item> Itemstatechanged and now on the code write the code given below.

init index = clrs.getselectedIndex();

if(index==0)

{

this.setBackground(Color,RED);

}

else if (index== 1)

{

this.setBackground(Color.ORANGE);

}

and so on… so try it . Aaap kay kaam nahi aaya to mere kaaam hi aajayega.. kiun kay main copies main likhta nahi hun is liye main ne yeh code yahan likh dia hay.

VN:F [1.9.3_1094]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)
Share with others:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • StumbleUpon
  • Twitter
  • Twitthis
  • Yahoo! Bookmarks
  • Yahoo! Buzz

One Response to “Background color picker in java| net beans”

  1. [...] Background color picker in java| net beans | Urdoogle Tags: adobe, before-the-website, below-init, choice-right, code-given, corel, files, loads-as-opposed, logon-controller, photoshop-compatible, write-the-code UIWebview Background color – iPhone Dev SDK ForumCustomize Windows 7 Logon Screen Background With Login ChangerSLHITS: Image Skill Background Remover v3.0 – Plugin for Photoshopjoeberkovitz.com » Daniel Rinehart at Boston Flex User Group 1/12Top 10 Reasons To Start A LinkedIn Group | Lewis HowesSS Vector Background » Download – Rapidshare – PCAmazing SS – Abstract Dots Background » KWDownloads – Tamil …Grafton Recruitment – Sales Executive – Media Background – Jobs.ie …Chamran Website background – Graphics – GraphicRiver View the Contact Powered by Video [...]

Leave a Reply

Help Pakistan's Flood Victims
Ad-Space Available
Our Sponsor

About Me

I will tell you Later

Twitter

    Photos

    Kis galiKabristanDSC09340DSC09302