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
-
I can't find photos imported from my iPhone 4 with "Image Capture" to iPhoto anywhere... and they were deleted from the iPhone after import! Can anyone help me find the photos?
Do you know the date they were taken? Try search on that.
Regards
TD -
This is regarding a brand new ASUS PA 279Q, 2560 x 1440 IPS monitor. I'm connected via mini display port (into thunderbolt port on MacBook Pro) to display port on ASUS monitor; using cable ASUS included with the monitor. Mid 2012 MacBook Pro…full specs at bottom of this post.
I have resolution set at 2560 x 1440 which is the native resolution according to the ASUS spec. I tried the other resolutions available in my System Preferences and text displayed rough with those settings too. I've tried adjusting contrast, brightness and sharpness via the ASUS control panel and didn't solve the problem. Also tried calibrating via Mac's system preferences/display and that did not improve text display either. All the text on this monitor (no matter what software I launch, Finder, InDesign, Illustrator, MS Word, Excel, VMWare Windows XP, Windows versions of Word, Excel, Acrobat, etc, all are consistently rendering text the same way --- ROUGH and with "HALOS" around each letter.
All point sizes of text and at various scales, display very rough on the screen. (My comparison is the retina display of my MBP and a Thunderbolt…so those two displays are my expectations.) I'm using the same MBP for both a Thunderbolt display (at work) and this ASUS at my home office.
On the ASUS it's not as noticeable when the text is on white backgrounds, but I'm a graphic designer and compose images with text all day everyday. Not to mention the specs on this ASUS PA279Q indicate it's built for the professional so I would expect better text rendering. I haven't even addressed color calibration and balance yet, because that won't matter to me if the text won't display any better than it is now.
I was so hopeful after researching all the specs on this monitor it would be a viable alternative to the glossy display of the Thunderbolt display. (Which, I do love the Thunderbolt display for it's clarity and how it displays crisp, clean text at all sizes. (This ASUS actually displays text decently if I increase the text so each letter is about 4" high. Which is pointless for practical purposes -- that'd be like doing page layout through a microscope!)
I kept holding off on getting a monitor for the home office thinking the Thunderbolt would be updated soon. I'd be sick if I dropped a grand on piece of 2011 technology only to learn a few days later an updated Thunderbolt display hit the market! Not to mention, I'm praying Apple comes out with a less reflective Thunderbolt display. The glare and reflection is the main reason I looked elsewhere for a large monitor; hence my asking for help. Hoping the ASUS text display issue can be worked out. My expectation is for it to display like the MBP retina and Thunderbolt display text. That possible?
Alternatively, I guess I could do the Apple Refurb Thunderbolt at $799. And see if there's a decent aftermarket anti-glare I could stick on it?
Thanks for reading my post. Hope someone can help; offer any suggestions? Words or wisdom?
Has anyone else had similar issues and figured out a resolution? Help!
MacBook Pro
Retina, Mid 2012, 2.3 Ghz Intel i7
8GB 1600 MHz DDR3
OS X 10.8.5
NVIDIA GeForce GT 650M 1024 MB
ASUS PA279QI uninstalled those two items. It still runs slow on start-up and when opening safari, firefox, iphoto, itunes, etc. It's not snappy like it used to be. Any other ideas? Thanks.
-
I have an IPhone 4 and downloaded 12 songs from the Itunes store on my phone. I want to burn a CD but when I go into my ITunes on my desktop which is Windows XP there are only 7 listed not the 12 I bought. Can anyone help me find the others?????
Connect iPhone, then go to iTunes > File > Transfer purchases...
-
I have a MacBook Pro with Snow Leopard. After connecting my HP Photosmart D110 to it, the printer works but the scanner doesn't. The message is"The scan cannot be performed because another program has control of the HP imaging device". Can anyone help?
Found the answer on the HP site. It's the original software that works with this printer OS X 10.6!!
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en &cc=us&prodTypeId=18972&prodSeriesId=3558902&prodNameId=3562006&swEnvOID=219&swL ang=8&mode=2&taskId=135&swItem=ma-60835-3 -
An unknown error has occurred when trying to sign in , and I know I putting in the correct info, this stinks can anyone help? Because apple isn't...
urgh... just noticed my previous post said i have mountain lion... i meant that i have snow leopard. no idea why i messed that up!
anyway, i just tried reinstalling snow leopard from the usb key that came with the computer. Then, I installed software updates until it told me there were no more updates. After that, I tried the app store again, and it still is giving me the unknown error. really irked by that. may have to take it back to the apple store yet again, to see if i can figure out why the app store won't work. -
My iphone is no longer working I have black screen with a picture of the itunes logo and a USB cable. When I try to connect my iphone to itunes the device is not detected, can anyone help me? I desperatley need my phone back
I have had a 3GS for 2+ years. After upgrading to IOS 4 (now 4.3.5) I began having problems. In the past week, my screen went to the itunes logo and USB cable twice -- unprovoked -- just found it sitting there like that! I connected to itunes and it did restore from a backup but it is a major inconvenience. I am also searching for answers, but better back-up regularly!
-
Can anyone help me change the DOB on my sons profile for his apple I'd so I can setup family sharing? I originally put both ids in my name. He is 19 do it keeps saying needs my permission but no instructions in how to get that done? His phone was stollen once last month need to get this done ASAP to prevent future headaches. Ty
You can not change the date of birth on the account. Apple makes that clear up front when the account is created.
The only way to "fix" this is going to be for him to create a new account with the correct information. Any apps purchased with the old one will need to be re-purchased with the new account. They can not be transferred. -
I have an iPod touch and I can't turn off the portrait orientation lock. Can anyone help?
What happenw when you try to turn it off?
iOS: Screen does not rotate
Not all app have a landscape mode. -
Can anyone help me? The iTunes update corrupted my program. I uninstalled, and then reinstalled iTunes; only to find an error message about iTunes Helper. After several fruitless, repeat attempts, I am at a loss. Please help…
Many thanks.
With the Error 2, let's try a standalone Apple Application Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of the issue.
Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
http://www.apple.com/itunes/download/
Download and install the free trial version of WinRAR suitable for your PC (there's a 32-bit Windows version and a 64-bit Windows version):
http://www.rarlab.com/download.htm
Right-click the iTunesSetup.exe (or iTunes64Setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
Go into the folder and doubleclick the AppleApplicationSupport.msi to do a standalone AAS install.
Does it install properly for you?
If instead you get an error message during the install, let us know what it says. (Precise text, please.) -
Hi can anyone help with this issue regarding my wireless magic mouse? When im on google chrome and scrolling down the page i always have youtube running in the background but the audio cuts/spits/pops can anyone help me with this?
The figures you mention only make sense on your intranet. Are you still using the same wireless router. The verizon one is somewhat limited as far as max wireless-n performace. For one thing it only has a 2.4 radio. I like many people who wanted wireless-n performance before they even added a wireless-n gigabit router, have my own handling my wireless-n network.
-
I can no longer see the address field in safari, can anyone help?
I can no longer see the address field in safari, can anyone help?
Abarryseymour
That didn't work to get the safari address bar and the google search bar on my safari browser. could I have a virus???
Which OS, which Safari? -
Can anyone help me find the output option in Bridge CC?
Can anyone help me find the output option in Bridge CC?
http://helpx.adobe.com/bridge/kb/install-output-module-bridge-cc.html
-
Hey,I've got a problem on my iPad mini for a few days now?My iPad is in recovery mode at the moment and I Cannot restore my Ipad with iTunes...Can anyone help me with the solution?Each of your helps will be appreciate...Thanks for all the helps...
Follow step 1 to 6 closely to recover your iPad.
http://support.apple.com/kb/HT1808
Note: You may have to repeat the above a few times -
Can anyone help me display the calendar list using an iphone4 with iso 7.1.1? I have already tried tapping the magnifying glass and that doesn't work.
That icon allows for the calendar month to display with the appts for that month below. I want to see only the list of appointments without the month displaying. I use to be able to get that display but since the last update tapping the magnifiying glass doesn't work.
Maybe you are looking for
-
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
-
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 iPad 1 jumps around uncontrollably from page to page.How do I fix this?