Why cant UIManager get system look and fell (sometimes)

heres what i use:
try{
IManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
catch(Exception exception){}
most of the time this executes fine, but some times the program wont run and i get this error message in a txt file. It starts out like this:
An unexpected exception has been detected in native code outside the VM...
I think this may occur more often when im opening alot of programs at the same time
any help good

I would have thought if it could not find windows look and feel it would go to default l&f not give this error...

Similar Messages

  • Why my System Look and feel got corrupted ??

    HI ,
    I have written a simple swing app which consists of jtextarea in a jscrollpane , and a jbutton, in which the textarea is updated with random text.
    I decided to change the theme to native look&feel and so i included the
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName() );
    in the constructor ..
    but the components went messy in the output !!!
    It'sn't a system look and feel ..
    I tried inserting in a static block before the constructor and tried changing the theme ... but in vain
    take a look
    http://img228.imageshack.us/my.php?image=javaswingprobaw3.jpg
    Pls help

    My thoughts exactly .. looks Windowsy to me.

  • Itunes says that the version of software on my ipod touch 3rd gen is up to date, but IOS 5 is avaliable. I have checked for software updates for days but it keeps saying that 4.2.1 is the current version. Why cant i get IOS 5?

    itunes says that the version of software on my ipod touch 3rd gen is up to date, but IOS 5 is avaliable. I have checked for software updates for days but it keeps saying that 4.2.1 is the current version. Why cant i get IOS 5?

    bradenfromwaikerie wrote:
    itunes says that the version of software on my ipod touch 3rd gen is up to date, but IOS 5 is avaliable. I have checked for software updates for days but it keeps saying that 4.2.1 is the current version. Why cant i get IOS 5?
    because you do not have a 3rd generation device. The OS Version says so , otherwise you would be at 4.3.5 minimum and also Itunes is also always correct in determining if you have the latest OS ( if not it fetches the newest from Apple's Servers ) . And because a 2nd generation iPod stops at 4.2.1 you can't get the newest OS, because your device is old. Buy a new iPod , they have iOS5 preinstalled.

  • There was an error opening the database for the library "/Users/stacia134/Pictures/Aperture Library.aplibrary".  Why am I getting this message and how do I correct it so that I can open Aperture????  any suggestions would be most appreciated

    There was an error opening the database for the library “/Users/stacia134/Pictures/Aperture Library.aplibrary”.  Why am I getting this message and how do I correct it so that I can open Aperture????  any suggestions would be most appreciated

    Then I'd check the system drive, if it has problems.
    To check your System drive boot into the Recovery Partition, see: OS X Lion: About Lion Recovery
    Restart your Mac and hold down the Command key and the R key (Command-R), and keep holding them until the Apple icon appears, indicating that your Mac is starting up.
    You will see a panel, where you can use Disk Utility to check your System Drive.

  • Why cant i get the latest msnbc shows on itunes?

    Why cant i get the latest video podcats from msnbc on itunes?

    That is vague.
    Are they not offered, or they are offered and you are not allowed to get them.
    Please explain

  • Why cant i get automatic translations of forain web pages like i do from chrome.

    why cant i get automatic translations of forain web pages like i do from chrome from Firefox

    You can look at extensions like these:
    *FoxLingo: https://addons.mozilla.org/firefox/addon/foxlingo-translator-dictionary/
    *ImTranslator: https://addons.mozilla.org/firefox/addon/imtranslator/
    *Translate This!: https://addons.mozilla.org/firefox/addon/translate-this/

  • Why cant I get itunes to work in windows 8? I hate this  update issue nothing works- aggh!

    Why cant I get itunes update to work in windows 8?
    I tried running the new itunes installer since it couldn't update itunes, then I tried the installer with
    compatability checked. The older version worked fine till an update came out and now nothing works
    (sync /app updates/ photo uploads)- it does still play music on the computer.
    My son had older (windows 7) computer but if I sync there it tells me I'm wiped and stuck with his music.
    I'm really hating itunes and ready to trash the phone etc. Im due for upgrade anyway.
    With all these stupid upgrades why hasn't this issue been addressed. 8 has been out for awhile now.
    Has anyone been able to fix this issue? Please share how!

    You will need iTunes 9.2.1 at minimum to access the iTunes Store. Earlier versions will not work.
    http://support.apple.com/kb/DL1056
    but it would be best to upgrade to Mac OS X 10.5 or 10.6, since it's probable that eventually the iTunes Store will no longer support iTunes 9.x. and newer versions of iTunes will not run on Mac OS X 10.4.
    Regards.

  • How to get system date and time?

    Can someone show me a code on how to get system date and time.
    Thanks!

    there is one really easy way to get system time, the api gives a great example of code on this. use gregorian calendar, which you'll find in the api under GregorianCalendar. You only need to create one instance of GC, ie Calendar time = new GregorianCalendar();
    you save seconds, minute and hours into int values, so you don't have to access the system time every second, you can create a thread which adds one to the int second value, if oyu see what i mean, for example, i have saved the hours, minutes and seconds as int values;
    int hour, minute, second;
    i can then create a thread (Thread thread = new Thread(this) and run it like:
    Calendar time;
    int hour, minute, second;
    Thread thread = null;
    public MyTime() {
    hour= time.get(Calendar.HOUR_OF_DAY);
    minute = time.get(Calendar.MINUTE);
    second = time.get(Calendar.SECOND);
    if(thread == null) {
    thread = new Thread(this);
    thread.start();
    public void run() {
    Thread t = Thread.currentThread();
    while(thread == t) {
    thread.sleep(1000);
    second++;
    if(second > 59)
    minute++;
    if(minute>59)
    hour++;
    formatTime();
    public void formatTime() {
    second = (second > 59? 0 : second);
    minute = (minute > 59? 0 : minute);
    hour = (hour > 23? 0 : hour);
    System.out.println(hour+":"+minute+":"+second);
    public static void main(String[] args) {
    new MyTime();
    I know this looks like gibberish but it should work. If not, try to fix the problem, i have written from memory really but i guarantee you, this gets the time then every second, simply adds one to the second and then formats time. You can also access the day, month and year then format them using the above code. I don't like giving code since you should really do these things yourself but it is 2:04am, i have nothing better to do and i am not tired so i did you a favour - i have become what i always did not want to, someone ho stays upall night writing code.

  • Why cant i get facetime on my ipod 4 touch but works on my computer?

    why cant i get facetime on my ipod touch 4 but works on my computer?

    What he said ^
    And not to insult anyone's intelligence, but make sure you're signed in to FaceTime with your Apple ID on your iPod Touch.

  • HT1222 Why cant i get the updates of iso7

    U just sent me a email and it wasent helpful! Why cant i get the new update for iso 7? I have the i phone 4s! Inhave the same phone has my boyfriend and son and they both got the updates and not me! Please be helpful this time??

    your iphone is definitely supported for the update, is it not showing up in Settings / General / Software Update?
    if not, try plugging your phone into itunes and do the update there.

  • TS3212 why cant i get my itunes to work with my windows 8 computer? i cant get either of my ipods to syhc

    why cant i get my itunes to work properly on windows 8

    Try going into the control panel, programs, add/remove programs
    Uninstall iTunes, apple mobile device service, apple application support
    Then go to apple and redownload and reinstall iTunes and try again.

  • Why do i get 2 curves and not just 1 when i create a diagram from a row of data in a table ?

    Why do I get 2 curves and not just i when I create a diagram from a row af data in a table ?

    Erik,
    Thank you for giving me the points.  Generally you wait to award points until your problem is solved.  It is totally your at your descretion.
    OK.
    This is still not clear.  To post a screenshot get the "stuff" you want to show in view on your screen, then type the key combination <Command>+<Shift>+3.  The cursor will change to a crosshair.  Click and hold on the top-left corner, then drag to enclose what you want to show (to the bottom-right corner), then release.  The screenshot will appear on your desktop and will be named something like "".
    Now click the camera icon in the tool bar for this forum:
    , click the text box to allow you to navigate to, and select your screenshot.
    Here is what you sent me:
    The graph does not seem to be associated with the table of data you are showing.  Generally when you highlight a graph the corresponding table will highlight and show the source of each of the series in the graph (dark and light blue).
    This is what I would expect to see when highlighting a graph:
    Right now I think there is ANOTHER table arround that is the source for the graph and the table you show is "just another table".  You can move your data into the table the graph refers to by copy and paste, or simply typing the values.  You can change how many series there are by grabbing the little circle at the bottom right of the highlighted cells (when you have the graph highlighted) and dragging as shown:
    The Numbers Users' Guide is a great resource you should utilize and can be found here:
    http://support.apple.com/manuals#macosandsoftware
    The chapter on graphing (or charting) is 7 and starts on page 134.

  • How to get system status and user status ?

    how to get system status and user status for the given production order?
    In which PP table we can
    find these?
    Thanks&Regards
    Satish

    Hi Ram,
    Use the FM "STATUS_READ" to read both the system and user statuses for an Order.
    Alternatively, the following tables store the user and system status info:
    JSTO- Status object information
    JEST- Individual Object Status
    Hope this helps.
    Let me know if u need further information.
    Regards,
    Sonal

  • Why am I getting a red and blue haze over my oil paint filter effect in photoshop cs6?

    Why am I getting a red and blue haze over my oil paint filter effect in photoshop cs6? I am currently using a trial version.

    The last time someone reported this problem with Oil paint, the fix was to go Preferences (Ctrl k) > Performance and set the cache levels to something other than '1'.  If you cache levels were not previously set to 1 then we'll need to think again.

  • Why cant itunes get it together? Why is there only one frank ocean video when in America there are more???

    why cant itunes get it together? Why is there only one frank ocean video when in America there are more???
    i have spent all day trying to buy or download kid Cudi's what I Am video but am being blocked every time. Why???

    Because the content providers have not released it for your country. I am guessing you are not in the US.
    This is nothing to do with Apple.

Maybe you are looking for

  • My laptop got stolen and I want to sync my current ipad with the new Macbook

    Hi all, Unfortunately, my previous macbook was stolen, and now I just bought the new one, and I would like to sync my iPad with this new laptop. However, when I plug the iPad, there was a message from iTunes saying that my iPad is not sync with this

  • External Hard Drive will not mount

    My external hard drive that I been storing all my aperture files on is not mounting to the desktop. I can see the hard drive when I use my disk utility, but it doesn't show up in the desktop. When I purchased the hard drive originally I didn't format

  • Moving iTunes library to new pc on Windows 8

    I have moved my library across using an external hard drive and following these instructions http://support.apple.com/en-us/HT4527 It still doesn't work and I get an error message saying "The iTunes Library.itl file cannot be found or created. The de

  • Batches at a location

    HI, 1 ) In my initial screen, I need to get batches at a particular storage location,plant.I need to join mchb,mska and mkol.Is there a FM to get all this data.Also I should get batches where UnRestricted Quantity or Blocked Qty is not zero. 2 ) When

  • At each startup the US keyboard is selected instead of the French one

    At each startup my iMac turns back to the default US English keyboard, while I am using the French one. I have therefore to reselect French in the systems preferences ! What is wrong ? iMac 24 ich, beginning 20093.06 GHz Intel Core duo Os 10.8.4 (12E