Page 1 of 1

JRViewer problem, panels are not showing up

Posted: Tue 29. Sep 2009, 00:13
by kupa
I cannot get the Beanshell panel and the Navigator to show up in JRViewer. When the class starts, the toolbar appears for a few seconds and the menu is flickering, then the toolbar disappears, the OpenGL view works fine. It happens with different tutorial classes.
I'm on OSX 10.5.8 and tried JVM 1.5 and 1.6.
The ViewerApp works fine.
If this is not a known problem, I can look into it, but need some advise where to look.

Re: JRViewer problem, panels are not showing up

Posted: Wed 7. Oct 2009, 17:50
by steffen
Hi, Sorry for the slow response, I just noticed that the mail notification is no longer for working since a week or so... Can you post the code that you use for setting up the JRViewer? Maybe you just dont have the corresponding plugins installed...? The flickering is on the todo-list... Can you toggle the Toolbar from the Window-menu?

Re: JRViewer problem, panels are not showing up

Posted: Fri 9. Oct 2009, 22:41
by kupa
I've tried running the tutorial code like Intro01.java, it opens the window and it is fully filled with GJCanvas. The toolbar appears briefly and then disappears. The other panels do not show up at all, even if I they are enabled through the menu Window->Panels->... (turning them on or off has no effect)
I haven't studied the code yet, but it seems that if I do setShowPanelSlots(true, true, true, true) in JRViever then the panels work correctly, they can be turned on/off through the menu.

Re: JRViewer problem, panels are not showing up

Posted: Mon 12. Oct 2009, 12:00
by sechel
Hi kupa,
this behaviour is correct. We had a discussion on what to show in the default settings of the JRViewer and in the end we felt that is is better not to overload the gui from the start. If you implement you own application you can as you already noticed say setShowPanelSlots(true, true, true, true) to view the slots. If you use one of the tutorials you can press Alt-Shift-[Left|Right|Top|Down] to get one of the panel slots.
Best regards
Stefan

ps. If you write your own application, in addition to the keyboard shortcuts you could specify a preferences file. The Controller saves the states of the panels and slots in there so that you get the same look every time you start your program.

Re: JRViewer problem, panels are not showing up

Posted: Mon 12. Oct 2009, 12:01
by steffen
It is correct that one cannot toggle the slots via the menu?

Re: JRViewer problem, panels are not showing up

Posted: Tue 13. Oct 2009, 09:18
by kupa
steffen wrote:It is correct that one cannot toggle the slots via the menu?

I'm talking about the Navigator and Beanshell panels, not the Shrink slots. I cannot toggle the panels from the menu. They are ON by default in the menu but they do not show up even if I toggle them on or off.
If I run Intro01.java, I get a window filled with the background. If I go to the menu Window->Panels, there are check-marks next to Beanshell and Navigator, but toggling them has no effect, they are not showing up. Same thing happens with the other tutorial classes(Icosahedron.java, for example).
This is not a major issue since the other classes work fine(like ViewerVR), but it might be confusing for the new people who are trying to run the tutorial classes in de.jreality.tutorial.intro package.

Thanks for the great work!

Alexey

Re: JRViewer problem, panels are not showing up

Posted: Thu 15. Oct 2009, 12:46
by steffen
Hi, in the JRViewer, the Navigator and Beanshell panels are located inside the ShrinkSlots. Does it work when you turn on all ShrinkSlots and then set Navigator/Beanshell visible? If not this is a bug that we should fix!

Steffen.