Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Some unwanted behaviour

 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
// 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
Pie
Posts: 20527
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jacky Luk wrote:Please help.... quite urgent. Thanks

You've been around here long enough to know that you should EaseUp.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic