getting size of JPanel inside a BorderLayout
807597Feb 25 2005 — edited Feb 25 2005Hello
I have a JFrame set as BorderLayout. In the WEST I'm planning to put buttons etc, and in the CENTER I have put a JPanel which I want to draw coordinate axes. This panel is another class PlotPanel. I wonder if it is possible to get the size this PlotPanel will occupy in my JFrame, so that I can orient axis properly. Either from my PlotPanel class directly, or by finding it in my JFrame class, and passing them along to the constructor of PlotPanel.
Regards
JT