Hi,
I'm really some help here, if anyone could help me, i'd be really thankful.
The program i'm working on is due to next monday and i have a major issue. In my program i launch jreality with JRViewer.display(...) and a new window appear. The problem is when i close jreality window, my main program will also close.
I tried to look if there were a way to add a windowListener but no clue.
Does anyone have a solution to this problem?
Thanks for taking the time to answer!
Closing JReality closes the entire program...
Re: Closing JReality closes the entire program...
Hi,
do not use the JRViewer.display method for that kind of purpose. If you want to integrate the JRViewer into your own project you should create an instance of JRViewer and then use the startupLocal method. The result will be a root pane that you an pase somewhere into your application.
Hope that helps-
Stefan
do not use the JRViewer.display method for that kind of purpose. If you want to integrate the JRViewer into your own project you should create an instance of JRViewer and then use the startupLocal method. The result will be a root pane that you an pase somewhere into your application.
Hope that helps-
Stefan