(JComponent comp)
| 196 | } |
| 197 | |
| 198 | protected void adjustComponent(JComponent comp) { |
| 199 | // comp.putClientProperty("Quaqua.Component.visualMargin", new Insets(0,0,0,0)); |
| 200 | Font font = UIManager.getFont("SmallSystemFont"); |
| 201 | if (font != null) { |
| 202 | comp.setFont(font); |
| 203 | } |
| 204 | comp.putClientProperty("JComponent.sizeVariant", "small"); |
| 205 | if (comp instanceof JButton) { |
| 206 | comp.putClientProperty("JButton.buttonType", "roundRect"); |
| 207 | } |
| 208 | if (comp instanceof JComboBox) { |
| 209 | //comp.putClientProperty("JComboBox.isSquare", Boolean.TRUE); |
| 210 | } |
| 211 | } |
| 212 | } |
no test coverage detected