Layout problem

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
maexchen
Posts: 15
Joined: Tue Nov 21, 2006 10:16 am

Layout problem

Post by maexchen » Tue Apr 17, 2007 11:27 am

Hello!

I have a chart with 4 tabs and in each tab 3 charts.
Now I want to add a toolbars (one in the south and one in the east) on each tab in my chartPanel. How can I do that? Which Layout is the best?

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Wed Apr 18, 2007 9:48 am

JToolBar works well with the BorderLayout, if I recall correctly. But this isn't really a JFreeChart question, it is a Swing question...
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

maexchen
Posts: 15
Joined: Tue Nov 21, 2006 10:16 am

Post by maexchen » Wed Apr 18, 2007 2:01 pm

Hello!
I use BorderLayout, and it looks like:
Image

My toolbar is over my subplots, why?

Locked