Results 1 to 3 of 3
  1. #1
    stefanbc is offline Member
    Join Date
    Apr 2012
    Posts
    1
    Rep Power
    0

    Post Java UpdateUI on Mac OS

    In my main method I call a function updateUI() that updates the JMenu and JMenuItem components after the UIManager changes the Look and Feel. This works perfectly on Windows and Linux, but on Mac it doesn't. So Mac doesn't update the UI of a component after I change the Look and Feel with the UIManager. Anyone got any suggestions.

    I use this on Windows and Linux:

    Java Code:
    component.updateUI();
    Any Ideas or suggestions are welcome!

    If necessary I can show some screenshots!

    Thanks

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    7

    Default Re: Java UpdateUI on Mac OS

    Post an SSCCE that demonstrates the problem.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

    Default Re: Java UpdateUI on Mac OS

    Cross posted
    osx - Java UpdateUI on Mac OS - Stack Overflow

    db

    edit Abandoned this thread when asked for a SSCCE, without even learning that Java doesn't have functions.
    http://www.coderanch.com/t/572610/GU...pdateUI-Mac-OS

    Some people seem to specialize in wasting others' time.
    Last edited by DarrylBurke; 04-13-2012 at 06:37 PM.
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •