User Interface rendering problem in Mac

Have jReality programming problems or questions? Post them here.
Post Reply
fausto
Posts: 5
Joined: Sun 12. Apr 2015, 21:30

User Interface rendering problem in Mac

Post by fausto » Wed 27. Jan 2016, 00:19

Hi!

I developed an application using jReality. It works fine in Windows but when I start it in Mac the jReality Viewer user interface renders badly:
Captura de pantalla 2016-01-26 a la(s) 16.05.57.png
Captura de pantalla 2016-01-26 a la(s) 16.05.57.png (69.68 KiB) Viewed 384 times
As you can see, there's a gray box covering the lower left part of the screen. If I resize the window a little bit, it dissapears:
Captura de pantalla 2016-01-26 a la(s) 16.07.38.png
Captura de pantalla 2016-01-26 a la(s) 16.07.38.png (81.82 KiB) Viewed 384 times
I found a similar problem and solution:

http://stackoverflow.com/questions/8000 ... -initially

There the solution they explain is to call some methods on the JFrame but as I'm using jRealityView.startup() to start the UI, I don't know how I could get access to its JFrame.

The panels on the left were created by me (except ContentAppearance) and are JPanels wrapped inside ViewShrinkPanelPlugins. The console at the bottom is a JTextPane that inherits from a ShrinkPanelPlugin.

Any ideas on how I can fix this problem?

Thanks,

Fausto

MarcelP
Posts: 15
Joined: Mon 15. Dec 2014, 12:20

Re: User Interface rendering problem in Mac

Post by MarcelP » Wed 9. Mar 2016, 19:08

We have a hunch on how to solve this problem but we can't test it soon since we don't have macs at our disposal. The problem is inside the simpleController where the JFrames are.

Post Reply