Scaling JComponents


We use the JGoControl class to embed standard swing components like
JList and JTable into a JGoView. The view can be scaled with the
JGoView.setScale method. While this works fine for all standard
JGoObjects it does not show the expected result with JComponents: the
bounding box is correctly scaled, however the contents are always drawn
at 100%.
Any ideas? Is scaling of swing components possible at all?


No, that’s an acknowledged flaw in Swing. If you know about the particular JComponent, though, you might be able to modify it appropriately, such as by choosing different size fonts et al. JGoButton does this, for example, but it’s a hack.
Printing is the other major problem with JComponents.