The Border Of A JInternalFrame.. can anyone help me solve the bug?

Hi all,
I have many internal frames in my desktoppane and i want to set the border to color.blue of one of them at a time. I want to test if it is blue, if yes, then set the internal frame back to its original border, if it is not blue, then set to blue.. but there seems to be some error to do with metal borders..?? i am extremely confused.. can anyone help me.. sorry, but i am new to java
so i did..
in one of my classes...
JInternalFrame intFrame = new JInternalFrame;
inframe.setBorder(BorderFactory.createLineBorder(Color.blue));
then in main class i did..
public void SelectedInternalFrame(JInternalFrame intFrame)
     this.selectedFrame = intFrame;
     if(this.selectedFrame !=null)
          Color c = ((LineBorder)this.selectedFrame.getBorder ()).getLineColor();
          if (c == Color.blue)
               ///set back to the original border.. i dont know how to get it               
thank u i advance
          this.selectedFrame.setBorder(BorderFactory.createLineBorder(Color.blue,3));
               }

Hello Victoria, see IF in the next link the "Reset the connection settings in Yahoo Messenger" help you.
https://help.yahoo.com/kb/reset-connection-settings-resolve-sign-in-issues-sln1670.html?impressions=true
thank you

Similar Messages

Maybe you are looking for

  • Yet Another Failed Codesign

    Sigh... I had a bottle of champagne and a nice cigar to celebrate the uploading of my app, and now I have been stuck with this codesign nonsense for the past 6 hours or so. Application Uploader tells me that "Application failed codesign verification"

  • I have a MAC Tiger and updated to a Snow Leopard,

    Having trouble with Apple works 6 Just updated my Tiger to a Snow Leopard and certain pages in the Apple works 6 take to long to print. 4 to 5 minutes sometimes before the printer starts. Not all the forme just a few. Others print very fast. Hard dri

  • How To Trigger Test Stand To Assign Step = Error

    Hi everyone, I have a LabVIEW VI step in my sequence and I have an abort button the user can select to abort the user interface VI.  I want the "abort button" boolean to pass back to test stand that abort button = TRUE and I want the sequence step to

  • RSS News feed question

    Why can't I see any of the small pictures on the RSS News feed? They all have a little question mark in the center of where the picture is supposed to be.

  • The screen on my i-pad 1 jumps around uncontrollably from page to page, how do I fix this?

    the screen on my iPad 1 jumps around uncontrollably from page to page.How do I fix this?