Cell color from input ... very  important

how to convert a string (binary) of 8 bit , i have to put every bit into a cell of a table 2rows � 4columns, and color the background red in bit is 1 and blue if bit is 0...any idea, please is very important

U have to convert your String of bits in a array of bits , and then create a procedure in a for cycle that scans the array and read the value of each postion , and then change the backgroundcolor
However I have a problem to create a JTable and set different Backgrounds color for the cells of my JTable can you show me , how can I do ? a little example
it's very important
Thanks

Similar Messages

  • How TO CALL c++ EXECUTABLE FROM XI(VERY iMPORTANT)

    hI ALL
    pLEASE DO GIVE SUGGESTIONS AND DOCCUMENTATION LINKS  THAT <b>HOW TO CALL c++ EXECUTABLE FROM XI</b> .THIS IS VERY IMPORTANT AND YOUR HELP WILL BE REWARDED.
    WITH REGARDS
    SUBRATO KUNDU

    Hi Subrato,
    AFAIK you can call C / C++ methods in Java using Java Native  Interface (JNI).
    Please refer the following links for how to do the same.
    <a href="http://www.nag.com/IndustryArticles/CallingCLibraryRoutinesfromJava.pdf">For C:</a>
    <a href="http://www.javaworld.com/javaworld/javatips/jw-javatip17.html">For C++:</a>
    Regards,
    Ananth

  • Attention, Korean Language Input, very important message from a BB fan

    Dear all, who cares about it !!!
    Recently I bought a Z10 here in Dubai, paid full in cash. Although I am native Korean living and working in Korea, currently working in Dubai as a PM for a certain project, I have used Black Berry for over 8 years now 6th different models so far, started from black and white in mid 2000 while I was working in US.
    Ok, back to Z10, I simply did not imagined that you guys are not supporting Korean language nor Japanese input when I was purchasing. Oh by the way, I am writing this message in order not to criticize, nor give any bad names of Black Berry, like I told you I have been a fan of Black Berry over so~~~~~~~~~~~~many native Korean phones made and especially designed to suit perfectly in Korean mobile environment, you don’t know what’s it like to be a BB fan and user in Korea, very much limited support, assuming that must be the reason why you guys are downsizing or pulling out from the Korea market.
    Yesterday, when I was looking for a contact, I had to scroll up and down for a quite long time as most of my contacts in Google and Outlook are written in Korean, leaving me no other options but to scroll up and down, up and down, until I finally hit the one among over 900 contacts. Try it!! It is not fun especially when your boss is waiting for such a contact. That quiet moment, sweating my hand, when my boss is patiently waiting for it, here I am scrolling up and down, up and down, up and down,,,,,assuming, at least, that he was in a good mood that day, thank God!
    You know, after all, all I need to do is to spend another several hundred dollars and get used to a different OS environment, but once I do, it will take much harder for me to come back to BB unless I have exceptionally good reason to do so.
    I am not asking for awesome WORDS FLY INPUT OPTION for Korean (which I would love to), but let me just simply find my contact by typing in a letter so that I won’t be embarrassed in front of my boss or co-workers. Now, people make fun of my loved BB, because of that simple incident and I don’t like that I think it is absurd.
    Hope you guys are getting the message, I don’t know how much longer I can wait until you come up with some solutions and I completely understand your difficulties, I guess, but let us know. If you guys are not planning to support Korean nor Japanese for a while, I need to buy a new phone today. As it is starting to cause some problems at work.
    Oh by the way, have you accounted how many Korean or Japanses BB fans out there?? 20M? 30M? I don't know what you guys are doing...
    Finally, some of you guys owe some answers for many BB fans out there...
    Sincerely,
    From a long time BB fan, who is about to leave that reputation...

    Korean input language & User interface is available in 10.1 and will be updated in the upcoming version:
    http://ca.blackberry.com/support/smartphones/blackberry-z10/software-updates/release-highlights.html...
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Table cell  very important

    i have a problem to create a table 4x2 whit 8 cells, thats can change color (the single cell) if a condiction are true ...
    someone can help me?
    it's very important 4 me
    thank you

    this is the code, but i haven't resolve my problem , if you can help me whit a simple code to realize table 4x2 and color indipendently every cell, it's very important for me
    while (AsciiVal>0){
    if (AsciiVal%2==0){
    g.setColor(Color.blue);
    }else{
    g.setColor(Color.red);
    g.fillRect((i*size)/n,(j*size)/n,size/n,size/n);

  • I deleted a very important pages file from my iPad and I need it back

    I deleted a very important pages file from my iPad and I need it back pronto! I just updated my iPad without a computer and it had the file there. I need to know how to get back the file very quickly.
    thx in advance

    Thne unfortunately, your document is gone. You can restore lost or deleted documents from backups if you have backups - and as long as the backup contains the document - but if you did not copy the file to your computer - or backup the iPad, the document is gone.
    You really should start backup up your iPad. You can sign up for a free 5GB iCloud account right on the iPad and then you can use iCloud for backing up. You can do it right on the iPad.

  • Please help I just accidentally deleted a very very important note from my "Notes" on my iPhone 4s.  How can I get it back? Is there a "Trash" file somewhere for deleted notes?  Thank you, Susan

    Please help I just accidentally deleted a very very important note from my "Notes" on my iPhone 4s.  How can I get it back?
    Is there a "Trash" file somewhere for deleted notes?
    Thank you,
    Susan

    Had you never backed up the phone before? When you saw the iTunes logo and cable, the device was in recovery mode. The data was already lost. The only way to recover from that is to restore the device, which will delete all of your data. You will only be able to restore to your last backup, whenever that was. Sorry this happened, but this highlights the importance of doing regular backups. The backup is the only protection you have against a problem like this.

  • Unable to import cell data from another sheet in Numbers

    Hi. I have a column of cells that I need to import the values of (copy) from one SHEET to another (not a table within same sheet etc).
    Recently moved to Numbers from buggy GoogleDocs/Drive. Within that i could =importrange and reference the cells in the other sheets tables.
    Failing this, is it possible to allow my customers to view one table within my worksheet, i.e. only have one table viewable and the others not etc?
    Thanks in advance. Si

    Hi Si,
    There are many ways of doing this in Numbers. If you will be sorting your column the function INDEX() could work for you. If you will not be sorting try this:
    Click where you want your first cell to move to. Type "="
    Navigate to your other sheet and click in the first cell you want to move.
    Hit return.
    your value should show in your new sheet.
    Fill your newly made formula down the rest of the column.
    Welcome to Numbers!
    quinn

  • HT204022 Dear sir/madam,  I had accidentally deleted all my images from my iPhone 4s do u send me any solution or my phone back up. please sir its very important for me i have just one hope from you.  Thank you  

    I had accidentally deleted all my images from my iPhone 4s do u send me any solution or my phone back up. please sir its very important for me i have just one hope from you.
    Thank you  

    Use the backup you make to iCloud or a computer.
    iTunes: About iOS backups - http://support.apple.com/kb/HT4946

  • I move my videos from camera roll to a new folder. After i turn off & on my phone, the videos disappears. The videos are very important to me. Please please help. how can i retrieve?

    i move my videos from camera roll to a new folder. after turn off & on again my phone, the videos disappears. the videos are very important to me. Is there any way i can retrieve it? please please help. thanks.

    Photo Stream is not a backup.
    Photo Stream has a limit so is temporary.
    iTunes does not handle the import of photos/videos from any digital camera including from the iPhone's Camera Roll.
    Photos/videos in the Camera Roll can be imported by your computer as with any other digital camera.

  • HT1535 I've lost a very important note on my ipod touch. Most of it should be synched on my computer.  If I synch now, will it delete the note from my computer or restore it on my ipod??  Thanks!

    I've lost a very important note on my ipod touch. Most of it should be synched on my computer.  If I synch now, will it delete the note from my computer or restore it on my ipod??  Thanks

    If you properly erased all data on the iPod it would be exactly how it was the day it was bought. You would be instructed yto set up your iPod and to sign into your Apple ID account etc. If this has happened to you, you have properly erased your iPod.

  • I want download  other apps from web links .but i cant open ? Can u help me how i downelod in my i  its very important for me these apps related from my business . So kindly sugest me

    Dear sir
    am using i6+. Iam facing some problems regarding apps download . I just start using iPhone.
    my problem is when i go for download some apps from web page I can't download only some zip shows on 2nd web page i mean whin i click on download link for som app atumaticaly open another broswing page and zip and app name shows but I can't install that app in my iphone .
    all thes apps very important for my business.
    kindly  sugest me how can i insttal these aaps in my iPhone.these apps not avlable in google play store and itune app store .
    wat can i do ?

    The ONLY apps that can be installed will be found in the iTunes app store.
    You cannot load any other apps at all.

  • I have just deleted a set of very important photos from a shared folder on my iphone 5 not realising that they would also be deleted form my photostream - is there any way I can retrieve them?

    I have just deleted a set of very important photos from a shared folder on my iphone 5 not realising that they would also be deleted from my photostream on all devices - is there any way I can retrieve them?

    No.

  • I deleted an e-mail from my iCloud account from my iPhone and cleared the trash. I accidentally deleted an e-mail from my college containing a string of 3 e-mails which are very important. Is there anyway to retrieve the e-mail from the Apple server?

    I deleted an e-mail from my iCloud account from my iPhone and cleared the trash. I accidentally deleted an e-mail from my college containing a string of 3 e-mails which are very important. Is there anyway to retrieve the e-mail from the Apple server?

    My question is similar:  I deleted email folders in my mail app on iPhone 4 and it deleted the folders on all my other devices--literally THOUSANDS of emails!  I went to iCloud to recover them and can't find them.  HELP PLEASE!

  • My iPhone recently got smashed and I've been receiving some very important messages that I cannot view. Is there a way to log on and see my phones messages from a tablet/computer?

    My iPhone recently got smashed and I've been receiving some very important messages that I cannot view. Is there a way to log on and see my phones messages from a tablet/computer?

    iMessage can be viewed and responded to on another Apple device.  IPad, iPod or Mac computer.
    regular SMS from non iPhone users will not show and you can't send to those phones.
    bummer about the phone....

  • Lost a very important note from the iphone how can i find it ?

    lost a very important note from the iphone how can i find it ?

    Launch JuicePhone. You should see a list of backups. Select the one that's most likely to contain the note you want to recover (again, you should make a copy of the backup in case something goes wrong). Select where you want the extracted files to go and click "Complete". Then go to the folder containing the extracted data and you can find the data file and see if you can extract the data you need.
    If you were using the included Notes application, the file will be notes.db in Home/Library/Notes. You can open the file in Text Edit and try and extract the note text from amongst the code, or you since it's an Sqlite3 database, you can try a database browser that can view Sqlite3 databases.
    Regards.

Maybe you are looking for