File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes UpdateUI on Mac OS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "UpdateUI on Mac OS" Watch "UpdateUI on Mac OS" New topic
Author

UpdateUI on Mac OS

Stefan Cosma
Greenhorn

Joined: Mar 30, 2012
Posts: 13

Hello,

I have a problem and no idea how to solve it. How can I update the components on Mac OS.

On Windows and Linux I use but apparently it doesn't work on Mac OS. Any suggestions? Thanks.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4642
    
    5

I don't have a Mac and I probably won't be in a position to suggest anything, but you need to provide more context for anyone to be able to help.


luck, db
There are no new questions, but there may be new answers.
Stefan Cosma
Greenhorn

Joined: Mar 30, 2012
Posts: 13

This is what happens: In my main class I call a function updateUI() that updates some 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.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4642
    
    5

In my main class I call a function updateUI()

First off, Java doesn't have functions. Java has methods.

Still not enough for anyone to try to help. I suggest you post a SSCCE <- link that demonstrates the problem.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4642
    
    5

Stefan, please BeForthrightWhenCrossPostingToOtherSites
http://stackoverflow.com/questions/10143480/java-updateui-on-mac-os
http://www.java-forums.org/awt-swing/58295-java-updateui-mac-os.html
Stefan Cosma
Greenhorn

Joined: Mar 30, 2012
Posts: 13

Sorry about that, I didn't know about this! I will try to contain myself to only one forum/website.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19723
    
  20

You don't need to, as long as all forums are aware about the others. Just post the links to the other forum threads here, and the link to JavaRanch forum threads on the other forums.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: UpdateUI on Mac OS