I want ti put a scale in a Jpanel on the left of a graph.
I put this in the West part of a BorderLayout.
But when i use g.drawString("text") the width of the NorthPanel is too small.
When i use Labels the width is OK but the vertical positioning is not correct.
How can i set the width of a panel with just g.drawstrings on it ?