GeeCON Prague 2014*
The moose likes Swing / AWT / SWT and the fly likes Some unwanted behaviour Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Some unwanted behaviour" Watch "Some unwanted behaviour" New topic
Author

Some unwanted behaviour

Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 600


I've got a refresh() method that refreshes everything whenever a CRUD is finished.
The thing is when this method is called within refresh(), this method will take me to the livingAreaDis JFreeChart even though patientDis JTabbedPane was active.

How do I make JTabbedPane + JFreeChart display consistently and correctly?
Thanks
Jack
Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 600
// inherited class


derived classes:




I don't know why the charts are very unstable....
Please help.... quite urgent. Thanks

The problem is the First Tab is active, the second Chart is displayed
or the second tab is active, the first chart is displayed, but not always

Jack
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

Jacky Luk wrote:Please help.... quite urgent. Thanks

You've been around here long enough to know that you should EaseUp.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
GeeCON Prague 2014
 
subject: Some unwanted behaviour