This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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: 590


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: 590
// 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: 19685
    
  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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Some unwanted behaviour