View Single Post
  #3 (permalink)  
Old 05-21-2009, 12:30 AM
Fubarable's Avatar
Fubarable Fubarable is offline
Moderator
 
Join Date: Jun 2008
Posts: 6,431
Rep Power: 8
Fubarable is on a distinguished road
Default
Quote:
Hi, I've got a little bit of a problem here. I've got an application that's calling this class that uses JFreeChart to display a gantt chart. The problem is when i close the gantt chart panel, it closes the the whole app.
KeeFy,
Much of your posted code appears to be unrelated to the problem at hand, and the key code that's causing the problem may not have been posted. Question: are you displaying the chart in its own free-standing window? If so, are you using a JFrame? If so, change this to a JDialog. If this doesn't solve the problem, then you're going to have to do some debugging to try to create the smallest compilable program that will reproduce your problem. If doing this doesn't help you find the solution, then you can post this smaller more reasonable code here and we can have a look at it.
Reply With Quote