6736649: test/closed/javax/swing/JMenuItem/6458123/ManualBug6458123.java fails on Linux

Now text bearings are taken into account when labelRect width is calculated

Reviewed-by: alexp
2 files changed