The JFrame will not paint and stay!
Well first the netbeans gui i have flashes whatever silly color i choose and then goes back to default grey. So I got out of that and using a simple editor the code below behaves the same. It just flashes green for a split second and returns to default color? I am using recent JDK download and Win XP .
JFrame j = new JFrame();
j.setSize(100,100);
j.setBackground(new java.awt.Color(153, 255, 153));
j.setVisible(true);
advice appreciated thx.
Message was edited by:
rigidyg
Because a JFrame put a container on top, where components are put.
Add this line:
j.getContentPane().setBackground(new java.awt.Color(153, 255, 153));
Similar Messages
-
My mail will not update and stay current. Its always searching but doesn't do anthing. Any suggestions for ipad3?
Please read this whole message before doing anything.
This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. The instructions provided by Apple are as follows:
Be sure your Mac is shut down.
Press the power button.
Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on some Macs.
The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
Test while in safe mode. Same problem(s)?
After testing, reboot as usual (i.e., not in safe mode.) -
After upgrading to 3.6.8 none of the extensions load even though there are updates available. The updates will not install and even though the error states to look at the console error log there are no errors listed in the log. All extensions are listed in Addons>Extensions.
== This happened ==
Every time Firefox opened
== Upgrading to newer Firefox version (3.6.8)I have been having the same issue for the last two weeks. No real indication as to why it ever began other than I had turned off my router and Airport Extreme Base Station off for a weekend while I was away from my place.
iPad, iPhone, iPod Touch, all have no issues at all with my Airport Extreme Base Station. Can stay connected throughout my living room, bathroom, bedroom, no issues whatsoever.
My 5 month old MacBook Pro 2.66 GHz Core i7 Airport is sometimes perfect, able to connect, DHCP, and browse without issue. Then, for no reason, I won't be able to join my wireless network, or when I can join, I can't pick up an IP address. And then it will connect, pick up and IP, and then it won't browse. No real rhyme or reason to when this will happen, or when it works.
I thought that it was an issue with my MacBook Pro, but then my sister visited with her brand new MacBook Pro 2.26 Intel Core 2 Duo, and while a month ago she was able to connect, DHCP, and browse without issue, this weekend she had all of the same issues I was having.
My XBOX 360 and MacBook Pro have absolutely no issues with the wired connection. Only my WAN seems to have this issue.
Did you ever find anything more to this? -
updated to ios6 and now when I receive an email where my address is part of a group, the email will not open and email closes automatically. I can open this email on my macbook. If i forward this email from my macbook to my iphone, i can then open the email.
-
I was given photoshop elements 12 as a gift and when I try to download it the download will not complete and then it says that it is a counterfeit.
Hi LindyMBiega,
Please try doing a fresh download of Photoshop elements 12 from the below mentioned link and try the installation again.
Download Photoshop Elements products | 12, 11, 10
Cheers,
Kartikay Sharma -
I have a new ipad mini 3 and the sync will not complete and import iphoto pictures
I have a new ipad mini 3 and the sync will not complete and import iphoto pictures
What happens? Any error messages? What iTunes level? What OS X level?
-
my new macbook air and new thunderbolt monitor will not work together. the keyboard will not engage and the monitor screen keeps going black. is it a problem with the monitor, connection, laptop?
A new Mac comes with 90 days of free tech support from AppleCare.
AppleCare: 1-800-275-2273
Call AppleCare. They will help you.
Best. -
I installed mavericks today and the mail will not open and just keeps on not responding how do I get it back I have force quit it a number of times now
Open the system menu via Alt+Space or click the Firefox icon on the title bar and see if you can resize that window.
If that works then close Firefox to save that setting.
See also http://kb.mozillazine.org/Resizing_oversize_window
Window sizes and positions are stored in [http://kb.mozillazine.org/localstore.rdf localstore.rdf] in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder].
See http://kb.mozillazine.org/Corrupt_localstore.rdf -
I am getting a message that says my iPad has not been backed up for 2 weeks and even though I click OK the message will not disppear and let me use my iPad
Reset iPad
Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
Note: Data will not be affected. -
i have a used i phone 3g when i sync it up i get my old contacts and pitchers old text and phone calls but the apps will not stay after applying can someone help me
What version of iOS is the device running?
Is the issue with specific apps or all apps?
What version of iOS do the apps require? Some, possibly all, may require a newer version of iOS than the device is capable of running. -
After downloading and installing Adobe Flash Player 11.6 on my HP Laptop w/ Windows 7, The player will not work. Every time i click on a video it tells me that i need to install Adobe Flash Player. I have followed all the trouble shooting steps on the Adobe site, I have uninstalled it and reinstalled it again and still it does the same thing...In Adobe trouble shooting steps where it checks to see if there is another Adobe Flash Player installed on my computer, it can not find where there are any installed....so what do i do???
What is your browser? If IE:
http://forums.adobe.com/thread/885448
http://forums.adobe.com/thread/867968 -
Had to have my hard drive rebuilt in my PC (not a Mac). When I reinstalled my music library from itunes, some of the songs did not properly download. They appear in light colored ink, but will not play and will not synch with my iPod. How can I get all of my songs back?
If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
Otherwise, I'd report the problem to the iTunes Store.
Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items. -
I downloaded the IOS7 on my iphone yesterday. Asked for a password, put it in. Now the password does not work and my phone is now disabled. What can I do?
Hi there Martha250,
I would recommend taking a look at the troubleshooting steps found in the article below.
iOS: Unable to update or restore
http://support.apple.com/kb/HT1808
-Griff W. -
I have a Sony CDP-CX335. The door will not open and the turntable inside will not move
Can someone please help me trouble shoot this issue. I have disconnected the power and turned back on, I have held the eject button for a minute+ with the unit on and off. The door still will not open automatically and the turntable inside will not move. There are no dics inside. When turned on the light flashes inside.
Hi puffinparks,
Please check the link below for further assistance.
https://eservice.sony.com/webrma/web/index.do
Thanks.
>Joffrey
If my post answers your question, please mark it as "Accept as Solution" -
okay so my brother had put my phone in microwave , it now only turns on on charger, the date and time cahnged, but it will not let me use the screen, is there anyway this can be fixed ?or how much it would cost.
I would very much doubt that. The radition level inside a microwave is termendous. I am totally flabbergasted that there is much of it is still that much working.
Allan
Maybe you are looking for
-
Whether char from a transaction report in ERP will be replicated in BI
Hi all, I have a small doubt . Let's say I have a Sales Order that reflects the size , length e.t.c of a particular material on it in transactional reporting in ERP? Will we be able to report on those characteristics in BI too? It is very important f
-
Third party sales configuration step wise:
Dear all. I have got very good reply on the subject thread from Mr.Dasari Narendra, it is very very usful n solved y problem, thanks to mr, Dasari. Susheel kumar kalvakunta
-
When emailing from iPhoto I keep on getting 'server not responded' message.
Would anyone be able to help with the issue I have with iPhoto. Every time I try to email photos directly from iPhoto I get this message 'server not responded'. I have the lates Mountain Lion OSX installed on MBA. Also, in addition to iCloud account
-
I received my iPad 3 yrs ago, do not know which version (opoerating system) I'm attached to. I understand in order to received help, you need my serial # but I can't remember where to find it?? My problem is that my WiFi keeps unconnecting!!! It
-
USB security key not working with Mac
Hello! I have a windows compatible medical program that I am trying to run on parallels on my mac. The program uses a USB security key to work. Mac nor parallels (i have win XP running on it) is detecting my security key. The key is recognized on a d